2010/9/17 Sergio Cambra .:: entreCables S.L. ::. <[email protected]>:
>> However, I strongly think that AS master branch gets confused with this:
>>
>>      class AdminWebUsersController < ApplicationController
>>         active_scaffold :web_users  do |config|
>>
>> This is, the controller name doesn't match the model being using by AS
>> in this controller. Of course this shouldn't be a problem, but it is
>> in AS master branch (as changing it makes it to work).
>
> Yes, it's a problem, ActiveScaffold cannot guess controller. It's better to 
> use
> namespaced models in that case, such as Admin::WebUsersController, inside an
> admin directory.
>
> In rails-2.3 branch, looking for a form partial override didn't use
> active_scaffold_controller_for. If you want to keep using that controller name
> you will have to override active_scaffold_controller_for:
> http://github.com/activescaffold/active_scaffold/wiki/API:-Core
> Look at bottom of that URL.
>
> It was changed to load form partial overrides in a subform from controller
> subform controller.


Good to know :)

Thanks for the explanation.



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