[merb] Help Me

1 view
Skip to first unread message

dhayalan ijk

unread,
Dec 10, 2008, 11:21:53 PM12/10/08
to me...@googlegroups.com
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
)
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."

Ahsan Ali

unread,
Dec 11, 2008, 2:52:36 AM12/11/08
to me...@googlegroups.com
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] = 'y...@yourdomain.com'

And in your application, reference it with:
<%=Merb::Config[:example_email]%>

Simple, isn't it ?

Regards,

Ahsan Ali

Jon Hancock

unread,
Dec 11, 2008, 5:26:33 AM12/11/08
to merb
is it easy to namespace Merb::Config?
e.g. Merb::Config::MyAppName::[:my_param]

thanks, Jon


On Dec 11, 3:52 pm, "Ahsan Ali" <highandw...@gmail.com> 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] = '...@yourdomain.com'
>
> 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 <dhayalan....@gmail.com>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_...>)

Ahsan Ali

unread,
Dec 11, 2008, 5:32:52 AM12/11/08
to me...@googlegroups.com
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

dhayalan ijk

unread,
Dec 11, 2008, 11:49:57 PM12/11/08
to me...@googlegroups.com
Hey everyone,
i am new to merb.
i need to know how the process flow goes on.
can any one send one sample project which is having login and registeration page.

Samo Korosec

unread,
Dec 12, 2008, 1:55:06 AM12/12/08
to merb
Have you tried the tutorials over at http://merbunity.com/tutorials ?

Samo

dhayalan ijk

unread,
Dec 12, 2008, 4:20:22 AM12/12/08
to me...@googlegroups.com
Thank u my friend.
but am not more clear in it.
do you have any sample projects with out using the scaffolding.

---
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."

Redd Vinylene

unread,
Dec 12, 2008, 4:28:12 AM12/12/08
to me...@googlegroups.com
Well, what's your concept? What website are you trying to make?
--
http://www.home.no/reddvinylene

dhayalan ijk

unread,
Dec 12, 2008, 4:42:56 AM12/12/08
to me...@googlegroups.com
now am get in to merb based web project.
i need to get more idea.thats it

Thanks & Regards,
I.J.K.Dhayalan
Franklin P. Jones  - "All women should know how to take care of children. Most of them will have a husband some day."

Samo Korosec

unread,
Dec 12, 2008, 1:28:25 PM12/12/08
to merb
What problems do you have with http://merbunity.com/tutorials/19 and
http://merbunity.com/tutorials/13

They certainly look quite clear to me. Unless you want to copy & paste
code from other projects or someone here to outright to write it for
you (which both wouldn't help you understand anything).

On Dec 12, 10:20 am, "dhayalan ijk" <dhayalan....@gmail.com> wrote:
> Thank u my friend.
> but am not more clear in it.
> do you have any sample projects with out using the scaffolding.
> ---
> 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."
>

dhayalan ijk

unread,
Dec 12, 2008, 11:51:41 PM12/12/08
to me...@googlegroups.com
Hai Everyone,
am new to merb.
while i try to retrieve data from a table.
am not able to use "find" keyword.
please guide me.

dhayalan ijk

unread,
Dec 12, 2008, 11:51:41 PM12/12/08
to me...@googlegroups.com

MarkMT

unread,
Dec 13, 2008, 12:37:42 AM12/13/08
to merb
If you're using DataMapper as your ORM, you'll find guidance here:
http://datamapper.org/doku.php?id=docs:finders

Mark.

christocracy

unread,
Dec 13, 2008, 2:43:01 AM12/13/08
to merb
> while i try to retrieve data from a table.
> am not able to use "find" keyword.

Dorothy, you're not in Kansas anymore.

Michael D'Auria

unread,
Dec 13, 2008, 12:08:50 PM12/13/08
to me...@googlegroups.com
Dude, stop with the huge help me emails and read some docs. Jeez...

Ted Han

unread,
Dec 13, 2008, 1:14:57 PM12/13/08
to me...@googlegroups.com
Well if he keeps going we can compile it and call it performance art :D
Reply all
Reply to author
Forward
0 new messages