Displaying 2 results from an estimated 2 matches for "quoted_date".
Did you mean:
quote_date
2010 Aug 13
4
Rails and Oracle - can select date but cannot save
I''m seeing a behavior in Rails that I find very strange. Having worked
quite a bit with Oracle with other languages I would always dutifully do
ALTER SESSION SET NLS_DATE_FORMAT = <my_date_format> and ensure I use
that date format in my application.
With Rails I still have not figured out how to execute an ALTER SESSION
statement after connecting to the database (I''m using
2008 Jul 27
0
dhtml_calendar Plugin and dates
...form. Then I wanted to add
some additional datetime fields on a form with a nice widget so I
installed the dhtml_calendar plugin. Now my migrations and forms don''t
work on insert stating that the argument is out of range.
Here is line #62 in the plugin:
when Date then "''#{quoted_date(Time.local(value.year, value.month,
value.day, 0, 0, 0))}''"
I believe it''s got something to do with the date format (2007-12-23)
that i''m using but I can''t figure it out. HELP!
vendor/plugins/dhtml_calendar/lib/extensions/active_record.rb:62:in
`local'...