There also appears to be a minor bug in merb-gen when creating a
resource and using haml as the template engine.

The created views still have references to *.erb files (example,
index.html.haml says:
"Edit this file in  app/views/sandwiches/index.html.erb"

while it should be:

"Edit this file in  app/views/sandwiches/index.html.haml"



On Oct 21, 6:21 pm, NgTzeYang <[EMAIL PROTECTED]> wrote:
> There's probably a bug in spec generation for:
>
> #$ merb-gen model Abc::Xyz
>
> The spec generated at spec/models/abc/xyz_spec.rb is:
>
> > describe Setting do
> >   ...
> > end
>
> Results in undefined constant 'Setting' when running autospec or rake
> spec, shouldn't it be:
>
> > describe Admin::Setting do
> >   ...
> > end
>
> TKS
--~--~---------~--~----~------------~-------~--~----~
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