Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor call to find(:first) to quiet deprecation warnings
DEPRECATION WARNING: Calling #find(:first) is deprecated. Please call #first directly instead. (called from edit at ~/surveyor/lib/surveyor/surveyor_controller_methods.rb:63) Refactored so that we call either first() or find() depending on whether we've got a primary key or not.
- Loading branch information