Greg Dan
Not a member
Greg Dan's latest activity
Wednesday, August 19 2009
3073
lock_version, counter cache and dependent as destroy
was created
in Ruby on Rails
-
Greg Dan created the ticket at 11:16 AMThis is rather minor issue.
Example
class Parent < ActiveRecord::Base has_many children, :dependent => :destroy # this model has lock_version and children_...
3071
Bad table name when using join and hash condition
was created
in Ruby on Rails
-
Greg Dan created the ticket at 10:38 AMHere is an example from Rails Guides
time_range = (Time.now.midnight - 1.day)..Time.now.midnight
Client.all :joins => :orders, :conditions => {:orders => {:crea...
Sunday, February 08 2009
1911
Neset forms and attr_accessible
was created
in Ruby on Rails
-
Greg Dan created the ticket at 12:36 PMNot sure this a bug. When using nested forms and attr_accessible, then a new parameter 'model name'_attributes has to be added to attr_accessible list. At list ...