A Rails plugin is either an extension or a modification of the core framework.
Questions tagged [ruby-on-rails-plugins]
714 questions
5
votes
2 answers
Where are the logs for a Rails app packed using Warbler?
I'm using Warbler to pack a Rails application into a WAR. I've deployed it to a JBoss server and it seems to works.
However, I'm getting the classic 500 error on Rails saying "We're sorry, but something went wrong.".
Usually, I'd take a look at…

Andrés Mejía
- 559
- 6
- 15
5
votes
5 answers
JQuery AJAX exception only in Firefox: "Node cannot be inserted at the specified point in the hierarchy" (HierarchyRequestError)
Very strange problem: I have a 2-part dropdown, where selecting a State will then add a second dropdown giving you a list of MSA Areas in that State.
This is done using a JQuery Get request to a controller that returns the list of Areas in a Select…

Dave Guarino
- 509
- 5
- 14
5
votes
2 answers
Anyone knows good private message gem for rails 3.2?
I spent day and day to figure out how to make good messaging system between registered member via devise.
But in all cases, those gems are out of date and they don't support rails3.
If you guys are trying to make the system, which include these…

MKK
- 2,713
- 5
- 31
- 51
5
votes
5 answers
What are alternatives to find_by_sql for computationaly-heavy queries?
Our company loves reports that calculate obscure metrics--metrics that cannot be calculated with ActiveRecord's finders (except find_by_sql) and where ruport's ruby-based capabilities are just too slow.
Is there a plugin or gem or db adapter out…

btelles
- 5,390
- 7
- 46
- 78
4
votes
2 answers
Public URL with Fog and Amazon S3
Versions of all RubyGems. I am using Ruby on Rails 3.1.3, Ruby 1.9.2, CarrierWave 0.5.8, and Fog 1.1.2.
I am using the CarrierWave RubyGem too for image uploading and the Fog RubyGem for Amazon S3 file upload.
In my CarrierWave initializer file I…

user1286523
- 39
- 1
- 4
4
votes
1 answer
rails 3.1, Installing capybara-webkit, Failed to build gem native extension, what to do?
I am trying to install capybara-webkit (0.8.0), but I get the error below, can any body help, I am on ubuntu 11.10.
Installing capybara-webkit (0.8.0) with native extensions
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native
…

simo
- 23,342
- 38
- 121
- 218
4
votes
2 answers
How to extend Rails Engine's controllers properly?
I am developing Rails plugin (it is 3.1 Engine) called Carrier (https://github.com/stanislaw/carrier).
In one of my rails app I want to extend Carrier's controller with some new methods - fx. add new action #comment_form to…

Stanislav Pankevich
- 11,044
- 8
- 69
- 129
4
votes
1 answer
Are Process::detach and Process::wait mutually exclusive (Ruby)?
I'm refactoring a bit of concurrent processing in my Ruby on Rails server (running on Linux) to use Spawn. Spawn::fork_it documentation claims that forked processes can still be waited on after being detached:…

Ben Simmons
- 1,858
- 3
- 21
- 31
4
votes
2 answers
Rails 3 - How can I get rid of "test.host"?
I recently installed a plugin called Gretel to take care of breadcrumbs for me. It seems to be working great, except that it appears to be breaking some of my specs with the following error:
Failure/Error: response.should redirect_to @course
…

sapphiremirage
- 475
- 2
- 17
4
votes
1 answer
Order Solr/sunspot search results by geo location
I'd like to be able to order my search results by score and location. Each user in the DB has lat/lot and I am currently indexing:
location :coordinates do
Sunspot::Util::Coordinates.new latlon[0], latlon[1]
end
The model which I would…

brupm
- 1,183
- 1
- 11
- 25
4
votes
2 answers
Role based security mechanism for attributes in Rails
I'm looking for a plugin that provides a role based authorization mechanism for securing read/write access to attributes. I'm picturing something along the lines of declarative_authorization for white listing attributes of model objects. I've…

MrEvil
- 7,785
- 7
- 36
- 36
4
votes
4 answers
Restful API in rails 3
How should I go about creating a restful API in rails 3 app? Also I would like to know if there is a good way to implement restful authentication

ed1t
- 8,719
- 17
- 67
- 110
4
votes
2 answers
What's the best state machine gem to mongoid?
What's the best state machine gem to use with mongoid?

Lucas Renan
- 3,787
- 3
- 28
- 35
4
votes
1 answer
Does acts-as-taggable-on work on heroku?
I have a question: does the acts-as-taggable-on gem work on Heroku?
I'been trying but it doesn't seem to work. In my development machine works okay. I'm wondering if it's maybe because Heroku uses PostgreSQL and my local env SQLite and for some…

Martin
- 11,216
- 23
- 83
- 140
4
votes
1 answer
Ruby on Rails: Fixtures without Database
I'm working on a 2-phase RoR project where in the first phase we are going to have alot of static data and in the second phase this will be dynamic. I'm fairly new to RoR and thought that for the first phase rather than have hard-coded arrays I…

Austin
- 41
- 1