ufo-hunters/ufohunters-site — pull request #67 by fjfdepedro (2014-10-27 21:47:59+00:00)
Title: rails 4.1.2, ruby 2.1.2, delete match routes and simple_captcha2

- Update

to rails 4.1.2
to ruby 2.1.2

- News gems in Gemfile - >

Static page caching for Action Pack (removed from core in Rails 4.0):
gem 'actionpack-page_caching'
gem 'actionpack-action_caching'

SimpleCaptcha2 (https://github.com/pludoni/simple-captcha) with Rails 3 + 4:
gem 'simple_captcha2', require: 'simple_captcha'

- On routes, the match method will no longer act as a catch-all option. You should now specify which HTTP verb to respond to with the option :via

"get" instead of "match" ->

eje:
Rails 3.2
match "/users/:id" => "users#show"

Rails 4.0
match "/users/:id" => "users#show", via: :get

Rails 3.2 and 4.0 compatible
get "/users/:id" => "users#show"