Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

How/where to temporarily store ActiveRecord objects if not in session?

How can I get all list of scopes in ActiveRecord 3.x

How can I create new records with has_many :through and honor :conditions?

Geocoding addresses with geocoder gem and PostGIS database with RGeo

counter_cache in Rails on a scoped association

STI and polymorphs

Should I joint-index an ActiveRecord polymorphic association?

In Rails, how do run scripts that load the rails environment?

ActiveRecord STI: How can I break out of the parent class' default scope

What is the real benefit of scopes

Rails Active Record - How to model a user/profile scenario

Delegating method to has_many association ignores preloading

Problem with self-referential has_many :through associations in Rails

does rails postgres adapter support ssl?

Why does a query in rails with a limit not work unless .all is put on the end

Rails where condition on un-persisted association

ActiveRecord - replace model validation error with warning

Validating boolean value in Rspec and Rails

How to change ActiveRecord's table name during runtime

Rails 3 validate uniqueness ignores default scope on model