Skip to content
Snippets Groups Projects
Commit 19785d90 authored by Jonne Haß's avatar Jonne Haß
Browse files

ensure services is an array in StatusMessagesController#create

This fixes posting to a single service for Ruby 1.9
For some reason Rails doesn't convert a single foo[]=bar
not to the expected :foo => ["bar"] but to :foo => "bar"
On Ruby 1.8 String#map exists and just yields self, on
Ruby 1.9 String#map got removed
parent 4797e8f2
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment