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
30
votes
5 answers

How to detect browser type and its version

how can i detect browser type and its version in Rails. I want to put check on the version of specific browser and if its not required browser version than ask user to upgrade it.. i use below specified command but as its not following a standard…
Syed Raza
  • 1,070
  • 3
  • 14
  • 36
28
votes
5 answers

Best Rails Tagging Plugin/Gem

what plugin or gem do you recommened for tagging? There are many of them, acts_as_taggable, acts_as_taggable_on_steroids, acts_as_taggable_on,... What do you say?
BvuRVKyUVlViVIc7
  • 11,641
  • 9
  • 59
  • 111
26
votes
4 answers

How to make model IDs in Rails unpredictable and random

I'm writing a rails app that, by its nature, CANNOT require users to register, and thus cannot use authentication as the usual means to protect records. (I know, I know...) User information here is limited to email addresses. So I do need a way to…
greenfield
24
votes
5 answers

Paperclip image uploads in Rails - Paperclip::CommandNotFoundError

I'm using paperclip to handle image uploads to rails. it worked fine on my dev OSX machine, but now on my web server I get this error: [paperclip] /Users/marky/bin/identify '-format' '%wx%h' '/tmp/stream,16451,2.JPG[0]' 2>/dev/null [paperclip] An…
Marky
  • 1,294
  • 1
  • 18
  • 40
21
votes
1 answer

How do I convert an existing Rails 3 Application into an Engine?

How can I convert the Forum application I've been developing into a Rails Engine, so that it may be embedded inside other applications? What should I add, keep, or remove? Should I offer a way to integrate the models? How do I set up routes and user…
Matheus Moreira
  • 17,106
  • 3
  • 68
  • 107
20
votes
4 answers

Anyone got SEO tips for Ruby on Rails

Can anyone recommend some RoR plugins and/or general sage that will help me with SEO?
Gargamel
  • 201
  • 2
  • 4
20
votes
2 answers

Dependency included in gemspec not added to asset pipeline in rails engine

I'm writing a rails engine that has some dependencies. I've specified the dependencies in the gemspec and the engine is finding them when I run bundle install (i.e. Gemfile.lock looks correct). When I want to use the plugin in a Ruby file, I can…
18
votes
3 answers

Good documentation for writing Redmine plugins

I am currently developing some plugins for Redmine, and I must say, I'm a bit disappointed with the lack of documentation available on this subject. Normally, If I am looking for explanations on classes/methods, I need to spend a consistent amount…
18
votes
4 answers

Building a ruby gem for Rails applications

As a Rails developer I feel a bit stupid asking this question but hopefully I will learn something new and someone can put me out of my misery! In my rails applications I use (other peoples) gems all the time, I also use plugins from the community…
tsdbrown
  • 5,038
  • 3
  • 36
  • 40
17
votes
6 answers

How can I force my plugin to reload with each request?

As I understand it, plugins are not reloaded in Rails with each request in development mode. Which makes sense, as generally you add plugins to your app and it's the app you're developing. But if you are developing a plugin, you have to restart the…
17
votes
3 answers

Creating a Ruby on Rails 3 gem with a generator (incl. namespace)

I am trying to create a gem with a generator for Rails 3 (beta 4). I followed these instructions, and but I couldn't get it running. The problem is that when I am defining a module in the generator file, the generator gets listed with 'rails…
hjuskewycz
  • 1,437
  • 1
  • 14
  • 20
17
votes
6 answers

A copy of ApplicationController has been removed from the module tree but is still active

Whenever two concurrent HTTP requests go to my Rails app, the second always returns the following error: A copy of ApplicationController has been removed from the module tree but is still active! From there it gives an unhelpful stack trace to the…
Matchu
  • 83,922
  • 18
  • 153
  • 160
16
votes
6 answers

Static web site generation

I need an easy way to generate static web pages so that I can serve them up with Apache or Nginx. Currently I am using SproutCore's build tool (Abbot) to generate static pages but that is a little bit cumbersome as it is designed for building…
16
votes
5 answers

"Like", "Dislike" plugin for rails

Is there any "like" , "dislike" plugin for rails... I went through rating plugins... but all of them were 5 star rating plugins...
Madhusudhan
  • 8,374
  • 12
  • 47
  • 68
16
votes
2 answers

Warning while installing the rails plugin

I am getting the following warning while installing any plugin in my rails application. /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.3.5/lib/active_support/core_ext/kernel/agnostics.rb:7: warning: Insecure world writable dir /usr/local/bin in…
felix
  • 11,304
  • 13
  • 69
  • 95
1
2
3
47 48