[Rails] Something for Rails Devs to Think Abput

2015-06-13 Thread Karthikeyan A K
http://solnic.eu/2015/06/06/cutting-corners-or-why-rails-may-kill-ruby.html -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To unsubscribe from this group and stop receiving emails from it, send

Re: [Rails] Re: SSL errors with open()

2015-06-13 Thread Mike Simkins
Agreed it will run, but it has obviously removed all the protection :) Very interested that it works in a browser however Sent from my iPhone On 12 Jun 2015, at 21:16, j...@via.net j...@via.net wrote: I updated the SSL certs as you suggested, I still get a failure. There is a workaround:

[Rails] Re: Doesn't respond to custom request format

2015-06-13 Thread Elizabeth McGurty
Did you register your MIME type? Mime::Type.register application/pdf, :pdf Not sure where this should be done in Rails 4 Per http://apidock.com/rails/ActionController/MimeResponds/respond_with: respond_with needs to be paired with respond_to And the order of your respond_with matters: you

[Rails] Re: Doesn't respond to custom request format

2015-06-13 Thread Elizabeth McGurty
Per http://apidock.com/rails/ActionController/MimeResponds/respond_with: respond_with needs to be paired with respond_to And the order of your respond_with matters: you should list format.pdf last On Friday, June 12, 2015 at 12:42:13 PM UTC-4, itsmechlark wrote: I'm using `*wicked_pdf*` to

[Rails] Re: Newbie question : error when trying to use mysql instead of sqlite

2015-06-13 Thread Marat Zilberman
Hi, I had similar issue. It turned out there were double quotes around MySQL path in the %PATH% variable. While windows could recognize the path, rails couldn't. Removing the quotes enables rials (and windows) to see the path. Error case: PATH = ;C:\Program Files\MySQL\MySQL Server