Calender Date select

101 views
Skip to first unread message

zeal

unread,
Mar 30, 2012, 9:18:14 AM3/30/12
to actives...@googlegroups.com
Hi All,

I just started moving to Rails 3.2, Ruby 1.9.3 and ActiveScaffold 3.2.2. 
I created fresh application and created generated one table from active scaffold generator.
I have one date field in the table for which i want to use calender date select so i wrote following code.

conf.columns[:reported_date].form_ui = :calendar_date_select

when i am trying to access url i am getting following error.



Routing Error

uninitialized constant ActiveScaffold::Bridges::CalendarDateSelect::ViewHelpers

Try running rake routes for more information on available routes.



My gem file contains

gem 'active_scaffold'

gem 'calendar_date_select'



can anyone tell what is wrong ?? until the time i have added gem 'calender_date_select', active scaffold was working fine.

Sergio Cambra

unread,
Mar 30, 2012, 9:41:06 AM3/30/12
to actives...@googlegroups.com
There was a bug, it's fixed in 3.2.3

zeal

unread,
May 12, 2012, 7:03:11 AM5/12/12
to ActiveScaffold : Ruby on Rails plugin
Hi Sergio,

Sorry I couldn't try out before. I just tried in both 3.2.3 and 3.2.7.
It gave me following error.

undefined local variable or method `calendar_date_select_stylesheets'
for ActiveScaffold::Bridges::CalendarDateSelect:Class
  (in c:/Ruby193/lib/ruby/gems/1.9.1/gems/active_scaffold-3.2.3/app/
assets/stylesheets/active_scaffold.css.scss)

Thanks

ser...@entrecables.com

unread,
May 13, 2012, 3:00:02 PM5/13/12
to actives...@googlegroups.com
I see, calendar_date_select bridge needs some update. Which
calendar_date_select version are you using? Where is
calendar_date_select code?

On Sat, 12 May 2012 04:03:11 -0700 (PDT), zeal <urj...@gmail.com>
wrote:
Reply all
Reply to author
Forward
0 new messages