I have to make edit/create forms for several tables on one page (settings). Therefore I have created SettingsController.
I 开发者_StackOverflow社区can\'t find information how to make url address like www.example.com/categories/id-category_name
I can\'t get the Rails 3.1 asset pipeline precompilation to work in production mode. It always fails on images referenced within SCSS with an error like:
I\'m upgrading a project to Rails 3.1 and Jruby 1.6.4 from rails 2.6 I followed the Rails Handbook by Jeremy.
I have finally started upgrading my Rails apps from 2.3.8 to 3.1.0. I was watching RailsCasts (http://railscasts.com/episodes/202-active-record-queries-in-rails-3) about Active Record queries.
Twitter Bootstrap is a cool stylesheet toolkit by Twitter based on LESS. I don\'t use LESS however I am using the twitter-bootstrap-rails gem and it 开发者_如何学Pythonseems to be all working fine. Ho
So I\'m doing some basic validation and trying to add an arbitrary key to the flash hash (you can do that right?)
Why does this code 500.times { Time.now.in_time_zone(\'Helsinki\') } take several seconds with Rails 3.1 while it takes only a split second in Rails 2.3 (both with Ruby 1.9.2-p290)?
I am converting a number of less files into a r开发者_运维问答ails app, and running into problems with the processing of variables and other less features.
I am trying to instal therubyracer/ therubyracer-heroku to my app, cause it doesn\'t work in heroku server cause I don\'t have javascript runtime enviroment.