David Röthlisberger
Not a member
David Röthlisberger's latest activity
Saturday, October 17 2009
-
David Röthlisberger commented at 9:55 AMTry ticket #1202
and this: http://weblog.rubyonrails.org/2009/1/26/nested-model-forms
Tuesday, October 14 2008
-
David Röthlisberger commented at 4:46 PMHow is it hiding the error any more than:
def contact_name; contact && contact.name; endIt's intended as a shortcut for the case where not having a contact...
-
David Röthlisberger commented at 2:07 PM(Um, that "1." in the comment above was supposed to be a "+1").
-
David Röthlisberger commented at 2:06 PM- Useful, and the patch is very simple.
If anything, I'd change the rdoc to say "If the object to which you delegate...".
Tuesday, September 16 2008
-
David Röthlisberger created the ticket at 3:52 PMThis commit:
http://github.com/rails/rails/co...
Added several new unit tests, 2 of which share the same name (test_nested_fields_for_with_index). I believe th...
Thursday, July 31 2008
-
David Röthlisberger created the ticket at 6:49 PMYou can't pass an array of column names to the :select option of ActiveRecord#find -- see http://dev.rubyonrails.org/ticke...
This initially confused me and t...
Thursday, July 17 2008
-
David Röthlisberger commented at 2:01 AMI am swamped under at the moment, and the rails internals are still black magic to me, so it'll be at least a month before I get around to trying to fix it.
I...
Tuesday, May 13 2008
-
David Röthlisberger created the ticket at 4:36 PMform_for('post[]', @post) do |f| f.fields_for('comment[]', @comment) do |c| c.text_field(:name) end endI expect:
<input name="post[123][comment]...
Thursday, May 08 2008
-
David Röthlisberger commented at 5:37 PMIn the previous comment, the second test should be named "test_collection_select_under_fields_for_with_collection_and_index".
-
David Röthlisberger commented at 5:35 PMThis is on edge rails.
See the test cases in attached 145-001.patch:
the first test (test_collection_select_under_fields_for_with_collection) passes;
the se...