2010/9/15 Sergio Cambra .:: entreCables S.L. ::. <[email protected]>:
>> Could I know the differences between both "versions" of
>> activescaffold? how to determine when to use each one (taking into
>> account that both are supposed to work under rails-2.3.X?
>
> In a new project, use master branch. In an project started with a previous
> version, stick with rails-2.3 or remove deprecation warnings and update to
> master branch.
>
> After update to master branch you will have to update your helper overrides
> because in master branch you will get full options hash instead of only input
> name.

Well, I've realized that in amster branch it's required to name the
helpfer method starting by the controller itself, this is:

  module ClientsHelper
    old branch:        def start_date_column ...
    master branch:  def client_start_date_column



> That change cannot be done with a deprecation warning, so master branch
> break backwards compatibility.

The case I've realized jsut shows a warning but still works. What do
you mean with "full options hash"? Is it documented in the wiki? any
link please?



> It's strange you get that error only in master branch, do you have a
> WebUsersController?

In devise the controller is created during startup. You write
something as "devise_for :web_user" and it automatically creates a
WebUsersController, some methods and so on. With activescaffold master
branch it fails as I shown in the error log. With 2.3.x branch it
works perfectly.





-- 
Iñaki Baz Castillo
<[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