maybe
maybe copied to clipboard
Make all account names human readable
Fixed the above two names in the form to the following:
I converted the type_name
method to a class method. To me, it makes more sense to pass the class in the type
local for the _account_type
partial instead of instantializing each type just to access the type_name
. It also eliminates the need to call .class
then on every instance of the type in the partial.
Is there a way to use a safe constantize
here? We have to either rely on the accountable_type model attribute or the query param, both of which are marked as unsafe by scan_ruby
I think this coukd be closed after #256
A lot of changes to the add account flow so going to close this.