ruby-1.9.2
Rails 3 saving a record issue
I have been working with Rails 3.0.5 and Ruby 1.9.2 and I have noticed that a new record doesn\'t get saved or isn\'t available for use instantly.[详细]
2023-02-19 20:49 分类:问答comparing array of hashes
I have array of hashes [{\"a\" => 1, \"b\" => 2}, {\"a\"=> 3, \"b\" => 4}, {\"a\" => 5, \"b开发者_如何转开发\" => 6}]. Now I need to compare all the hashes with each other, ie, compa[详细]
2023-02-19 04:40 分类:问答Addition error with ruby-1.9.2 [duplicate]
This question already has answers here: 开发者_运维问答ruby: converting from float to integer in ruby produces strange results[详细]
2023-02-19 04:23 分类:问答Segmentation Fault when requiring mysql2 gem
I had been developing a rails app in development using 1.8.7 and now am trying to switch to 1.9.2 (using RVM).[详细]
2023-02-18 02:30 分类:问答Is CouchRest 1.0.1 compatible with ruby 1.9.2 version
I am facing issues when making a call to Db using the CouchRest Db when on ruby 1.9.2. the same calls work with ruby version 1.8.7.[详细]
2023-02-17 22:06 分类:问答Make Ruby 1.9 regard all source files to be UTF-8 encoded. (Even if recompiling the interpreter is necessary)
I want to port a rails app from Ruby 1.8.7 to 1.9.2. Some of the files contain umlauts like ä/ö/ü both within strings and comments.[详细]
2023-02-17 15:20 分类:问答How to declare an array parameter in Rails 3?
guys. I tried this code: def trap_check开发者_StackOverflow社区(payroll[][], timelive[][]) . . .[详细]
2023-02-17 03:37 分类:问答Why is YAML.load returning the wrong numeric value?
Why is YAML.load returning the wrong value? ruby-1.9.2-p0 :006 > a = YAML.load开发者_如何学Go(\'merchant_id: 014213245611111\')[详细]
2023-02-15 06:16 分类:问答Rails app getting Illegal Instruction every time I change logic
I have a fairly large Rails app that is getting increasingly harder to develop on.The development environment has gotten slower and slower and WeBrick is taking forever to start up.[详细]
2023-02-14 23:28 分类:问答Whenever gem won't update crontab tasks
I have been using the whenever gem on my 2+ year old slice at Slicehost. I can\'t however do the same on my new slice.[详细]
2023-02-10 02:32 分类:问答