Use corerct way to respond to missing
move AccessDenied (Error) to error.rb
Merge pull request #3338 from timoschilling/move_error

move AccessDenied (Error) to error.rb
Merge pull request #3317 from dtaniwaki/Use-respond-to-missing

Use correct way to respond to missing