Please sign in to comment.
Add test for `AR::Base#to_param`
According to the doc of `AR::Base#to_param`( https://github.com/rails/rails/blob/04cda1848cb847c2bdad0bfc12160dc8d554 7775/activerecord/lib/active_record/integration.rb#L18 ), it returns `nil` if the record is not persisted.
- Loading branch information...
Showing with 6 additions and 1 deletion.