This reverts commit ba055cc.
…ays returns empty results
…ers in spec_helper.rb needing to now accept arguments, thanks to twalpole, fixes #654
…ageCollection trickery in spec_helper.rb -- I suspect it's causing Travis CI to fail.
…#547). Just over a third of the time it used to take. # before Finished in 178.55 seconds 1148 examples, 0 failures #after Finished in 66.23 seconds 1148 examples, 0 failures
* Rails 3.1 nested inputs won't work unless the nested attributes collection returns a non-empty collection * stub Author#persisted? to get another test passing * stub controller, default_url_options, _routes, _routes.url_helpers, _routes.url_helpers.has_for_..._path, etc * f.fields_for(:some_association) in Rails 3.1 checks for the some_association= method on the parent model, so we need to stub it Disabled some failing i18n specs for now.
… okonski-refactor This was a pretty epic merge. Ended up rewriting most of the tests and leveraging some existing code instead of wmerging in new code that does similar things, but I think the results are right. Many thanks to Jakub Okoński.
numeric functionality for inputs and ValidationHelper#range_options_for. Conflicts: lib/formtastic/form_builder.rb lib/formtastic/inputs/numeric_input.rb
…lecting on numericality validations
…lready responds to (otherwise i'll need to stub it for the next tests to pass)
…e it pass
… #all and collection_from_association
in #mock_everything - age.
…c::Builder, Formtastic::SemanticFormHelper to Formtastic::Helpers::FormHelper and ::Formtastic to just Formtastic. Still need to work out upgrade path/warnings/etc, but the old class names still work for now (for those awesome enough to be on the edge).