Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

"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

Deprecation warning when using has_many :through :uniq in Rails 4

How to get the original value of an attribute in Rails

Check if record exists from controller in Rails