ruby-on-rails-plugins

Most useful Rails plugins, Ruby libraries and Ruby gems? [closed]

╄→гoц情女王★ 提交于 2019-11-28 02:47:08
I have seen many sites which provide the whole list of Rails plugins , Ruby libraries and Ruby gems , but we hardly use few of them and some may not suit our requirement and we spend a whole lot of time searching for useful Plugins which suits our requirement. I have created this poll, people can post useful libraries, gems and plugins which they have come across. It would be great help for newbies like me and to the entire Ruby on Rails community . Note: to keep this poll as useful as possible, please remember: Post only one library, gem, or plugin per answer Mention the name of the library,

Upload Video in a rails application

99封情书 提交于 2019-11-27 03:41:53
问题 I need a plugin for "Upload Videos" in a rails application. Can anyone give me an idea on how to do it? 回答1: Try paperclip gem, very popular for this purpose 回答2: You can also use carrierwave gem Add in your Gemfile: gem 'carrierwave' Run bundle install Create an uploader for uploading video using carrierwave generator. rails g uploader video It creates file video_uploader.rb in uploaders directory Create a migration in model where you want attach the video or image, be careful with the

Differences between railties and engines in Ruby On Rails 3

微笑、不失礼 提交于 2019-11-27 00:54:14
问题 I read a few documents on these arguments, but I did not understand clearly what they are, what are the differences between them and if one of them fits my needs. I need to write a piece of application which can be plugged in other application and I want to include it in other applications as a gem. Essentially I need a couple of models, one controller and no views, plus some initialization, support for configuration parameters coming from the hosting app and a generator. Am I on the right

Most useful Rails plugins, Ruby libraries and Ruby gems? [closed]

自作多情 提交于 2019-11-26 23:49:01
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 7 years ago . I have seen many sites which provide the whole list of Rails plugins , Ruby libraries and Ruby gems , but we hardly use few of them

Rails 3.1: Engine vs. Mountable App

淺唱寂寞╮ 提交于 2019-11-26 19:14:52
Can someone help me understand the differences between a Rails Engine and a Mountable app? In Rails 3.1, you can create either one with the "rails new plugin _ __ " command. rails plugin new forum --full # Engine rails plugin new forum --mountable # Mountable App When would you want to use one versus the other? I know you can package an Engine as a gem, for one. Is that not the case for Mountable Apps? What other differences are there? astjohn I have noticed the following: Full Engine With a full engine, the parent application inherits the routes from the engine. It is not necessary to specify

Rails 2.3-style plugins and deprecation warnings running task in Heroku

梦想的初衷 提交于 2019-11-26 12:50:33
I'm upgrading to Rails 3.2, and running rake db:migrate gives me several errors of the form: DEPRECATION WARNING: You have Rails 2.3-style plugins in vendor/plugins! Support for these plugins will be removed in Rails 4.0. Move them out and bundle them in your Gemfile, or fold them in to your app as lib/myplugin/* and config/initializers/myplugin.rb. See the release notes for more on this: http://weblog.rubyonrails.org/2012/01/04/rails-3-2-0-rc2-has-been-released . (called from at /app/Rakefile:7) What's perplexing is that my vendor/plugins directory is empty -- is there another plugins

Rails 3.1: Engine vs. Mountable App

别来无恙 提交于 2019-11-26 08:57:36
问题 Can someone help me understand the differences between a Rails Engine and a Mountable app? In Rails 3.1, you can create either one with the \"rails new plugin _ __ \" command. rails plugin new forum --full # Engine rails plugin new forum --mountable # Mountable App When would you want to use one versus the other? I know you can package an Engine as a gem, for one. Is that not the case for Mountable Apps? What other differences are there? 回答1: I have noticed the following: Full Engine With a

Rails 2.3-style plugins and deprecation warnings running task in Heroku

 ̄綄美尐妖づ 提交于 2019-11-26 03:06:31
问题 I\'m upgrading to Rails 3.2, and running rake db:migrate gives me several errors of the form: DEPRECATION WARNING: You have Rails 2.3-style plugins in vendor/plugins! Support for these plugins will be removed in Rails 4.0. Move them out and bundle them in your Gemfile, or fold them in to your app as lib/myplugin/* and config/initializers/myplugin.rb. See the release notes for more on this: http://weblog.rubyonrails.org/2012/01/04/rails-3-2-0-rc2-has-been-released. (called from at /app