Tracking down the fix to both of the plugins seems like a good choice. 
You should file tickets with both of the sub projects but creating and 
submitting patches will get you there faster.

I know at the moment that I don't have time to look into changing AS 
core for it. I'm more concerned about the continually changing view 
paths issues as it is causing many more AS breakages.

-Mike

Cadwallion wrote:
> I found what is causing the problem of set_session_options.  In Rails
> 2.3 the switch to Rack removed set_session_options from
> session_management.rb.  That's what's causing server errors when using
> render_component.  Both rails' version and lackac's version call it.
> Perhaps this means that making things compatible with Rack will be
> needed to get render_component working, which will be needed to get
> nested scaffolds working in AS, unless there's the possibility of
> solving it on the AS level only?
>
> - Andrew Nordman
>
> On Feb 17, 9:38 am, Cadwallion <[email protected]> wrote:
>   
>> I tried to use lackac's render_component, it results in the same
>> set_session_options alias_method error.
>>
>> - Andrew Nordman
>>
>> On Feb 17, 2:32 am, "Sergio Cambra .:: entreCables - Symbol Servicios
>> Informáticos S.L. ::." <[email protected]> wrote:
>>
>>     
>>> El Monday 16 February 2009 20:20:28 Cadwallion escribió:
>>>       
>>>> I am having problems with nested scaffolds via Model Relationships.
>>>>         
>>>> Test Scenario:
>>>>         
>>>> 2 Models: Family and Person. Family has_many :people, Person
>>>> belongs_to :family.  I set active_scaffold :person,
>>>> active_scaffold :family in their respective controllers.  When I click
>>>> on the 'people' value for my test family, I get an error 'undefined
>>>> method `render_component' for #<ActionView::Base:0xb65c3238>.'  When I
>>>> add the render_component plugin from github, the server fails to
>>>> start, with an '`alias_method': undefined method `set_session_options'
>>>> for class 'ActionController::Base' (NameError)
>>>>         
>>> Sorry, you are right, render_component is used for embedded and nested
>>> scaffolds.
>>> Try withhttp://github.com/lackac/render_component, it should work with rails
>>> 2.3
>>>       
>>>> I'm running the latest active_scaffold from github and the latest
>>>> render_component from github, in a fresh rails 2.3.0 app.
>>>>         
>>>> - Andrew Nordman
>>>>         
>>>> On Feb 16, 10:51 am, "Sergio Cambra .:: entreCables - Symbol Servicios
>>>>         
>>>> Informáticos S.L. ::." <[email protected]> wrote:
>>>>         
>>>>> El Monday 16 February 2009 17:36:17 Cadwallion escribió:
>>>>>           
>>>>>> I'm a bit confused.  I've attempted to use the render_component plugin
>>>>>> to no avail for resolving the render_component error for nested forms
>>>>>> due to an error with alias_methoding.  Is there currently anything in
>>>>>> the works to resolve this for the impending Rails 2.3 release (or a
>>>>>> solution I'm just not seeing)?
>>>>>>             
>>>>> I think render_component is only needed for embedded scaffolds
>>>>> (render :active_scaffold). Do you have problems with nested forms or
>>>>> embedded scaffolds?
>>>>>           
>>>>> --
>>>>> Sergio Cambra .:: entreCables S.L. ::.
>>>>> Nicolás Guillén 6, locales 2 y 3. 50.018 Zaragoza
>>>>> T) 902 021 404 F) 976 52 98 07 E) [email protected]
>>>>>           
>>> --
>>> Sergio Cambra .:: entreCables S.L. ::.
>>> Nicolás Guillén 6, locales 2 y 3. 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
-~----------~----~----~----~------~----~------~--~---

  • Re... Sergio Cambra .:: entreCables - Symbol Servicios Informáticos S.L. ::.
    • ... Cadwallion
      • ... Mike Gaffney
      • ... Sergio Cambra .:: entreCables - Symbol Servicios Informáticos S.L. ::.
        • ... Cadwallion
          • ... Sergio Cambra .:: entreCables - Symbol Servicios Informáticos S.L. ::.
          • ... Cadwallion
          • ... Cadwallion
          • ... Mike Gaffney
          • ... Sergio Cambra .:: entreCables - Symbol Servicios Informáticos S.L. ::.
          • ... Cadwallion
          • ... Cadwallion
          • ... Cadwallion
          • ... Cadwallion
          • ... Kenny Ortmann
          • ... BillSaysThis
          • ... Kenny Ortmann
          • ... BillSaysThis
          • ... Kenny Ortmann

Reply via email to