Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

Use DataMapper instead of ActiveRecord [closed]

Migrating an Activerecord database to Mongoid

Record changes pend approval by a privileged user; Its like versioning combined with approvals

Access SQL computed columns through ActiveRecord

Define a custom finder method on an ActiveRecord relation?

Database.yml configuration options

Using Rails ActiveRecord to Query Unsaved Objects

find_or_initialize_by on has_many association causes duplicate error

HTTP requests in transactions?

Marshal or Serialize an ActiveRecord object

Using scope to return results within multiple DateTime ranges in ActiveRecord

destroy vs destroy_all

Active Record: Eager load association with parameter

Can't delete_all associated records with "has_many through"

Rails, fixtures and default_scope

Connect to existing Postgresql database with ActiveRecord without rails

Dynamically create a class inherited from ActiveRecord?

ruby activerecord

Rails Auto-populate form field based off of date input

Rails 3: How do I validate to allow blanks ("") but not nil (NULL in database)

How do I do this? Model.where("created_at >= #{Time.now - 5.days}")