Mark Dodwell
Web Designer & Developer · Not a member
Mark Dodwell's latest activity
Monday, September 13 2010
5622
boolean_attr_accessor
was created
in Ruby on Rails
-
Mark Dodwell created the ticket at 7:31 AMI'd like to propose adding a boolean_attr_accessor core extension to Module:
class Foo boolean_attr_accessor :bar end foo = Foo.new foo.bar = "1" ...
Sunday, January 31 2010
2432
build_association nullifies existing model object in has_one association
was updated
in Ruby on Rails
-
Mark Dodwell commented at 7:15 PMI'm also seeing this behaviour. Seems very undesirable, surprised nobody else has commented yet.
Are other people seeing this?
Sunday, December 06 2009
3165
ActiveRecord::MissingAttributeError after update to rails v 2.3.4
was updated
in Ruby on Rails
-
Mark Dodwell commented at 1:16 AMI ran into this same bug, and side-stepped it by changing the way I was setting my attribute in #after_initialize:
def after_initialize self.token ||= "fooba...
Wednesday, February 18 2009
2011
assert_template :symbol passes whatever
was created
in Ruby on Rails
-
Mark Dodwell created the ticket at 9:36 PMWhen you use a symbol for assert_template, it passes regardless of what symbol you pass.
For example, if the actual template rendered is 'foo/new.html.erb', the...