rails_admin

https://github.com/railsadminteam/rails_admin

Ruby

RailsAdmin is a Rails engine that provides an easy-to-use interface for managing your data

Service#updated_properties

Returns a hash of the properties that have been assigned a new value since last save,
indicating their original values (attr => original value).
ActiveRecord does not provide a mechanism to track changes in serialized keys,
so we need a specific implementation for service properties.
This allows to track changes to properties set with the accessor methods,
but not direct manipulation of properties hash.

Source | Google | Stack overflow

Edit

git clone [email protected]:railsadminteam/rails_admin.git

cd rails_admin

open

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Service-updated_properties-for-pr


# Commit to git

git add git commit -m "better docs for Service#updated_properties"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-Service-updated_properties-for-pr

hub pull-request


# Celebrate!