Nick Rogers
unread,Jun 11, 2011, 2:29:12 PM6/11/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ActiveScaffold : Ruby on Rails plugin
What is the preferred way of handling create/update form for datetime
columns under the vhochstein fork and rails 3?
In the official active_scaffold under rails 2.3 (i.e., sergios), all
datetime columns automatically had a date/time select form generated
in the create and update views. Under vhochstein fork they seem to
default to a text field. Is it possible to enable the old behavior
without adding form override methods for all columns?
I've also tried getting calendar_date_select plugin to work by adding
"gem 'calendar_date_select'" to my Gemfile. After doing this, I get
the following exception when loading an active_scaffold.
undefined local variable or method `calendar_date_select_javascripts'
for #<#<Class:0x10557a9f8>:0x1055761a0>
/Library/Ruby/Gems/1.8/bundler/gems/active_scaffold-d6964bb2b444/lib/
active_scaffold/bridges/calendar_date_select/lib/as_cds_bridge.rb:
63:in `active_scaffold_javascripts'
/Library/Ruby/Gems/1.8/bundler/gems/active_scaffold-d6964bb2b444/lib/
active_scaffold/helpers/view_helpers.rb:105:in
`active_scaffold_includes'
Is the cds bridge working in vhochstein fork?
Is there a better datetime form_ui I should be using? I believe I am
stuck with prototype for the time being, which eliminates datepicker
and other jquery plugins.
Thanks for the help.
-Nick