RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: RKushnir
Hi, as the error messages are hardcoded in ActiveMerchant, there's no elegant way to translate them.
The generator for creating decorators is now called just decorator. Thus, use rails g decorator user in place of rails g draper:decorator user
decorator
rails g decorator user
rails g draper:decorator user
Hi,
as the error messages are hardcoded in ActiveMerchant, there's no elegant way to translate them.
The generator for creating decorators is now called just
decorator
. Thus, userails g decorator user
in place ofrails g draper:decorator user