Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

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

Can somebody recommend a good gem for contact handling? [closed]

Sortable UUIDs and overriding ActiveRecord::Base

PG::GroupingError: ERROR: column "events.id" must appear in the GROUP BY clause or be used in an aggregate function

Generate Models from Rails Schema

Why does ActiveRecord provide .delete_all and not .truncate?