On Mon, Oct 19, 2009 at 10:51 AM, Aaron Broad <[email protected]> wrote:

>
> The argument for the gem is that any improvements in security/bug
> fixes will be automatically included in your application if you
> continue to update your gems.  The argument for the plugin is any
> changes in the gem won't break your code that was already working if
> you don't update your plugin.
>
>
This isn't 100% true because I can call-out the version to use within my
environment.rb file.  For example,

config.gem "sqlite3-ruby", :lib => "sqlite3", :version => "1.2.5"

Now, I can 'gem update' without causing issues for my application.  The
bundler gem will replace the above in Rails 3.  For now, this has worked
great in development and production.

-Conrad


> I would use the updating gem in development.  And a frozen plugin in
> deployed app.
>
> On Oct 18, 1:43 pm, Hassan Schroeder <[email protected]>
> wrote:
> > Trying out Authlogic for the first time -- somewhere, can't find it now
> > of course :-) I saw a recommendation to use the plugin form, but the
> > Ryan Bates railscast recommends the gem (without explanation).
> >
> > Comments or recommendations?
> >
> > TIA,
> > --
> > Hassan Schroeder ------------------------ [email protected]
> > twitter: @hassan
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" 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/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to