[Rails] Re: Working in install acts_as_commentable, On create, error: "unknown attribute: book_id"
I was able to use
gem 'nested_set'
Which got it working, now I just need to understand the rlt, lft
stuff. Thanks - this is great! Looking forward to seeing the updates
on the suggestions above.
On Sep 22, 10:57 am, radhames brito <rbri...@gmail.com> wrote:
> no , plugins go along with the rails app. gems get installed in the computer
> your are using and if you take your rails app somewhere else you have to
> install all the gems in that other computer, plugins install in the
> /vendor/plugin folder in the rails app and they go where ever you app goes,
> the result is almost the same but , gems are better if you have several
> project using something common, for example , most rails app use
> will_paginate so is better to install it as a gem on the pc, if you install
> will paginate as a plugin you would have a copy of will_paginate in each
> app, and also your app would grow as you put plugins in them.
>
> At then i installed awesome nested set as a plugin in the vendors/plugin
> directory because i needed to hack it, is not a good idea to hack a gem as
> gems as i explained are shared by all the apps in that computer.
--
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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home