Erik van Eykelen
Not a member
Erik van Eykelen's latest activity
Monday, January 17 2011
6301
No 'uninitialized constant' thrown when referencing AR class
was created
in Ruby on Rails
-
Erik van Eykelen created the ticket at 6:41 PM'uninitialized constant' is not thrown for the following use case:
class Post < ActiveRecord::Base TEST_FOO = 123 validates_presence_of :title, :message =>...
Monday, October 11 2010
5772
Calling a model "Update" leads to unexpected behavior
was updated
in Ruby on Rails
-
Erik van Eykelen commented at 2:27 PMI totally agree with avoiding reserved words, I simply overlooked the fact that it applies to model names too. I knew about Sessions though ;-)
Your patch is gr...
Friday, October 08 2010
5772
Calling a model "Update" leads to unexpected behavior
was created
in Ruby on Rails
-
Erik van Eykelen created the ticket at 7:31 PMWhen you have these two models:
class Update < ActiveRecord::Base
has_many :comments endand
class Comment < ActiveRecord::Base
belongs_to :update endthen issu...