Thanks Sergio, but that didn't resolve the problem. I'm still getting
the 500 error.

On Sep 19, 2:34 am, "Sergio Cambra .:: entreCables S.L. ::."
<[email protected]> wrote:
> On Domingo, 18 de Septiembre de 2011 18:39:17 JB escribió:
>
>
>
> > 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
>
> This step is not needed, if you have gem 'jquery-rails' and you don't have gem
> 'prototype-rails', ActiveScaffold detects it and setup js_framework.
>
>
>
> > 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)
>
> It should be fixed in master branch. Try it, with gem 'active_scaffold', :git 
> =>
> 'git://github.com/activescaffold/active_scaffold.git' When all it's working I
> will release a new version.
>
>
>
>
>
> > 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?
>
> --
> Sergio Cambra .:: entreCables S.L. ::.
> Mariana Pineda 23, 50.018 Zaragoza
> T) 902 021 404 F) 976 52 98 07 E) [email protected]

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