Top "Rails-models" questions

a component of the Rails framework that holds the state of an object and is responsible for enforcing business rules and persisting the object.

in Rails, with check_box_tag, how do I keep the checkboxes checked after submitting query?

Ok, I know this is for the Saas course and people have been asking questions related to that as well …

ruby-on-rails ruby activerecord rails-models
has_one and has_many in same model. How does rails track them?

I a little confused about how this work even if it works properly. I have a model that has two …

ruby-on-rails activerecord rails-models
Rails: Invalid single-table inheritance type error

So, I am working on migrating this php site with an existing database which I cannot change over to Rails. …

ruby-on-rails-4 rails-models
How to add sequences to a migration and use them in a model?

I want to have a "Customer" Model with a normal primary key and another column to store a custom "Customer …

ruby-on-rails ruby-on-rails-3.1 rails-migrations rails-models rails-postgresql