This is just wrong :(

merb-gen resource Page title:string, body:text  won't even work

merb-gen resource Page title:string body:text  fails and don't tell you
wrong.

I really really really feel that it's a backward move and we need to get
that reverted before 1.0RC1

Yehuda, what do you think?

-Matt

On Tue, Oct 7, 2008 at 9:59 PM, Jonas Nicklas <[EMAIL PROTECTED]>wrote:

> 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