Issue using Chosen with Jammit for Ruby on Rails
I’m mainly writing this to help others that accidentally might run into this issue (since it took me a few hours to actually resolve this issue…).
If you happen to use the awesome Chosen-plugin for jQuery in combination with the asset packaging gem Jammit for Ruby on Rails – be sure to not include the minified version of Chosen in your config/assets.yml-file.
It took me a good amount of time to actually pin point what was going on since a lot of my javascript just stopped working (ajax forms not firing, other jQuery-plugins not loading etc). So, just to make it super-duper clear — include chosen.jquery.js AND NOT chosen.jquery.min.js in your assets.yml-file to prevent this issue from happening.
Got anything to say? Go ahead and leave a comment!
Recent Posts
- Issue using Chosen with Jammit for Ruby on Rails
- 150 Google+ invites to give away
- I don’t give a chainsaw about anythin’
- New Design + Update
- Thailand and Paradise Business Camp
- RoboBlogger is looking for additional beta testers
- What I’ve been up to the past year
- Things to come
- A Brief Guide to World Domination
- Matt is awesome
Tags
2009
Adversary
Australia
awesome
blogging
botany bay
Caringbah
cbd
challenge
china town
chinese garden
cooking
cronulla
darling harbour
dog
follow
food poisoning
freedom
goat
gtd
illness
kangaroo
king's cross
market city
metal
miranda
Motivation
Music
observations
Packing
personal development
pet
productivity
randomness
raunchy
royal botanic gardens
social media
swimming
Sydney
taronga zoo
Travel
Travelling
Tweet-o-matic
Tweetomatic
twitter



Posted under: