Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

Devise with existing database: 401 Unauthorized using valid password

ActiveRecord relations between models on different engines

Rails - Group by date using same attribute name returns different answers

Rails scope - where in exact matches

Freezing associated objects

Rails 3 with composed_of model and validation

How to do without delete_if for Active Record?

Yii Framework How to Access Relational ActiveRecord by ID and get next?

php activerecord yii

Select objects by index of array in Rails 3

Rails app error - ActiveRecord::PendingMigrationError Migrations are pending; run 'rake db:migrate RAILS_ENV=development' to resolve this issue

How to group and sum all currencies

Postgresql Rails: Select random record within a certain range?

How to make a query in Postgres to group records by month they were created? (:created_at datetime column)

Rails ActiveRecord find array of ids, but some are not found

Conditional validation based on column which may be nil

Rails ActiveRecord::RecordInvalid exception not raised in after_create of association