rails-3.1 Questions
7
Solved
I have deployed a rails 3.1 app to Heroku Cedar stack, and am trying to perform a:
heroku run rake db:migrate
it returns:
Running console attached to terminal...
Error connecting to process
...
Tremolite asked 25/9, 2011 at 16:17
2
Solved
In CSS files, you can get the proper name of an image asset (with the fingerprint) by using:
background-image: url(image-url("rails.png"))
but how do you do the same from a JavaScript file?
Vaientina asked 11/9, 2011 at 20:30
5
I have created a simple Rails Engine to provide some general functionality(photo gallery) to an application. I want to be able to override the standard _header partial so that the menu for the gall...
Kenwee asked 10/2, 2012 at 17:35
5
Solved
I try to upgrade my application from rails 3.1.3 to rails 3.2.1 and I have a problem with assets.
I have this kind of error :
ActionController::RoutingError (No route matches [GET] "/assets/logo...
Ethiopia asked 5/2, 2012 at 17:54
1
Solved
I want to apply scope limiter in my custom validation
I have this Product Model
which has make,model,serial_number, vin as a attributes
Now I have a custom validation to check against vin if vi...
Rabbinism asked 18/4, 2012 at 5:3
1
Solved
I am using a link_to tag on my posts/index view and want to link it to my posts/show/id view with an anchor that makes it scroll down to the comments form. For some reason I can't get the anchor to...
Millar asked 12/2, 2012 at 18:50
1
Solved
Currently I am using backbone-rails in my Rails app. I would like to know how to use client side Haml/Jade backbone.js with that gem and the rails asset pipline.
Reference asked 12/12, 2011 at 5:52
1
I am using Rails 3.1 and Capistrano, I get
No such file or directory
errors for /public/images, /public/stylesheets, and public/javascripts
errors. Searching the Internet, I found a number of ...
Annadiana asked 14/10, 2011 at 23:39
1
© 2022 - 2024 — McMap. All rights reserved.