A Rails plugin is either an extension or a modification of the core framework.
Questions tagged [ruby-on-rails-plugins]
714 questions
0
votes
1 answer
How to install database schema from a Rails 3 plugin in another plugin
I'm writing a Rails 3 plugin that uses another Rails 3 plugin that I recently wrote. Let's call them July and August. So in August's gemspec, I add the line:
s.add_dependency "july", "~> 0.0.1"
and I run bundle install. Then I create some models…

Isaac Betesh
- 2,935
- 28
- 37
0
votes
1 answer
What Ruby on Rails plugin/gem would you recommend to implement widely-used blog publishing API (Atom, MetaWeblog, etc) in a custom blog
I have a custom-made blog running off RoR and I would like to implement publishing API. I would prefer to use a widely-used API - e.g. Atom, MetaWeblog, etc - so that I can post to my blog from almost any other web service - flickr, youtube,…

Georgi
- 734
- 6
- 12
0
votes
2 answers
rails plugin isn't installing
I am trying to install restful_authentication plugin use following git...
git://github.com/Satish/restful-authentication.git
and i am trying to install using following command...
c:\Users\Admin\Downloads\rails_apps\students>ruby script/plugin…

seoppc
- 2,766
- 7
- 44
- 76
0
votes
1 answer
upgrade from 3.2.2 to 3.2.8 breaks jquery-tooltip
I just upgraded my app from 3.2.2 to 3.2.8.
I use jquery-tooltip.
Once I upgraded, the tooltip changed behavior. Prior to the upgrade, the tooltip would popup positioned relative the element that contains a title, invoked…

RadBrad
- 7,234
- 2
- 24
- 17
0
votes
1 answer
Rails: Trying to separate a model into an engine gem
I'm new to here an to Rails so excuse any dumbness on my part.
I'm trying to do something really simple and can't seen to find a guide that's up to date and properly demonstrates how to do this.
I've written the app described in the official ruby on…

Shrewd
- 731
- 5
- 14
0
votes
1 answer
Dynamically/at runtime set jquery variables from Rails view?
I'm looking at the Sharre social mediq jquery plugin http://sharrre.com/# Below is an example of how to use it.
simple_jquery_social.js example:
$('#sharrre').sharrre({
share: {
googlePlus: true,
facebook: true,
twitter: true
},
url:…
user1096557
0
votes
1 answer
Rails 3 plugin - how to access app's model file in require statement?
I am writing a plugin in Rails 3.2.6 - my plugin is supposed to modify my User model (located in app/models/user.rb) - however, I cannot find the proper way to reference that file from the plugin in a require statement.
I tried require 'user',…

Jim
- 2,300
- 1
- 19
- 43
0
votes
1 answer
How to Pass Variable to PDF in Rails
This questions is somewhat related to this question Prawn + Prawnto Issue. I've noticed that if something is really hard to do in rails, you're probably doing it wrong.
I have prawnto and prawn installed, and if I go to…

Noah Clark
- 8,101
- 14
- 74
- 116
0
votes
1 answer
How to uninstall Ruby on Rails plugin with migrations easily?
I have a Rails application with numbered migrations 001_..., 002_..., etc.
I have several plugins A,B,C with their own migrations 001_.., 002_... etc.
How to remove the particular plugin B and clean the schema (making B plugin migrations down)

msorc
- 907
- 1
- 7
- 20
0
votes
2 answers
RoR: Use Feedzirra to pull different feeds and display as one
I can successfully pull different feeds using the Feedzirra gem and get feed updates. However, each feed that I'd like to pull has different content (ie: Github Public Feed, last.fm recently played, etc.).
What is the best way to go about combining…

w2bro
- 1,016
- 1
- 11
- 36
0
votes
1 answer
pdf is not generated in production
right now i'm generate pdf using wkhtmltopdf gem.In development it is working fine.
if i'm run my project in production i got this error.already i'm install these two gems "wkhtmltopdf" & "wkhtmltopdf_binary".please help me.
RuntimeError (Failed to…

chandrashekar
- 609
- 2
- 7
- 16
0
votes
1 answer
devise error on rails 3
Im getting the following error message:
undefined method `user_registration_path' for #<#:0x10f5f6d50>
Extracted source (around line #3):
1:
Sign up
2: 3: <%= form_for(resource_name, resource, :url =>…
Poloik007
- 95
- 1
- 9
0
votes
1 answer
how to generate pdf file using prawn in rails 3
Right now i am using rails 3.0.0 version.i already installed prawn gem.please tell me.how to generate pdf file in rails code and how to save that pdf file inside the public folder.

chandrashekar
- 609
- 2
- 7
- 16
0
votes
2 answers
Rails ActionMailer with the restful authentication plugin won't deliver mail
I've been working on a rails app that uses the restful authentication plugin. It requires a new user to activate their account through email verification. This has been working up until a few hours ago, when the application suddenly started to…

Anon
- 5,103
- 11
- 45
- 58
0
votes
1 answer
Rail Devise creat own sign_in and sign_out actions
I have the following problems with dives in rails.
All requests and response are JSON
After I sign in /partners/sign_in I get the following response:
HTTP/1.1 200 OK
{"success":true}
And after i signed out /partners/sign_out I get thie…

Lailo
- 641
- 1
- 8
- 24