Best Rails Tagging Plugin/Gem
Hello, 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? ...
Hello, 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? ...
Hello, I'm trying to find the best solution: I have a usermodel and the user should be able to save the keywords (multiple contexts) which he is interested at. F.e. User-interessts: Sports: Checkbox(CB) fishing, CB Skyying, CB Tennis, CB Soccer Music: CB Metal, CB Techno, CB Folk, CB Charts, ... and so on... After the user saves...
What is the best way to develop a rails application that has special views for different mobile devices? Basically I'm looking for something like this ASP.NET MVC solution: http://www.hanselman.com/blog/MixMobileWebSitesWithASPNETMVCAndTheMobileBrowserDefinitionFile.aspx ...
Do you have a working example of a Rails3 mvc application? How will it be organized? I hope something like: -app --controller --views -plugins --myapp1 ---app ---controller ---views ---... Can app1 use a model from app2? Will "routes" file be deprecated? reference: [h ttp://yehudakatz.com/2009/07/19/rails-3-the-great-decoupling][1...
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 logs/production.log to find out what's wrong, but since the project is WARed, I can't access...
I created a config/sphinx.yml file with the line: morphology: stem_en After running rake ts:config, it doesn't seem to have changed development.sphinx.conf, and following a rebuild, searching for "dawg" doesn't match "dawgs". How can I get this to work? ...
I recently started working on a small personal project in Ruby on Rails, and have run into a few things that I couldn't find definitive answers for. If anyone here is knowledgeable enough to help, that would be greatly appreciated. All of my questions are below: What benefit is there to using the Rails Gem instead of having it in vend...
Hello, 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 helpers, so I dont want to use jquery allone (without jrails) ...
I'm thinking about writing an automatic spam protection system (maybe I will write a public gem) for rails. My concept is to include a helper method in application_controller f.e.: class ApplicationController < ActionController::Base automatic_captcha_redirect(:min_time => 30.seconds :limit => 50) ... end Then I want to include aut...
Hi Stack Overflow, I learnt rails a couple of years ago out of interest, but now I'm coming back to it because I want to try and build a simple pay-to-advertise niche job site with a few bells and whistles. Many of the rails books I learnt from gave examples of how to build a shopping cart or user authentication system, but looking arou...
I am currently developing a cms and want to reuse the functionality in other projects. ...
i'm getting a strange error on my production install when i try and create a new user using AL: ActiveRecord::StatementInvalid: Mysql::Error: Column 'crypted_password' cannot be null: INSERT INTO users especially strange b/c it works as expected on my local box. RUnning Rails 2.3.2 and ruby 1.8.7 on both boxes. user.rb: class User <...
Is there any rails plugin for Subscribe to comments one like the Wordpress has?? i.e. On the comment form, a checkbox to check whether the commenter would opt-in whether to get email notification when a new comment is added? ...
I don't want to store photos on the server. I'd prefer to use picasa or flickr, etc. I'm wondering what solutions are popular and work well. I've found: http://code.google.com/p/picasaonrails/ http://code.google.com/p/loupe/ Has anyone tried these? Any alternative suggestions? Thanks all. ...
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 effect of "we went through the standard server stuff, ran your first before_filter on...
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, pixelpipe, etc. ...
#!/opt/ruby_ee/bin require 'rubygems' require 'twitter' require 'net/http' require 'uri' require 'httparty' module FbTweet def FbTweet.tweet(url) bitly_url = Bitly.shorten(url) httpauth = Twitter::HTTPAuth.new('username', 'password') base = Twitter::Base.new(httpauth) base.update("Testing to port this into rails plug...
Hello, I need some help with virtual attributes. This code works fine but how do I use it inside a plugin. The goal is to add this methods to all classes that uses the plugin. class Article < ActiveRecord::Base attr_accessor :title, :permalink def title if @title @title elsif self.page self.page.title else...
Rather than an acts_as_foo syntax**, I'm toying with the idea of extending ActiveSensor::Base < ActiveRecord::Base and then extending this base class with all the errors/validations/class methods/whizbangs. Proposed: #active_sensor.rb gem module ActiveSensor include ActiveRecord autoload :VERSION, 'active_sensor/version' autoloa...
Hello, Hoping some learned Rails developers here can recommend an existing Ruby on Rails plugin or gem that allows you to continue using the Simple I18n backend whilst allowing you to optionally specify translations in the database. Here's why: I have one Rails app used for many websites. For the example I'll just use 2 websites: We...