Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

Rails / ActiveRecord - AdapterNotSpecified, even though it is

How to write a where.not query with multiple conditions in rails 4

Is it necessary to unit test ActiveRecord validations?

Rails: Query all but first record?

How do I select all records with more than n child records

Rails Article.find 1 raises ActiveRecord::StatementInvalid on legacy database

Enabling local-infile for loading data into remote mysql from rails

block in assert_valid_keys': Unknown key: :order (ArgumentError)

How do I tell ActiveRecord not to log any control chars

How can I have two columns in one table point to the same column in another with ActiveRecord?

Rails - group_by

validate and update single attribute rails

Update db/migrate after manually updating models?

How to render all records from a nested set into a real html tree

Disadvantages of Object Relational Mapping

How to set a dynamic attribute

create if doesn't exist function in ActiveRecord?

Find the associations for an ActiveRecord class at run-time?

Thinking in Ruby

ActiveRecord column cannot be cast automatically to type numeric