Top Level Namespace
Defined Under Namespace
Modules: Dynamoid
Instance Method Summary collapse
-
#id_partition ⇒ Object
The id of dynamoid is not integer, so correct the id_partition.
Instance Method Details
#id_partition ⇒ Object
The id of dynamoid is not integer, so correct the id_partition.
21 22 23 |
# File 'lib/dynamoid/paperclip.rb', line 21 Paperclip.interpolates :id_partition do |, style| .instance.id.to_s.scan(/.{4}/).join("/") end |