Poem id presence true, save poem.id rather than poem
Use || rather than check Rails.env.production?
Move puma to top of Gemfile below Rails as it's pretty important
Update Rails to 4.0.2