Post render :active_scaffold line On Lunes, 9 de abril de 2012 07:06:04 Richard Zheng escribió: > Hi Sergio, > > Any ETA to fix it? It becomes a big show stopper to migrate to Rails 3. > > Thanks, > > On Fri, Apr 6, 2012 at 7:47 AM, Nick Rogers <[email protected]> wrote: > > I'm experiencing the same problem with nested scaffolds and conditions. > > Latest active_scaffold master and rails 3.2.3. > > > > On Thu, Apr 5, 2012 at 11:01 PM, Richard Zheng <[email protected]> wrote: > >> Hi, > >> > >> With AS 3.2.2, we have an embedded scaffold with a constraint. Inside > >> it, click one column, a nested scaffold shows up. But for the nested > >> scaffold, the sql query now includes the constraint for embedded which > >> refers to columns not available for the table. Here is an example. As > >> you > >> can see, it adds `subnets`.parent_id IN (30792) which is the constraint > >> for > >> the embedded. > >> > >> On the old version, working > >> > >> SELECT `hosts`.* FROM `hosts` WHERE (((hosts.subnet_id = '5302'))) > >> > >> > >> > >> One the new version, broken > >> > >> SELECT COUNT(*) FROM `hosts` WHERE `hosts`.`subnet_id` = 5302 AND > >> (((hosts.subnet_id = '5302')) AND (`subnets`.parent_id IN (30792)))) > >> > >> > >> Thanks, > >> Richard > >> > >> -- > >> > >> 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. > >> > > -- > > > > 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.
-- 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.
