Engine or Gem

7 views
Skip to first unread message

Bob

unread,
Mar 27, 2013, 1:20:33 PM3/27/13
to Phoenix Ruby Users Group
I recently built an error message setup into an existing app. I would
like to make it into an engine or a gem. Thing is that I dont really
know which I need.

I want it to be set up so that it can generate a controller, mailer,
and mailer view.

It seems that this would be the case for an engine but I am not sure.
For example, Devise is classed as an engine but it is installed as a
gem.

Could somebody clear this up for me please?

Thanks,
BR

Brian Sam-Bodden

unread,
Mar 27, 2013, 1:25:38 PM3/27/13
to Phoenix Ruby Users Group
Bob, 
  You want an engine. Engines can contribute to the host app MVC stack and are distributed as gems. So, yes and yes!

BSB



--
--
You are subscribed to the Google Groups "Phoenix Ruby Users Group" group.
To post, send email to phoeni...@googlegroups.com
To unsubscribe, send email to phoenix-ruby...@googlegroups.com

See http://rubyaz.org for group details

---
You received this message because you are subscribed to the Google Groups "Phoenix Ruby Users Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to phoenix-ruby...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.





--
Cheers,
Brian

Bob

unread,
Mar 27, 2013, 2:18:06 PM3/27/13
to Phoenix Ruby Users Group
Sounds like something fun to do at a meeting.....

On Mar 27, 10:25 am, Brian Sam-Bodden <bsbod...@integrallis.com>
wrote:
> Bob,
>   You want an engine. Engines can contribute to the host app MVC stack and
> are distributed as gems. So, yes and yes!
>
> BSB
>
>
>
>
>
>
>
>
>
> On Wed, Mar 27, 2013 at 10:20 AM, Bob <b...@rebel-outpost.com> wrote:
> > I recently built an error message setup into an existing app.  I would
> > like to make it into an engine or a gem.  Thing is that I dont really
> > know which I need.
>
> > I want it to be set up so that it can generate a controller, mailer,
> > and mailer view.
>
> > It seems that this would be the case for an engine but I am not sure.
> > For example, Devise is classed as an engine but it is installed as a
> > gem.
>
> > Could somebody clear this up for me please?
>
> > Thanks,
> > BR
>
> > --
> > --
> > You are subscribed to the Google Groups "Phoenix Ruby Users Group" group.
> > To post, send email to phoeni...@googlegroups.com
> > To unsubscribe, send email to phoenix-ruby...@googlegroups.com
>
> > Seehttp://rubyaz.orgfor group details
Reply all
Reply to author
Forward
0 new messages