add after_filter to fix CORS issue in application.rb
change after_filter to after_action
CORS edit
move before_filter to the top
changing before_action to before_filter
remove before_filter
change ajax localhost to dataType: json
fix XMLHttpRequest cannot load 0.0.00:3000
fix 2
change domain
I'm tired
it's finally working
bearish gauge
Enter working
heroku deploy
put more comments to the code