ruby-1.9.2
Ruby, simple "threading" example to update progress in console app
I am trying to implement a simple console app that will do lots of long processes.开发者_高级运维During these processes I want to update progress.[详细]
2023-03-16 07:21 分类:问答Ruby Matrix set_element private?
When calling set_element on an instance of the Matrix class I get the following error NoMethodError: private method ‘set_element’ called fo开发者_开发百科r Matrix[[0, 0, 0, 0], [0, 0, 0, 0], [0, 0,[详细]
2023-03-15 06:28 分类:问答Why begin/rescue/else behaves differently on 1.9.2 and 1.8.7
I am working with t开发者_JAVA技巧he method mm. In ruby 1.9.2 it behaves weird, instead of the expected result 1.9.2=>10 I am getting[详细]
2023-03-14 23:13 分类:问答"uninitialized constant Encoding" using rvm, ruby 1.9.2, bundler and passenger
I am at wit\'s end here and am turning to you all for some help on this f*#$^ encoding issue. I am running on a private server with root permissions on Dreamhost. Here is a bit about my environment a[详细]
2023-03-14 08:52 分类:问答issues with date conversion, using rails 3.0.7 and ruby 1.9.2
i am using datepicker to insert date on my form, which of course returns date to the controller as a string.[详细]
2023-03-14 08:50 分类:问答Segmentation fault in rails / activesupport 3.1 and ruby 1.9.2
I upgraded a rails application to rails 3.1 (rc4) and now get random segmentation faults in activesupport. These faults happen when starting the application (rails s) or running tests (e.g. rake spec)[详细]
2023-03-12 04:41 分类:问答Rails 3 performance [closed]
开发者_Go百科 It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical andcannot be reasonably answered in its current form. F[详细]
2023-03-11 00:58 分类:问答Why non-English string is recognized in view but not in helper in Rails 3?
Why this: <%= foo(\"Русский\") %> works in 开发者_如何学JAVAview, but this: foo(\"Русский\")[详细]
2023-03-09 22:35 分类:问答Rails Validating on a virtual attribute, setting form error. Railscast #32
I\'m basically attempting to implement the solution from Railscast #32, modernized for Rails 3.0.7 http://railscasts.com/episodes/32-time-in-text-field[详细]
2023-03-08 16:13 分类:问答How to include library in rubymine unit tests
I have an Rails 3 App, here i have a unit test in test/unit/test.rb require \"test/unit\" require \"lib/feeder\"[详细]
2023-03-06 13:01 分类:问答