Asset pipeline question

Hi,

My application images are loading fine without appending the string
‘/assets’.
For ex (image_tag “icons/16x16/error.png”, :title => “No contact
email”
)
is working fine
also this in css files background:url(colorbox/controls.png) is
working
fine.

will it give any problem in the production?

Normally no problem will occur in production.

But you have to run

rake assets:clean
rake assets:precompile

before put your application in production.

Anyway, you can try to run your application in production locally using
:

*rails s -e production *

and go to http://localhost:3000 to see what’s going to happen.

Have Fun with Rails :smiley:

See ya !!!

Le jeudi 12 juillet 2012 12:54:57 UTC+2, venkata reddy a crit :

I have just joined this group but find it awsome because here the
peoples are ready to help.

keep it up friends.

On 07/12/2012 04:11 PM, lionel Lioninho wrote:

Hi,


You received this message because you are subscribed to the Google
Groups “Ruby on Rails: Talk” group.
To view this discussion on the web visit
https://groups.google.com/d/msg/rubyonrails-talk/-/FfajWr46B3wJ.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en-US.


Raza H.
mobile +92 343 6614622
NextBridge.com.pk