Steps to reproduce:

Start with a fresh gemset and a fresh install of rails:
    rvm gemset create tolliver
    rvm use 1.9.2@tolliver
    gem install rails
    gem install active_scaffold

Create a brand new application:
    rails new myapp
    cd myapp

Add the following to Gemfile:
    gem 'active_scaffold'

Run:
    bundle install

Edit app/assets/javascripts/application.js
    //= require jquery
    //= require jquery_ujs
    //= require active_scaffold
    //= require_tree .

Edit apps/assets/stylesheets/application.css
    /*
     *= require active_scaffold
     *= require_self
     *= require_tree .
     */

Create config/initializers/active_scaffold.rb
    ActiveScaffold.js_framework = :jquery # :prototype is the default

rails g active_scaffold Contact company:string name:string notes:text

rake db:migrate

rails server

Browse to: http://localhost:3000/contacts

Click the Create New button.

Results in: Request Failed (code 500, Internal Error)

log/development.log shows:

Started GET "/contacts/new?adapter=_list_inline_adapter" for 127.0.0.1
at 2011-09-18 11:33:45 -0500
  Processing by ContactsController#new as JS
  Parameters: {"adapter"=>"_list_inline_adapter"}
Rendered /Users/jeff/.rvm/gems/ruby-1.9.2-p136@tolliver/gems/
active_scaffold-3.1.2/frontends/default/views/_form_attribute.html.erb
(1.3ms)
Rendered /Users/jeff/.rvm/gems/ruby-1.9.2-p136@tolliver/gems/
active_scaffold-3.1.2/frontends/default/views/_form_attribute.html.erb
(0.5ms)
Rendered /Users/jeff/.rvm/gems/ruby-1.9.2-p136@tolliver/gems/
active_scaffold-3.1.2/frontends/default/views/_form_attribute.html.erb
(0.4ms)
Rendered /Users/jeff/.rvm/gems/ruby-1.9.2-p136@tolliver/gems/
active_scaffold-3.1.2/frontends/default/views/_form.html.erb (16.3ms)
Rendered /Users/jeff/.rvm/gems/ruby-1.9.2-p136@tolliver/gems/
active_scaffold-3.1.2/frontends/default/views/_base_form.html.erb
(22.9ms)
Rendered /Users/jeff/.rvm/gems/ruby-1.9.2-p136@tolliver/gems/
active_scaffold-3.1.2/frontends/default/views/_create_form.html.erb
(27.3ms)
Rendered /Users/jeff/.rvm/gems/ruby-1.9.2-p136@tolliver/gems/
active_scaffold-3.1.2/frontends/default/views/_messages.html.erb
(0.5ms)
Rendered /Users/jeff/.rvm/gems/ruby-1.9.2-p136@tolliver/gems/
active_scaffold-3.1.2/frontends/default/views/
_list_inline_adapter.html.erb (4.6ms)
Completed 200 OK in 43ms (Views: 7.9ms | ActiveRecord: 0.0ms)

So it looks like everything is rendered okay. I don't see any errors
and I have no idea what I did wrong. Any suggestions?

-- 
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.

Reply via email to