[Rails] Re: Is Rails on IIS dead?

2011-12-21 Thread John Maxwell
This seems like a cruel joke to have to constrain RoR, or any modern web framework to IIS. If your company are concerned about rails implementations not being enterprise enough, then JRuby comes to the rescue - coupling the ease of rails with the enterprise power of the JVM - possibly worth a

[Rails] Re: Heroku upload

2011-12-21 Thread John Maxwell
Pretty simple - type heroku logout then heroku login - enter the details for the account you want to upload to, and then heroku keys:add to add your SSL key, push your updates with git push heroku master finally heroku logout and heroku login back to your own account. Simple, if you read the

[Rails] Re: Problem with displaying my XML response from API in view

2011-01-15 Thread John Maxwell
Have you tried doing: raise @news.to_yaml In the controller and seeing that that brings? -- 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

[Rails] Re: Best practices for email delivery in production

2011-01-15 Thread John Maxwell
Have a look at running some kind of delayed job queue - I use Resque normally, which I think comes from GitHub. With Resque, and ResqueMailer (another gem) you can simply include Resque::Mailer in your mailers to have them automatically queued for delivery. Hope that helps. -- You received

[Rails] PostgreSQL 8.3 not storing 'Date' field type with Rails 3.0

2010-09-10 Thread John Maxwell
Hi there, I've searched far and wide for an answer to this. I am using Rails 3.0.0 with Postgresql8.3 and ActiveRecord. Almost everything works fine - I have the normal timestamps, which store correctly, and a field called 'time' which is of the type 'time' and this works too. However, I also