Top "Ruby-on-rails-3.1" questions

Ruby on Rails version 3.1.0 is a specific version of Ruby on Rails.

simple_forms custom data attribute

I would like to have an additional data attribute on an input tag generated by simple_form. The following does …

ruby-on-rails ruby-on-rails-3.1 simple-form
rails 3.1 asset pipeline css caching in development

I'm a bit confused as it seems like the application.css is including itself twice, once when it lists the …

ruby-on-rails-3 ruby-on-rails-3.1 asset-pipeline sass
Using @font-face with Rails 3.1 app?

I'm having trouble using the following @font-face declaration to work with my Rails 3.1 app. I put the fonts in the …

css ruby-on-rails-3.1 font-face sass
ruby on rails add a column after a specific column name

I tried to add a column to a table after a specific column in the table. Here is what I …

ruby-on-rails ruby ruby-on-rails-3 ruby-on-rails-3.1 ruby-on-rails-3.2
How can I reference images in the asset pipeline from a model?

I have a model with a method to return a url to a person's avatar that looks like this: def …

ruby-on-rails ruby-on-rails-3 ruby-on-rails-3.1 asset-pipeline
Best way to highlight current page in Rails 3? -- apply a css class to links conditionally

For the following code: <%= link_to "Some Page", some_path %> How do I apply a css class current …

ruby-on-rails ruby ruby-on-rails-3 ruby-on-rails-3.1
Uncompile Development Asset Pipeline

I was compiling my asset pipeline for my production environment and it did for all my environments. How can I …

ruby-on-rails ruby ruby-on-rails-3.1 asset-pipeline
Using the Bubble sort method for an array in Ruby

I'm trying to implement the Bubble sort method into an easy coding problem for Ruby, but I'm having some trouble. …

ruby-on-rails ruby ruby-on-rails-3 ruby-on-rails-3.1 bubble-sort
Where to override current_user helper method of devise gem

How can i override current_user of devise gem. Actually I need to add web services for mobile-app. Currently devise …

ruby-on-rails-3 authentication ruby-on-rails-3.1 rubygems devise
ERROR NoMethodError: undefined method `debug_rjs=' for ActionView::Base:Class

This project was built with rails 3.0.9. Now i updated the gems and Gemfile => source 'http://rubygems.org' gem 'rails', …

ruby-on-rails ruby ruby-on-rails-3.1