Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Jun 1, 2011
  1. Deferring garbage collection cuts the time to run the test suite down (

    authored
    …#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
Commits on May 24, 2011
  1. A bunch of Rails 3.1 compatability stuff for #564

    authored
    * 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.
Commits on May 11, 2011
  1. @ebeigarts
  2. @twalpole

    verify value is taken from object

    twalpole authored committed
Commits on Apr 5, 2011
  1. Merge branch 'refactor' of https://github.com/okonski/formtastic into…

    authored
    … 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.
  2. @farnoy

    Merge remote-tracking branch 'okonski/range_helper' into refactor. Give

    farnoy authored
    numeric functionality for inputs and ValidationHelper#range_options_for.
    
    Conflicts:
    	lib/formtastic/form_builder.rb
    	lib/formtastic/inputs/numeric_input.rb
  3. NumericInput now provides default min, max and step attributes by ref…

    authored
    …lecting on numericality validations
Commits on Mar 16, 2011
  1. change mongoid select spec to use a foreign key for which the model a…

    authored
    …lready responds to (otherwise i'll need to stub it for the next tests to pass)
  2. fix a bunch of issues and failing select input specs around #where vs…

    authored
    … #all and collection_from_association
Commits on Feb 9, 2011
  1. spec for mongoid references fix

    smix authored committed
Commits on Feb 1, 2011
  1. @farnoy
Commits on Jan 20, 2011
  1. @sobrinho
Commits on Jan 19, 2011
  1. Renamed all instances of Formtastic::SemanticFormBuilder to Formtasti…

    authored
    …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).
Commits on Jan 9, 2011
Commits on Nov 28, 2010
  1. @lardawge

    Add bundler for easier development setup

    lardawge authored committed
    Add support to switch between rails versions in dev
    
    Usage:
      bundle install                    # Initial bundle command to build Gemfile.lock
      RAILS_2=true bundle update rails  # Updates gemfile to run agains rails 2
      RAILS_2=true rake                 # Run tests against rails 2
      bundle update rails               # Updates gemfile to run agains rails 3
      rake                              # Run tests against rails 3
  2. @lardawge

    Use real object to get specs passing in ruby 192

    lardawge authored committed
Commits on Nov 23, 2010
  1. @lardawge

    input_html should be passed to checkbox_tag

    lardawge authored committed
Commits on Nov 18, 2010
  1. remove to_ary stubs

    authored
  2. @asanghi

    bob should not respond to to_ary

    asanghi authored committed
Commits on Nov 14, 2010
  1. @lardawge
Commits on Oct 28, 2010
  1. @asanghi
Commits on Oct 17, 2010
  1. Spec coverage to confirm that a work-around exists for GH-398.

    authored
    Rails will automatically render a hidden id input for each nested object unless a hidden id field has already been rendered. The hidden input Rails renders is invalid HTML in the context of ol and li tags. The work-around is to render your own f.input :id, :as => :hidden, which renders the correct mark-up.
    
    TODO: Still need to try to render our own hidden field in the block WITHOUT requiring the author to implement this work-around.
Commits on Oct 10, 2010
  1. Merge branch 'html5' of http://github.com/asanghi/formtastic into asa…

    authored
    …nghi-html5
    
    Conflicts:
    	Rakefile
    	lib/formtastic.rb
    	spec/inputs/email_input_spec.rb
    	spec/inputs/phone_input_spec.rb
    	spec/inputs/search_input_spec.rb
    	spec/inputs/url_input_spec.rb
  2. @asanghi
  3. @asanghi

    string type html defaults for newer fields

    asanghi authored committed
Commits on Oct 1, 2010
  1. @sobrinho

    Spec for last commit

    sobrinho authored
Commits on Sep 30, 2010
  1. @asanghi @sobrinho

    make spec pass on rails3

    asanghi authored sobrinho committed
Commits on Sep 29, 2010
  1. @asanghi
  2. @asanghi

    make spec pass on rails3

    asanghi authored
Commits on Sep 27, 2010
  1. @yabawock
  2. @yabawock

    Whitespace Cleanup

    yabawock authored
  3. @koppen @yabawock

    Automatically set maxlength if object is an ActiveModel and the field…

    koppen authored yabawock committed
    …s method has a maximum length validation
Something went wrong with that request. Please try again.