[Rails] Re: Ruby on Rails- HTML5 Video as background for landing page not loading on heroku

2016-02-20 Thread Justin Yoon
> But changing "config.assets.compile" to true in production.rb file have > any affect on my application? Found this StackOverflow page that talks about this: http://stackoverflow.com/questions/8821864/config-assets-compile-true-in-rails-production-why-not. Not sure how helpful it is but hopefully

[Rails] Re: Ruby on Rails- HTML5 Video as background for landing page not loading on heroku

2016-02-18 Thread Justin Yoon
> Tried many combinations with video_tag. Still it shows the same error. Even when you switch it to one arg? I don't see how that's possible considering the error seems to think that's the number of arguments you should have. -- Posted via http://www.ruby-forum.com/. -- You received this messa

[Rails] Re: Ruby on Rails- HTML5 Video as background for landing page not loading on heroku

2016-02-16 Thread Justin Yoon
Can you post what you have in routes.rb? If the logs show RoutingError it's most likely a bug in there (although I have no idea why it would work on your local machine if that's the case). -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the

Re: [Rails] No route matches [POST] "/home/new"

2016-01-26 Thread Justin Yoon
I'm pretty new to ruby as well but I think the problem is that the Rails router doesn't know what to do with a POST request to "/home/new". I think you just have to add this line to routes.rb: post 'home/new', to: 'home#new' Like I said I'm a newbie myself so I'd love it if someone could correct