Permalink
Commits on Mar 4, 2010
  1. Railtie

    rds committed Mar 4, 2010
  2. Don't escape markup in Rails 3

    rds committed Mar 4, 2010
Commits on Mar 1, 2010
  1. make eval'ed code's line-numbers line up

    timcharper committed with justinfrench Jan 30, 2010
    It just makes debugging easier this way.
  2. Made CSS rules for fieldset lists more specific

    Mange committed with justinfrench Jan 18, 2010
    This will make conflicts with other rules less likely. Tested
    in Chromium/Mac TRUNK, Safari 4.0.4 Mac, Firefox 3.5 Mac, IE8,
    IE8 compat. view without any noticable differences.
  3. Better workaround for ActiveRecord's flawed Base.human_name:

    justinfrench committed Feb 16, 2010
    * affecting commit buttons
    * in 0.9.6 and earlier we called @object.class.human_name, but this resulted in things like "Userpost" instead of "User post"
    * in 0.9.7 we called @object.class.name.underscore.humanize
    * 0.9.6 worked for people with their own i18n for model names (human_name falls back to "Userpost" if there's no i18n)
    * 0.9.7 worked for those without i18n ("User post" instead of "Userpost")
    * the crappy fallback in human_name is the issue we're routing around (@object.class.name.humanize)
    * so we now call @object.class.name.underscore.humanize only if it looks like human_name has fallen back to the crappy @object.class.name.humanize
  4. Radio and checkbox inputs no longer have the legend label associated …

    justinfrench committed Feb 14, 2010
    …with the first choice's input, resolving #101.
  5. shifting things around

    justinfrench committed Feb 7, 2010
  6. renamed a spec

    justinfrench committed Feb 7, 2010
  7. smart_require is tripping up the CI build, and also tripped me up a f…

    justinfrench committed Feb 7, 2010
    …ew times, so let's try explicit lines that do what we need to do... specs pass with what I have here, the only real change is we're explicitly requiring Rails 2.3.5 components to explude Rails 3
  8. Revert "generated config file is now called formtastic_config.rb rath…

    justinfrench committed Feb 7, 2010
    …er than just formtastic.rb, although it really doesn't matter what it's called"
    
    This reverts commit b872f39.
Commits on Jan 18, 2010
  1. quick fix for a spec that assumes Time.now.hour is a two digit number…

    justinfrench committed Jan 18, 2010
    …, better fix is to use Timecop or similar
  2. added currency select input

    liangzan committed with justinfrench Jan 17, 2010
  3. clean up date_or_datetime_input

    adzap committed with justinfrench Jan 17, 2010
  4. :datetime, :date and :time selects now support a :default option in f…

    justinfrench committed Jan 8, 2010
    …avour of a deprecated :selected option (issue #152):
    
    * if the object has a value, we should pre-select that at all times, ignoring the :default option
    * if the object has no value, and :default is provided as a Date/Time then :default should be pre-selected
    * if the object has no value, and :default is provided as nil then no option should be pre-selected (it will default to the first)
    * if the object has no value, and :default is not provided then fallback to Time.now (or perhaps a configurable default)
    * :selected invokes a deprecation warning, but is an alias of :default
    * it's not a real deprecation, as the behaviour has changed with all the bugs and half-fixes
  5. Added a Formtastic::LayoutHelper with formtastic_stylesheets so that …

    justinfrench committed Jan 10, 2010
    …we can make it easier for people to upgrade when/if we add in new stylesheets (like an IE-only stylesheet, for example).
Commits on Jan 12, 2010
  1. exisiting -> existing

    Carl Douglas committed with justinfrench Jan 12, 2010
Commits on Jan 9, 2010
  1. generated config file is now called formtastic_config.rb rather than …

    justinfrench committed Jan 9, 2010
    …just formtastic.rb, although it really doesn't matter what it's called
Commits on Jan 7, 2010
Commits on Jan 6, 2010
  1. fixed semantic errors spec

    morgoth committed with justinfrench Jan 5, 2010
Commits on Jan 3, 2010
  1. Fix for commit button text bug in issue #153:

    justinfrench committed Jan 3, 2010
    Work around bug in Rails 2.x in which TicketRequest.human_name returns "Ticketrequest" instead of "Ticket request".  Will revisit to check if it's addressed in Rails 3 at a later date.
Commits on Jan 2, 2010