I just spent over an hour trying to figure out how to do something
that was stupidly simple, but because I was following the wiki (which
includes no date or version information) I troubleshot a non-existent
problem for over an hour before reverting my project and doing it the
easy way.
Instead of any of this: http://wiki.activescaffold.com/wiki/published/CalendarDateSelectBridge
All I needed was this
sudo gem install calendar_date_select --force
# Added this in config/environment.rb
config.gem "calendar_date_select"
# I restart and see that things work, but they don't
sudo /etc/init.d/apache2 restart
Which is the way which does not result in any sort of error like this
undefined local variable or method `calendar_date_select_javascripts'
undefined local variable or method `calendar_date_select_stylesheets'
/var/webapps/IT355/vendor/plugins/active_scaffold/lib/bridges/
calendar_date_select/lib/as_cds_bridge.rb:52:in
`active_scaffold_javascripts'
/var/webapps/IT355/vendor/plugins/active_scaffold/lib/active_scaffold/
helpers/view_helpers.rb:105:in `active_scaffold_includes'
/var/webapps/IT355/app/views/layouts/assignments.html.erb:10:in
`_run_erb_app47views47layouts47assignments46html46erb'
http://groups.google.com/group/activescaffold/browse_thread/thread/979848a511f2f67f
As you can see, the old, outdated wiki on http://wiki.activescaffold.com/wiki/published/HomePage
should be deleted. It's already ported to http://wiki.github.com/activescaffold/active_scaffold
So please update the pages there, so that everybody can benefit from
your findings and less time will be wasted in the future
/Jesper
www.justaddwater.dk
PS. I wish more people would link to http://wiki.github.com/activescaffold/active_scaffold
so that it would show up higher in the search results.
As you can see, the old, outdated wiki on http://wiki.activescaffold.com/wiki/published/HomePage
should be deleted. It's already ported to http://wiki.github.com/activescaffold/active_scaffold
So please update the pages there, so that everybody can benefit from
your findings and less time will be wasted in the future
PS. I wish more people would link to http://wiki.github.com/activescaffold/active_scaffold
so that it would show up higher in the search results.