This is because the syntax for specyfying multiple arguments has changed. I
changed it in Templater edge, which assuming by now has been released. So
now this:

    merb-gen resource Page title:string body:text

should be written as:

    merb-gen resource Page title:string,body:text

not the comma. The reason is that the latter removes ambiguity in parsing
the arguments, at the expense of deviating from the "Rails standard". This
is probably quite poorly documented at the moment.

/Jonas

On Tue, Oct 7, 2008 at 6:38 AM, Michael Klishin <[EMAIL PROTECTED]
> wrote:

>
> 2008/10/7 Jonathan Stott <[EMAIL PROTECTED]>:
> > I can confirm that 'merb-gen resource Page' does work without any
> database.yml.  As does 'merb-gen resource Page title:string'.  The problem
> comes when you try 'merb-gen resource Page title:string body:text' (as in,
> two properties).
>
> Let me see if I understand the real problem correctly. Specifying
> multiple attributes causes generator misbehavior, right?
> --
> MK
>
> >
>

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

Reply via email to