A Rails plugin is either an extension or a modification of the core framework.
Questions tagged [ruby-on-rails-plugins]
714 questions
7
votes
2 answers
Generating models and migrations for an engine
So I'm working on a new project that seems like a great choice for using the new Engine functionality. It's as engines say, its own little app, w/ its own views and controllers and models. Here's where I'm coming up short.
I create my test…

kwbock
- 647
- 5
- 13
6
votes
2 answers
Make Asset Pipeline work with Chrome DevTools Autosave
Chrome DevTools Autosave doesn’t work with Rails Asset Pipeline. The culprit of the problem is in the assets URLs — I cannot decipher the actual file path by its URL. For example, /assets/application.css may refer to either …

NVI
- 14,907
- 16
- 65
- 104
6
votes
3 answers
Ruby on Rails 3 - Public live chat
I want to create a public live chat application using rails 3.
I found some example on rails 2. Any one can tell you a good example / tutorial to develop a live chat application using rails 3.

Sayuj
- 7,464
- 13
- 59
- 76
6
votes
2 answers
Units of measurement conversion gem
for my Rails project, I'm looking for a library, that can convert mass, volume and other units.
I need to convert kilogramms to gramms, liters to tablespoons etc.
I think, it should look like this:
class Product < ActiveRecord:Base
…

AntonAL
- 16,692
- 21
- 80
- 114
6
votes
2 answers
wicked_pdf and wkhtmltopdf page size issue
I used these settings
WickedPdf::config = {
:layout => 'application.pdf.html', # use 'pdf.html' for a pfd.html.erb file
:wkhtmltopdf => '/bin/wkhtmltopdf', # path to binary
:orientation => 'Portrait', # default ,…

Nazar Hussain
- 5,102
- 6
- 40
- 67
6
votes
3 answers
Upload Video in a rails application
I need a plugin for "Upload Videos" in a rails application.
Can anyone give me an idea on how to do it?

maxiperez
- 1,470
- 2
- 20
- 40
6
votes
3 answers
What's a Rails plugin, or Ruby gem, to automatically fix English grammar?
Facebook just re-launched Comments, with a automatic grammar fixing feature.
What does the grammar filter do?
Adds punctuation (e.g. periods at the end of sentences)
Trims extra whitespace Auto cases words (e.g. capitalize the first word of a
…

Colin Plamondon
- 63
- 4
6
votes
2 answers
Rails 3: Creating app with internal plugin system
I want to create an application in Rails with plugin system. Potential user should be able to upload (or better install from repository) a plugin and install it enabling my application to do something more. This should be done WITHOUT FTP/SSH/any…

Migol
- 8,161
- 8
- 47
- 69
6
votes
2 answers
OmniAuth + Pulling Tweets, FB Places, etc
I'm using OmniAuth + Devise to allow users to register using Facebook/Twitter/Gowalla/etc attached to normal user accounts. Now when a user logs in using any of these, or their account, all their social networks are attached in a authentications…

Phil Sturgeon
- 30,637
- 12
- 78
- 117
6
votes
3 answers
My rails helper is rendering '<' as '<'! How to make it render correctly?
I'm working on a simple plugin here, and this far it is working.
Except my helper.
Its a very simple helper, it just needs to echo a for later javascript parsing.
The problem is, its not rendering the html correcty, its replacing…

Tiago
- 2,966
- 4
- 33
- 41
6
votes
4 answers
gemspec error on creating new rails engine
I am trying to create rails engine using the below link:
http://guides.rubyonrails.org/engines.html
I have received below errors
You have one or more invalid gemspecs that need to be fixed.
The gemspec at…

shariqayaz
- 63
- 1
- 8
6
votes
1 answer
gems/plugins for affiliate system?
Do you remember any gems/plugins out there to support an affiliate (referral, partner) like system?
e.g the 37signals affiliate program
Any help/links would be appreciated.

jpemberthy
- 7,473
- 8
- 44
- 52
6
votes
2 answers
Add initialization step to Rails 3 boot process only in server mode
According to http://edgeapi.rubyonrails.org/classes/Rails/Railtie.html, if I write a Rails 3 plugin and I want to hook into the initialization process, I write
class MyRailtie < Rails::Railtie
initializer…

Trevor Burnham
- 76,828
- 33
- 160
- 196
6
votes
3 answers
How can I export a rails model to json schema?
I am looking to optimize how we build forms for some of our models and ideally I would like to build them from json-schema.
Is there a gem or the like which would allow me to export a model definition to json-schema?
Bonus: With validations.…

unomi
- 2,642
- 18
- 19
6
votes
2 answers
Best way to implement Categories and Subcategories with flexible depth in Rails?
I have a Category and Subcategory models in my project. I would like to have many sub-levels in a flexible way. I thought making a self referential "parent" foreign key but I'm not quite sure how to do it. Any ideas? Thanks!
Cat1
Sub1
…

Ben Orozco
- 4,361
- 4
- 33
- 49