Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

Rails Way: Formatting Value Before Setting it in the Model?

Multiple column foreign keys / associations in ActiveRecord/Rails

Rails static data set

Getting NameError: uninitialized constant when trying to assign belongs_to

Why does `rake db:drop` have a 0 exit status, and raise no error, when it fails?

Heroku Rails - Turn off Active Record Postgres connection

Rails Not query on entire Where clause

how to pluck or select values from a database and return separate arrays for each record in rails

created_at field sometimes becomes nil

Angular.js and DAO pattern

Keeping model records and associated directories in sync (with tests)

Getting ActiveRecord::RecordInvalid error with has_many through association; validation issue on join table

How do I elegantly handle two-sided relations with Rails translations?

Attribute saved in development but not in production

Rails date_select helper and validation

Better design pattern for MongoDB document-object-mapper

counter_cache with conditions

How do you stub ActiveRecord::Base methods without making assumptions about how it's used?

Concatenating ActiveRecord::Relations queried through polymorphic association