On 24.01.2009, at 19:11, Phlip wrote:

> Uh, Convention over Configuration?
>
> (-:


There are many conventions out there in the Merb Universe :)
Since very flat apps have no init.rb, usual trick that you see in  
editors
("aha, here is our config/init.rb or config/environment.rb, here we go")
no longer work. Even "regular" apps may have customized layout,
in fact, it is almost inevitable in a larger application.

I can think of making default spec helper look for config/init.rb or  
using
".." as a fallback, but there are always edge cases you don't think of,
and more "smart" things you add here and there, more often people
consider your decisions rather stupid.

spec/spec_helper.rb is something you can easily tweak for your needs :)

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