Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

rails override default getter for a relationship (belongs_to)

Create seed file from data already in the database

How to use ActiveRecord in a ruby script outside Rails?

What is the order of ActiveRecord callbacks and validations?

How to Create a New Table With a Unique Index in an Active Record / Rails 4 Migration

ActiveRecord serialize using JSON instead of YAML

ruby super keyword

How do you scope ActiveRecord associations in Rails 3?

Reserved names with ActiveRecord models

Rails 3 ActiveRecord: Order by count on association

How to handle Ruby on Rails error: "Please install the postgresql adapter: `gem install activerecord-postgresql-adapter'"

How to undefine class in Ruby?

GROUP BY and COUNT using ActiveRecord

How to test for (ActiveRecord) object equality

Elegant way to structure models into subfolders without creating submodules

accepts_nested_attributes_for with find_or_create?

How do I force ActiveRecord to reload a class?

Rails 4 how to ignore pending migrations

Rails order by results count of has_many association

Ruby on Rails plural (controller) and singular (model) convention - explanation