ruby-1.9.2
How can I dynamically create a class based off ActiveRecord at runtime? (Ruby)
I\'m experimenting with meta programming and want to dynamically create a class that inherits from ActiveRecord.[详细]
2023-03-06 03:19 分类:问答objects that are not created show on the page, and redirect fails
I tried out rails 3, and just started a new project. The following is all I typed. rails new todo cd todo[详细]
2023-03-06 01:29 分类:问答single table inheritance with embeds_one mogoid
I have a model class Post include Mongoid::Document include Mongoid::Timestamps embeds_one :comment end and I have comment class[详细]
2023-03-04 21:52 分类:问答paperclip with ruby 1.9.2-p180
I am trying to update my Rails 3 application to use ruby 1.9.2 开发者_运维问答The problem is paperclip stops creating attachments / styles for my uploads and only uploads the original.[详细]
2023-03-04 19:17 分类:问答rails 3 ruby 1.9.2 CSV "already initialized constant .." warning
I want to add the ability to read/write data to a CSV file to one of my models. In versions of ruby prior to 1.9 this would have been done with fasterCSV, but this is now part of ruby. I have the foll[详细]
2023-03-04 13:24 分类:问答Rails 3/1.9.2 debugging...with an IDE?
I was using NetBeans but it seems that support for Ruby is officially dead (with some community element just starting up).I\'ve seen threads for hacking ruby-debug to support Ruby 1.9 debugging in NB[详细]
2023-03-04 03:53 分类:问答What zip library works well with Ruby 1.9.2?
I used the rubyzip gem in Ruby 1.8.7 before, but I heard rubyzip doesn\'t work well with ruby 1.9.2. Wha开发者_StackOverflow中文版t zip libraries work well with Ruby 1.9.2?Have you actually tried usi[详细]
2023-03-03 15:08 分类:问答Referencing hash item inside itself
I\'ve got a pretty short question. Is it possible to initialize a hash with something like this: row = {[详细]
2023-03-03 12:06 分类:问答Is there any way to make FileUtils work with UTF-8 file names?
I have created this Ruby (1.9.2) code and the last line fails: File.open(\"test äöü.txt\", \"w+\").close[详细]
2023-03-03 02:17 分类:问答Updating to Ruby 1.9.2 on Leopard 10.5.8 using RVM
There seems to be a lot documented on migrating to 1.9.2 via snow leopard but not a lot on Leopard specifically.[详细]
2023-02-28 16:24 分类:问答