Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in activerecord

Reporting on a grouped average over a group of records

rails associations :autosave doesn't seem to working as expected

Rails: Using will_paginate with a complex association find

Inserting time into a time column with Ruby on Rails

activerecord sum returns a string?

Rails 3 Serialization issue

How to display a form for a subset of associated records, some of which don't exist yet?

ActiveRecord Associations: Any gotchas if has_many WITHOUT corresponding belongs_to?

Select * sql query vs Select specific columns sql query [duplicate]

Change recorded variables created_at property

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?

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