Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

How to use update all, when all records are different?

Rails: Delete associated records on object destroy

Rails3 - Caching in development mode with Rails.cache.fetch

How to create mysql triggers using migrations in Rails?

:dependent => :delete on belongs_to doesn't delete owner object

Heroku “psql: FATAL: remaining connection slots are reserved for non-replication superuser connections”

ActiveRecord date format

Integer out of range in PostgreSQL database

Rails MySQL ILIKE query

Maximum length of an SQL Query

How to create ActiveRecord tableless Model in Rails 3

Rails: How to run before_update only for one changed attribute?

Duplicate an AR record & re-insert this into the database

php database activerecord yii

Custom SQL query without Corresponding Table

Rails: order using a has_many/belongs_to relationship

Rails 3 scoped finds giving ActiveRecord::ReadOnlyRecord

Rails: validating a field is present only if another is present

Rails list created/updated records within last 24 hours

How to use ANY instead of IN in a WHERE clause with Rails?

Callback for changed ActiveRecord attributes?