I want to test attachments with the Action Mailbox TestHelper. I see the options for the test helper get passed to the mail object but I can't seem to add attac
While deploying code using capistrano gem - Rails couldn't infer whether you are using multiple databases from your database.yml and can't generate the tasks fo
I have a has_one and belongs_to association, like so: # teacher.rb has_one: :student and # student.rb belongs_to :teacher, optional: true but when I try to c
I recently upgraded to Rails 6 with Ruby 3. I have this in a controller my_object = MyObject.new(my_object_params, @header) The object “initialize&rdquo
I'm experimenting with adding Turbo to a Rails 6.1 app. It seems to be loading (see "What I've tried"), but when clicking around the clicks does not seem to be
I'm trying this gem called FactoryBotRails. For some reason, when I try it on one of my models unit tests, the following error is thrown. Failure/Error: my_
I have a Rails 6 app that uses Active Storage to store multiple images to a model (Activity) with has_many_attached. I don't understand how to append extra im
I have a Rails 6 app that uses Active Storage to store multiple images to a model (Activity) with has_many_attached. I don't understand how to append extra im
I’m building a Rails 6.1.4.4 app and trying to start my unicorn server (using a script that calls unicorn on /usr/local/rvm/wrappers/cfs-web/unicorn) and
I would be grateful if someone could show the exact steps needed to use jquery ui in a rails 6 or rails 7 Alpha 2 engine. I have been unable to get either impor
I would be grateful if someone could show the exact steps needed to use jquery ui in a rails 6 or rails 7 Alpha 2 engine. I have been unable to get either impor
I'm trying to display a very simple app from codecademy and this is the error I'm getting in my browser: PagesController#welcome is missing a template for requ
I am using a JWT to authenticate my user. So when a user want to connect to the ActionCable server, it does something like this: Get a JWT from REST endpoint:
I am a new to rails and struggling to get Jquery and Bootstrap to work with Rails 6. I think it has something to do with switching the app from rails 5 to rails
I am trying to upgrade partitioned gem in order to use partitioning with Rails 6.1 (I am upgrading an existing Rails application). I have managed to get everyth
There's a function called index_exists? in ActionRecord, but no foreign_key_exists? on Rails 4.2.7. So when I call remove_foreign_key :parties, :franchise_gr
I have a simple has_one relationship class User < ApplicationRecord has_one :detail has_many :courses end class Detail < ApplicationRecord belongs_
Rails 6 switched to Zeitwerk as the default autoloader. Zeitwerk will load all files in the /app folder, eliminating the need for namespacing. That means, a Tes
Rails 6.0.1, Puma 4.3.0, Devise 4.7.1, ActiveAdmin 2.4.0, Formtastic 3.1.5. Once again I am creating a Rails application. Created the foundation. A couple of m