Top "Ruby-on-rails-3.1" questions

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

Rails: How to add link_to with target blank

I am new to rails 3, I would like to add (:target => "_blank") to link_to helper below link_to "…

ruby-on-rails-3.1
Error while loading shared libraries: 'libpcre.so.0: cannot open shared object file: No such file or directory'

I just installed Passenger 3.0.11 and nginx and got this error: Starting nginx: /opt/nginx/sbin/nginx: error while loading shared …

nginx ruby-on-rails-3.1 passenger
"Uninitialized constant" error when including a module

I am trying to reference an association extension but it errors with: NameError (uninitialized constant User::ListerExtension): app/models/user.…

ruby-on-rails ruby ruby-on-rails-3.1
build method on ruby on rails

New to rails and I'm following the Depot project found in the Agile web development with rails 3.1. Everything was fine …

ruby-on-rails ruby-on-rails-3.1 associations
Find number of months between two Dates in Ruby on Rails

I have two Ruby on Rails DateTime objects. How to find the number of months between them? (Keeping in mind …

ruby-on-rails ruby date ruby-on-rails-3.1
Using Rails 3.1 assets pipeline to conditionally use certain css

I’m in the process of building my first solo Rails app using Rails 3.1.rc5. My problem is that I …

css ruby-on-rails-3.1 asset-pipeline sprockets
Rails how to sum columns?

Example I have: @test = Pakke.find([[4], [5]]) In my Pakke table I have a column named prismd How do I sum …

ruby-on-rails ruby ruby-on-rails-3 ruby-on-rails-3.1
Rails 3.1 and jquery-ui assets

This was asked in another question, but none of the solutions appear to work for me in 3.1rc1. I'm trying …

jquery-ui ruby-on-rails-3.1 asset-pipeline assets
Add a new asset path in Rails 3.1

Does anyone know how to add another folder to the asset pipeline in Rails 3.1? I'd like to serve app/assets/…

ruby-on-rails path ruby-on-rails-3.1 asset-pipeline
How do I access Apache error logs via the Terminal in Mac OS X 10.6.8?

I am having trouble with serving up my rails app on a remote computer after upgrading from Rails 3.0 to 3.1. So …

macos ruby-on-rails-3.1 apache2