I just noticed that problem today, I'm going to look deeper into it tomorrow
or this weekend.

On Wed, Feb 18, 2009 at 8:04 PM, Cadwallion <[email protected]> wrote:

>
> Further information.  I've narrowed it down to the date_select
> helper.  When I run the date_select :record, :next_show command, it
> outputs name="record[][next_show(1i)]" instead of the proper
> name="record[next_show(1i)]" although I'm not particularly sure as to
> WHY it's doing that.  It's not Rails 2.3 directly, as I made a clean
> 2.3 app, ran the command in console, removed the active_scaffold
> plugin and ran it again in console and it properly formed.  Is there a
> hook into the helpers that's possibly causing this?
>
> Andrew Nordman
>
> On Feb 18, 3:09 pm, Cadwallion <[email protected]> wrote:
> > I guess I need to watch when I say 'perfectly.'  I'm now getting
> > errors when trying to create of 'Conflicting types for parameter
> > containers. Expected an instance of Array but found an instance of
> > Hash. This can be caused by colliding Array and Hash parameters like qs
> > []=value&qs[key]=value. (The parameters received were {"email"=>""}.)'
> >
> > I'm not overriding any columns in the helper for that controller.
> > Does anyone have any insight before I go under the hood myself?
> >
> > Andrew Nordman
> >
> > On Feb 17, 12:44 pm, Cadwallion <[email protected]> wrote:
> >
> > > I just tried it out and works perfectly.  Thanks for the
> > > assistance! :-)
> >
> > > - Andrew Nordman
> >
> > > On Feb 17, 11:02 am, "Sergio Cambra .:: entreCables - Symbol Servicios
> > > Informáticos S.L. ::." <[email protected]> wrote:
> >
> > > > El Tuesday 17 February 2009 17:25:05 Cadwallion escribió:
> >
> > > > > I found what is causing the problem of set_session_options.
>  InRails
> > > > >2.3the switch to Rack removed set_session_options from
> > > > > session_management.rb.  That's what's causing server errors when
> using
> > > > > render_component.  Bothrails' 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?
> >
> > > > Sorry, I forgot you should userails-edge branch ofhttp://
> github.com/lackac/render_component
> > > > There is some fixes forrailsedge in that branch (set_session_options
> for
> > > > example)
> >
> > > > > - 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
> > > > > > >rails2.3
> >
> > > > > > > > I'm running the latest active_scaffold from github and the
> latest
> > > > > > > > render_component from github, in a freshrails2.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
> > > > > > > > > >Rails2.3release (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]
> >
> > > > --
> > > > 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... 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
    • ... Kenny Ortmann
    • ... BillSaysThis
    • ... Giorgio Gonnella
    • ... Sergio Cambra .:: entreCables - Symbol Servicios Informáticos S.L. ::.
    • ... Benjamín Cárdenas Salamandra
    • ... Wes Gamble

Reply via email to