justinfrench/formtastic — pull request #820 by twalpole (2012-03-07 03:53:44+00:00)
Title: Allow use with Rails 4 edge

Tests updated to all pass when using rails edge. Biggest change was allowing [] stubs for errors object to match on either string or symbol since the tags in rails edge store the method name as strings now and index into the errors object using strings. The errors object calls #to_sym on any index though so @object.errors[:abc] is equivalent to @object.errors["abc"]