Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

How does Rails ActiveRecord chain "where" clauses without multiple queries?

Rails - Best-Practice: How to create dependent has_one relations

ActiveRecord: How to get all attributes of a model that can be mass-assigned?

"Order by" result of "group by" count?

Correct datatype for latitude and longitude? (in activerecord)

Remove duplicate records based on multiple columns?

Best practice about empty belongs_to association

Update one column to value of another in Rails migration

Regular expressions with validations in RoR 4

What exactly is Arel in Rails 3.0?

LEFT OUTER joins in Rails 3

Using ActiveRecord, is there a way to get the old values of a record during after_update

Check if record was just destroyed in rails

Get only records created today in laravel

Use a scope by default on a Rails has_many relationship

Rails: Order with nulls last

Active Record - Find records which were created_at before today

ruby activerecord

validation custom message for rails 3

How to implement has_many :through relationships with Mongoid and mongodb?

Safe ActiveRecord like query