Top "Ruby-on-rails-3.2" questions

Ruby on Rails version 3.2.0 released at January 20, 2012.

Rails: How to set a background image in rails from css?

I am using rails 3.2 and i have to set a background for one of the page and i have tried …

css ruby-on-rails ruby-on-rails-3 ruby-on-rails-3.2 background-image
Uninitialized constant "Controller Name"

I'm having an error with my routes/resources and controllers. I have the following in the routes.rb: # routes.rb …

ruby-on-rails ruby ruby-on-rails-3.2
How to make a check_box checked in rails?

I made checkboxes using the following rails form helper: <%= check_box("tag", tag.id) %> However, I need to …

ruby-on-rails ruby-on-rails-3 checkbox ruby-on-rails-3.2 form-helpers
How to require a ruby file from another directory

I am trying to require a rake file that I have created inside another file I have. These two files …

ruby-on-rails ruby ruby-on-rails-3 ruby-on-rails-3.2 require
Where to put Ruby helper methods for Rails controllers?

I have some Ruby methods certain (or all) controllers need. I tried putting them in /app/helpers/application_helper.rb. …

ruby-on-rails ruby ruby-on-rails-3 ruby-on-rails-3.2 view-helpers
How to create a Ruby DateTime from existing Time.zone for Rails?

I have users entering in dates in a Ruby on Rails website. I parse the dates into a DateTime object …

ruby-on-rails ruby datetime ruby-on-rails-3.2 timezone
How to initialize an ActiveRecord with values in Rails?

In plain java I'd use: public User(String name, String email) { this.name = name; this.email = f(email); this.admin = …

ruby-on-rails activerecord ruby-on-rails-3.2
How to use dependent: :destroy in rails?

I have 2 models as describes below. class EmpGroup < ActiveRecord::Base belongs_to :user has_many :emp_group_members, dependent: :…

ruby-on-rails ruby ruby-on-rails-3 ruby-on-rails-4 ruby-on-rails-3.2
ERROR: 'rake/rdoctask' is obsolete and no longer supported. Use 'rdoc/task' (available in RDoc 2.4.2+) instead

Seems the last post for this problem was closed for one reason or another so I'll try my luck... I'm …

ruby-on-rails ruby-on-rails-3.2