active_model_serializers
https://github.com/rails-api/active_model_serializers
Ruby
ActiveModel::Serializer implementation and Rails hooks
ActiveModel::Serializer::Lint::Tests#test_updated_at
Passes if the object responds to <tt>updated_at</tt> and if it takes no arguments. Fails otherwise. <tt>updated_at</tt> returns a Time object or iso8601 string and is part of the (self-expiring) cache_key, which is used by the adapter. It is not required unless caching is enabled.
Edit
git clone [email protected]:rails-api/active_model_serializers.git
cd active_model_serializers
open lib/active_model/serializer/lint.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-ActiveModel--Serializer--Lint--Tests-test_updated_at-for-pr
# Commit to gitgit add lib/active_model/serializer/lint.rbgit commit -m "better docs for ActiveModel::Serializer::Lint::Tests#test_updated_at"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-ActiveModel--Serializer--Lint--Tests-test_updated_at-for-pr
hub pull-request
# Celebrate!