On Lunes, 19 de Septiembre de 2011 20:14:05 Zac Zheng escribió:
> When adding ActiveScaffold to a Rails 3.0 app's Gemfile:
>     gem 'active_scaffold', :git => "https://github.com/activescaffold/
> active_scaffold.git", :branch => "rails-3.0"
> 

Why don't you use latest 3.0.x gem?

> I encountered this mysterious error:
>     ActionController::RoutingError (undefined method
> `action_after_create' for ActiveScaffold::Config::Create:Class):
> 
> After a lot of hair pulling I decided to use the gem from a local
> source by:
>     git clone https://github.com/activescaffold/active_scaffold.git
>     git checkout -b rails-3.0 remotes/origin/rails-3.0
> 
> And referring to it from the Gemfile:
>     gem 'active_scaffold', :path => "vendor/gems/active_scaffold"
> 
> The above then miraculously works. Has anyone else come across this?

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