rails-api/rails-api — pull request #46 by benmanns (2012-11-23 05:47:57+00:00)
Title: Fixes for Ruby 1.8

These two fixes (after applying #45) will pass the test suite for Ruby 1.8. The first change uses the `send` method instead of `public_send`, as `public_send` was introduced in Ruby 1.9. The second change expands the regular expression in the scaffold generator test for `test/functional/product_lines_controller_test.rb` to include Ruby 1.8 style hashes (`:title => @product_line.title`).