On 5 August 2012 20:12, Дмитрий Снегирев <rikk...@gmail.com> wrote:
> I have hash:
>
> {"default_list" => {
>         "ws" => 15,
>         "ret"=> 50},
>     "ret_discount" => {
>         5 => 5000,
>         10=>10000,
>         15=>15000,
>         20=>30000   }}
>
> Where better to keep it? Without database.

In memory?
In code?
As a constant?
In a yaml file?

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to