Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

Rails: Virtual attributes and form values

Rails ActiveRecord: pretty errors when deleting dependent entities with foreign keys constraints

Adding a LIKE criteria to a Rails Conditions block

Right way to force uniqueness on a join model? (has_many :through)

Why are Rails scopes preferable, if messy controllers are faster?

Does the update_all method in ActiveRecord return the number of rows?

What is the corresponding rollback?

ActiveRecord StatementInvalid when getting data with globalize3

Multiple SQL Joins from same table with Codeigniter

Simulating has_many :through with Mongoid

How to determine what Ruby-on-Rails code generated some SQL?

Build complex rails SQL

Rails: Get relationship on array of objects

Caching limited associations

How can I access a Postgres column default value using ActiveRecord?

Creating multiple has_many through associations from an array of IDs

RSpec: uninitialized constant ActiveRecord (NameError)

Matching array values in PostgreSQL with ActiveRecord

How can I query Rails ActiveRecord data stored in arrays

How to create a class dynamically in java