…ppers. Need to update the specs though
…, better fix is to use Timecop or similar
…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
…we can make it easier for people to upgrade when/if we add in new stylesheets (like an IE-only stylesheet, for example).
…just formtastic.rb, although it really doesn't matter what it's called
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.
… up. Now works in my test-project - confusing to spec this one just for a certain plugin. Closing #155.
… with the bundle. Closing #151.
* added basic CSS for semantic_errors and info in README
Signed-off-by: TMaYaD <email@example.com>
Broken: Namespaced::Post -> namespaced/post Fixed: Namespaced::Post -> namespaced_post
* added failing specs * changed date_or_datetime_input to only fallback to Time.now when options[:selected] is not present