Indeed, "-" get converted to "_" in the fields string, but "_" is also 
acceptable and is what is generated in:

         app/views/taglibs/auto/rapid/forms.dryml

Regards,
Henry

On July 14, 2010 02:21:38 pm erbecke wrote:
> I'm newbie, but I think sometimes the problem is the "_" character in
> names, change it for a "-" in the field-list tag.
> 
> For example:
> 
> <field-list fields="nome, data-entrada, artigo"/>
> 
> eddie.
> 
> On 14 jul, 07:46, Hugo <[email protected]> wrote:
> > Hi all,
> > 
> > I'm trying to change a new view to show only some of the columns in
> > the table but I always get the error "undefined method
> > `alias_method_chain_on_include'".
> > 
> > Bellow you can see the code:
> > -------------------------------------------------------
> > <extend tag="form" for="Lote">
> >    <old-form merge>
> >      <field-list: fields="nome, data_entrada, artigo"/>
> >    </old-form>
> > </extend>
> > 
> > And the error that is showed:
> > -------------------------------------------------------
> > NoMethodError in Lotes#new
> > 
> > Showing app/views/lotes/new.dryml where line #5 raised:
> > 
> > undefined method `alias_method_chain_on_include' for #<Class:
> > 0x1066091c0>
> > Extracted source (around line #5):
> > 
> > 2:    <old-form merge>
> > 3:      <field-list: fields="nome, data_entrada, artigo"/>
> > 4:    </old-form>
> > 5: </extend>
> > 
> > Can anyone help me?
> > Best regards,
> > Hugo

-- 
Henry Baragar
Instantiated Software

-- 
You received this message because you are subscribed to the Google Groups "Hobo 
Users" 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/hobousers?hl=en.

Reply via email to