diff options
| author | Aaron Patterson <aaron.patterson@gmail.com> | 2014-05-29 16:02:16 -0700 | 
|---|---|---|
| committer | Aaron Patterson <aaron.patterson@gmail.com> | 2014-05-29 16:02:16 -0700 | 
| commit | c767fbfc25561b1ba6a9c4ae040169826e5235b8 (patch) | |
| tree | 1c0bd3ffc87cd5469a6e4e6f0fb48296cf94b15b /guides/code/getting_started/app | |
| parent | aecf76fcde37ca31d5520f49f5e238a7161869a3 (diff) | |
| parent | da2cf937aa68c2470c0d4a73c29fe3555b2667c0 (diff) | |
| download | rails-c767fbfc25561b1ba6a9c4ae040169826e5235b8.tar.gz rails-c767fbfc25561b1ba6a9c4ae040169826e5235b8.tar.bz2 rails-c767fbfc25561b1ba6a9c4ae040169826e5235b8.zip | |
Merge branch 'mapper'
* mapper: (34 commits)
  no more is_a checks on instantiation
  Path::Pattern is instantiated internally, so make the contructor require a strexp object
  Strexp#names is only used in a test, so rm
  pass the parsed path from mapper to the Strexp
  add an alternate constructor to Strexp that takes a string
  ask the strexp for the ast
  remove dead code
  disconnect path from the instance
  reuse the ast we already made
  use a parser to extract the group parts from the path
  pass the parsed parameters through the methods so we don't reparse or require caching code
  "controllers" should be a valid path name
  controllers with slash names are also not supported, so we can reuse the message
  only validate controllers
  golf down a bit
  only error handling between controller and action is the same
  add a test for controllers without colons
  move nil check to a method that yields to a block if the value is not nil
  translate action / controller to the desired object
  only one nil check on the action variable
  ...
Diffstat (limited to 'guides/code/getting_started/app')
0 files changed, 0 insertions, 0 deletions
