Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

Connecting to SQL Server with ActiveRecord

Is there a way to return error code in addition to error message in rails active record validation?

Scoping with two foreign keys

Rails include only selected columns from relation

ActiveRecord pluck to SQL

has_one through and polymorphic associations over multi-table inheritance

How to force Rails ActiveRecord to commit a transaction flush

Rails: Performance issue with joining of records

How to specify Ruby regex when using Active Record in Rails?

How to chain raw SQL queries in Rails OR how to return an ActiveRecord_Relation from a raw SQL query in Rails?

deeply nested joins in activerecord

activerecord

Multiple nested includes in Rails

rails group by multiple columns

Query if array column contains one or more values

Experiences With Active Objects ORM for Java?

Is there a function like _compile_select or get_compiled_select()?

Rails 4 to_json produces unexpected Exception nil is not a symbol

Is it possible to alter a record in rails, without first reading it

How to use ActiveRecord outside Rails?

eager loading not working with order() clause in rails