Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

Ruby Rails _without_ ActiveRecord

ActiveRecord subquery in select clause

Rails Active Record query: answered questions, ordered by answer date, not duplicates

Return element of jsonb field with activerecord select

How to join tables to get only the last record of has-many association?

Date converion from rails 2.3 to 3.2 in ActiveRecord

ActiveRecord: Find where column is nil or empty array

Codeigniter - How to get values as array to use in next select with where_not_in

Optimizing an ActiveRecord query

Rails query random models until an attribute reaches a quantity

How do I search for a date field after or before a certain date in Active Record

Ruby on Rails: updated_at - set as 0 on creation

Complex joins with legacy tables in Rails

Silencing Rails schema load

Specifying default value from lambda in a migration

Rails 3 does not render HTML as markup

mysql, case sensitive compare through codeigniter

How does rpsec's "let" use memoization?

Rails 4, migration to change datatype of column from daterange to tsrange causing PG::DatatypeMismatch: ERROR:

Is it possible to group by hour/minute/quarter hour directly in ActiveRecord/Rails?