Hi all,

I'm trying to use a js image gallery (galleria) and everything works
fine when I have
config.assets.debug = true
but when I set it to false the gallery does not load but no js errors
I checked the js and css files in the second case and everything looks
ok to me...

I have created a sample project that illustrates the problem in
the instructions are in the README and pasted here.

Any feedback would be appreciated.


git clone git://github.com/stream7/sample.git
rvm use 1.9.2@sample --create
bundle install
rake db:create
rake db:setup # creates 4 images

visit http://localhost:3000/images
and you should see the javascript image gallery (galleria) working

set config.assets.debug = false
restart your server
visit http://localhost:3000/images
and you should see that the gallery does not load correctly but no
javascript errors are recorded in the console

so, what am I doing wrong here?

You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouprubyonrails-talk @
postedOct 21, '11 at 8:54a
activeOct 21, '11 at 8:54a

1 user in discussion

Niko: 1 post



site design / logo © 2021 Grokbase