Hi Jon,

If I were you, I'd do:

Merb::Config[:myappname] = {:my_param => 1234, second_param = 12345}

:)

I guess its a matter of preference....

Best Regards, Ahsan

On Thu, Dec 11, 2008 at 2:26 PM, Jon Hancock <[EMAIL PROTECTED]> wrote:

>
> is it easy to namespace Merb::Config?
> e.g.  Merb::Config::MyAppName::[:my_param]
>
> thanks, Jon
>
>
> On Dec 11, 3:52 pm, "Ahsan Ali" <[EMAIL PROTECTED]> wrote:
> > Hi,
> > Instead of using that plugin, why don't you use Merb's Config ?
> >
> > Add this to config/environments/production.rb:
> > Merb::Config[:example_email] = '[EMAIL PROTECTED]'
> >
> > And in your application, reference it with:
> > <%=Merb::Config[:example_email]%>
> >
> > Simple, isn't it ?
> >
> > Regards,
> >
> > Ahsan Ali
> >
> > On Thu, Dec 11, 2008 at 8:21 AM, dhayalan ijk <[EMAIL PROTECTED]
> >wrote:
> >
> > > Hello Everybody,
> > > Now i get in to the merb based application.
> > > now am dealing with the configuration setting.
> > > i need to install the app_config plugin for my merb application
> (script/plugin
> > > install git://github.com/eugenebolshakov/app_config.git<
> http://script/plugin%20install%20git:/github.com/eugenebolshakov/app_...>)
> > > But rails only supports the ===> script/plugin.
> > > what is the relevant syntax or procedure to install app_config plugin
> in my
> > > merb application.
> > > as if i searched for the installing plugins in merb, Many of the
> results
> > > shows that the plugin needs to be as gem.
> > > for ur reference===>http://wiki.merbivore.com/howto/plugins
> > > PLEASE GUIDE ME AND HELP ME
> >
> > > ---
> > > Thanks & Regards,
> > > I.J.K.Dhayalan
> > > +91-9344626897
> > > Jay Leno  - "The reason there are two senators for each state is so
> that
> > > one can be the designated driver."
> >
>

--~--~---------~--~----~------------~-------~--~----~
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