hello, i just created sample project with AS using rails 3.1 / ruby 1.9.2, mysql as backend. I've generated AS with command rails g active_scaffold user, then ran rake db:migrate, ran rails s and finally was facing a scaffold. Problem is that all action links (new/show/delete/create new/ search) are not ajax-ified, whenever i click any of them page is reloaded completely and only partial related to action is returned from server. In other words if I click 'create new' page is reloaded and only form for creation of new user is shown.
I've used AS with rails 2 and prototype and there all active links were ajaxified(as well as other actions). Is this changed for AS&rails 3.1 (which use jquery by default)? Of course i've put in layout <%= stylesheet_link_tag "active_scaffold" %> <%= javascript_include_tag "active_scaffold" %> and also tried to create initializer active_scaffold.rb with this content ActiveScaffold.js_framework = :jquery my routes are simple and include only generated by active_scaffold generator entry resources :users do as_routes end also, this is my Gemfile listing: source 'http://rubygems.org' gem 'rails', '3.1.0' gem 'sqlite3' group :assets do gem 'sass-rails', " ~> 3.1.0" gem 'coffee-rails', "~> 3.1.0" gem 'uglifier' end gem 'jquery-rails' gem 'mysql2',"0.3.7" gem 'active_scaffold', ">=3.1.7" group :test do gem 'turn', :require => false end -- 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.
