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.
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.
On 5 August 2012 20:12, [email protected] wrote:
Where better to keep it? Without database.
In memory?
In code?
As a constant?
In a yaml file?
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs