rails/rails — comment on commit 85b64f98d100d37b3a232c315daa10fad37dccdc
File:  line 0
By laserlemon:

How about namespacing the accessors?

```ruby
class User < ActiveRecord::Base
store :credit_card, :accessors => [:number, :expiration], :namespace => true
end
```

```ruby
user.credit_card_number
user.credit_card_expiration
```

Could also be configured:

```ruby
class User < ActiveRecord::Base
store :credit_card, :accessors => [:number, :expiration], :namespace => :card
end
```

```ruby
user.card_number
user.card_expiration
```