Tagged Questions
-1
votes
0answers
20 views
Optimising JS loaded in Ruby on Rails application [closed]
I included in my RoR application some js classes from Twitter BootStrap.
My application.js includes:
...
1
vote
1answer
54 views
Quickly fixing unmaintainable SCSS code in Rails
I've been working on a website and Rails and am fairly proud of my HTML semantics. However, my CSS code has become enormous in size, which is largely unnecessary for such a small website.
How could I ...
3
votes
2answers
256 views
Improving Rails feed parser
This is my feed parser method using feedzirra. It works, but I feel dirty because I can't figure out how to improve this code. Any suggestions?
...
1
vote
1answer
292 views
Optimizing Rails 3 query code
I am working on a Rails 3 application, and am having some trouble with my user/edit view. In this application, Users can subscribe to Categories. Users and Categories have a has_and_belongs_to_many ...
2
votes
2answers
108 views
Small: Setting locale
I'm new to Rails/Ruby and I would like to get feedback on my little ApplicationController which is able to detect the visitor's language. I'm especially interested ...