Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

Multiple has_many :through

Active Record order by group size

Efficiently bulk-updating in ActiveRecord?

Why ActiveRecord automatically validates has_many association

Use Ruby's select method on a Rails relation and update it

Multiple query conditions in Rails - if they exist.

How to (massively) reduce the number of SQL queries in Rails app?

Whats the best way to get the nth to last record?

rails serialized array validation

In Yii2, how do I join a table to itself?

activerecord yii2 self-join

Rails 4: ActiveRecord-style I18n on a non-ActiveRecord object?

Rails: What's the difference between ActiveRecord::Base.transaction and MyClass.transaction?

Problems with infinite time range in Rails

Multiple Associations to Same Model

How can I transparently modify an ActiveRecord method in a model?

Application Trust Level on Network Drive for Nhibernate C# Application

Seeing if a column value is updated

Rails doesn't recreate mysql views in the test database, even when config.active_record.schema_format = :sql

validates_presence_of with belongs_to associations, the right way

Dynamic Methods on a Rails Model