I have model Profile with hstore field paypal_credentials:
class Profile < ActiveRecord::Base
...
store_accessor :paypal_credentials, :preapproval_key, :preapproval_url
...
end
Now I need to add the second hstore field named customer_paypal_credentials with identical keys. How can I use store_accessor in this way? I can't find anything about prefix/suffix functionality of store_accessor.
Thank you.