Questions tagged [ruby-on-rails-plugins]

A Rails plugin is either an extension or a modification of the core framework.

Documentation

Related tag

714 questions
5
votes
2 answers

Rails Generator: generate files based on already existing rails files

I wanted to make a generator that created files (and directories, etc...) based on already existing files in the app (for instance, the views or controllers). So if we had views set up like this -app -views - layouts -…
5
votes
6 answers

What Rails plugins would you like to see?

What behavior have you had to implement in your Rails applications that you feel could exist nicely as a plugin? What plugin functionality have you searched for in the past but couldn't find? What existing Rails plugins could be improved or…
Ian Terrell
  • 10,667
  • 11
  • 45
  • 66
5
votes
1 answer

Rails 3: Including a plugin inside an engine

I know it sounds kinda nuts, but I'm building an engine that will power and tie several applications, and since all applications will use a given plugin, I was wondering whether I could just put the plugin in the engine. So I put it inside…
Ivan
  • 97,549
  • 17
  • 50
  • 58
5
votes
2 answers

ambethia's reCAPTCHA plugin on Rails 3. Override flash message div defaults?

I have ambethia's reCAPTCHA plugin on Rails 3 working. Does anyone know how to override it's flash message markup? I'd like to reuse my own flash_error div id instead of using the plugin's flash_recaptcha_error div id:
5
votes
3 answers

How do I implement gradual engagement using Devise and Rails 3?

I'm trying to implement a delayed-signup (aka delayed authentication aka gradual engagement) website flow using Devise + Rails. By gradual engagement, I mean "Don't make the user sign in until she absolutely has to, but let her play around and…
jaime
  • 927
  • 8
  • 13
5
votes
1 answer

Acts-as-taggable-on - Trouble putting all of the pieces together

I'm having a heck of a time getting acts-as-taggable-on working. I am new to Ruby/RoR, and I feel that sometimes these plugins (although great) lack the very basic implementation instructions for people who aren't used to working in Rails. I have a…
jyoseph
  • 5,435
  • 9
  • 45
  • 64
5
votes
3 answers

How to make use of "username or Email", to login in devise?

I found a way to customize devise to use username to login instead of email address. But actually I want to use combination :- Enter username or Email: Enter your password : So how to achieve this ? Actually we…
5
votes
4 answers

i18n assets management / translation UI

i'm building a multi-lingual webapp with i18n from the ground up, and while i myself can deal with an army of yml files, the languages i speak are ( very ) limited, and would eventually like to ask for outside help. I'd like to know if anyone here…
5
votes
3 answers

Callback after delayed_job process job

I need to update a model after delayed_job processes a task on it, e.g: foo.delay.something After something is done, I need to update the foo object, what is the best way to achieve this? I was thinking in coding a callback on the…
jpemberthy
  • 7,473
  • 8
  • 44
  • 52
5
votes
3 answers

Extracting a Rails application into a plugin or engine

I have a Rails 2.3 application which I would like to extract into a plugin, or engine. The application has user authentication, and basic cms capabilities supported by ancestry plugin. I want to extract the logic for the application into a…
ktec
  • 2,453
  • 3
  • 26
  • 32
5
votes
3 answers

Problem running Thinking Sphinx with Rails 2.3.5

I just installed Sphinx (distro: archlinux) downloading the source. Then I installed "Thinking Sphinx" plugin for Rails. I followed the official page setup and this Screencast from Ryan Bates, but when I try to index the models it gives me this…
5
votes
3 answers

How to install ferret gem on Windows 7?

I was trying to run an OpenSource project which requires ferret to be installed. While installing it using gem install ferret, it's giving this error -> Building native extensions. This could take a while... ERROR: Error installing ferret: …
Rav
  • 51
  • 3
5
votes
1 answer

Deploy rails app to non-root context - restful_auth not working

I'm running a rails app on http://www.naildrivin5.com/scalatour. It works fine. When I log in to the app using restful_authentication, I get taken to the http://www.naildrivin5.com instead of the app. Weird. This seems like I've misconfigured…
davetron5000
  • 24,123
  • 11
  • 70
  • 98
5
votes
4 answers

RoR && "coming soon" page

I am looking for a simple way to implement simple "coming soon" (pre-launch) page for my project on Ruby on Rails. User should be able to leave an email in order to be notified when project is launched. Is there such a plugin\gem? Or I should do it…
Konstantin
  • 393
  • 1
  • 2
  • 10
5
votes
4 answers

jRails Alternative

do you know an alternative to jrails? It's more or less outdated (uses jQuery 1.5 - now 1.7 is the current release). Does anybody know an alternative? Thanks EDIT: I know how to build the rails helper with jquery allone - but I like the rails…
BvuRVKyUVlViVIc7
  • 11,641
  • 9
  • 59
  • 111