If anyone else has a problem with calendar_date_select, it appears that the official github fork does indeed work with rails 3 active scaffold, as a plugin.
https://github.com/timcharper/calendar_date_select.git However, as a gem it does not seem to work (i.e., "gem 'calendar_date_select'" in Gemfile). On Sat, Jun 11, 2011 at 2:29 PM, Nick Rogers <[email protected]> wrote: > 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 > > -- > You received this message because you are subscribed to the Google Groups > "ActiveScaffold : Ruby on Rails plugin" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/activescaffold?hl=en. > > -- You received this message because you are subscribed to the Google Groups "ActiveScaffold : Ruby on Rails plugin" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/activescaffold?hl=en.
