Japanese follows; $BF|K\8l$O$"$H$G(B Hello all -- We are pleased to announce the release of Ruby 2.0.0-rc1, the first release candidate of Ruby 2.0.0. * http://ftp.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-rc1.tar.bz2 SIZE: 10822768 bytes MD5: 24cebdda11e01ff4889ac983cd7dc02c SHA256: 4033...
I'll try the newer fcgiwrap when I get back home in a couple hours. For now, in case this is helpful info: I'm getting a 403 Forbidden on the stdout of the terminal where I ran the fcgiwrap. At the same time I get *11 upstream closed prematurely FastCGI stdout while reading response h...
While I'm not part of the Ruby core team I'd personally would like to see a slightly more convincing reason. What exactly is it that you aim to solve besides just fixing bugs? The latter can be done without commit access using the Github fork and I'm sure there are other ways as well....
# Ruby Implementers Meeting 日本語訳は英語文の後に表記してありますのでご覧ください。 Hi everyone! I'd like to announce a Ruby Implementer's Meeting. ## WHY The purpose of this meeting is to help facilitate communication between different Ruby implementer teams. The meeting agenda can be found here: https://bugs....
Issue #3525 has been updated by Yusuke Endoh. Status changed from Open to Rejected Hi, 2010/7/3 Jan Lelis <[email protected]>: > the new flat_map method does not return flatted enumerables: > > irb(main):072:0> [[1,2],2,3].flat_map{|e|e} > => [1, 2, 2, 3] > irb(main):071:0> [[1,2]...
Hello guys ! I'm new in Ruby....Hope you can help because i'm trying a lot and just can't see where is the problem.. I have this xml, and not only this, i want just for any xml file that i might put : <?xml version="1.0"?> <records> <company> <id>p1</id> <name>Skoda</name> <price>1000...
On Jan 31, 2008, at 8:21 AM, Mario Flores wrote: > I was wondering if there were anyway to return the controller name > in my > view. Any help would be appreciated. Thanks! Views have a pointer to the controller, but I always setup a couple of convenience variables in ApplicationContr...
> I bet if you switched to production mode it would work. What I think > is happening is: > > - request calls Tracker.go > - Rails unloads loaded classes (since we're in dev mode) > - You threads continue to run trying to use classes that rails has > unloaded. Chaos ensues. > > Fred B...
Sequel is a lightweight database access toolkit for Ruby. * Sequel provides thread safety, connection pooling and a concise DSL for constructing SQL queries and table schemas. * Sequel includes a comprehensive ORM layer for mapping records to Ruby objects and handling associated recor...
Thank you andrew for the help! I am using mac os x 10.8 (mountain lion). I have installed ruby, and I do know how to get to the terminal. I have no problem using the datamosh command correctly, but this is the simplest part i think ( datamosh file.avi) I am confused on how to successf...
Each of the database adapters is responsible for determining how to handle a boolean column in a way that makes sense for their specific backend. In the case of PostgreSQL and OpenBase this is trivial, since these database backends have a boolean type column built-in. For MySQL - as h...
Sequel is a lightweight database access toolkit for Ruby. * Sequel provides thread safety, connection pooling and a concise DSL for constructing SQL queries and table schemas. * Sequel includes a comprehensive ORM layer for mapping records to Ruby objects and handling associated recor...
Very basic configuration, strictly for serving static files. I've got the error_log setting configured to "info" to get more information as to what's happening with connections, etc. While monitoring the error log and loading a single static html file through my web browser, I noticed...
Hello... yum install ruby-devel solved it for me when installing rails [waldyd@waldyd Homework 2]$ sudo gem install rails -V GET http://rubygems.org/latest_specs.4.8.gz 302 Found GET http://production.s3.rubygems.org/latest_specs.4.8.gz 304 Not Modified GET http://rubygems.org/specs.4...
I'm trying to use Net::HTTP::Proxy to proxy HTTPS traffic and I've got the following code: proxy = Net::HTTP::Proxy(proxy_uri.host, proxy_uri.port) http = proxy.start(uri.host) if uri.scheme == 'https' http.use_ssl = true http.verify_mode = OpenSSL::SSL::VERIFY_NONE end resp = http.ge...
Il 17/04/2012 13:34, Andrea Dallera ha scritto: > L' opzione c) cosa sarebbe esattamente? Per chi lavoreresti? Che sicurezza in grado di darti? Perdi pi tempo a scrivere software o a cercare clienti? Perch se volevo fare il commerciale non mi serviva imparare a scrivere codice. attual...
Hello... yum install ruby-devel solved it for me when installing rails [waldyd@waldyd Homework 2]$ sudo gem install rails -V GET http://rubygems.org/latest_specs.4.8.gz 302 Found GET http://production.s3.rubygems.org/latest_specs.4.8.gz 304 Not Modified GET http://rubygems.org/specs.4...
Hi All, I decided to write some blog entries on my pet project for running Ruby 1.9.2 and Ruby on Rails 3.0.5 on Windows Server 2008 EE. I figured I might as well post while I create, and if anyone wants to stop by and see how it works out, you are more than welcome to do so. I'm prim...
Sequel is a lightweight database access toolkit for Ruby. * Sequel provides thread safety, connection pooling and a concise DSL for constructing SQL queries and table schemas. * Sequel includes a comprehensive ORM layer for mapping records to Ruby objects and handling associated recor...
Hi, I'm trying to print out some xml and don't know what I'm doing. I'm getting this <to_s/> tag in the output. Where is it coming from and how do I get rid of it. Here's my test code. Any help appreciated. CODE: require "builder" class Fruit attr_accessor :name end fruit = Fruit.new(...
Hi. I created Bitmap Marking GC for Ruby2.0. Source code: https://github.com/authorNari/ruby/tree/bitmap_marking Patch: https://github.com/authorNari/patch_bag/blob/maste... In following environment, this patch works 'make check' and 'make TESTS="--gc-stress" test-all'. $ ruby -v ruby...
Re: Array#slice's boundary special case.why? Posted by 7stud -- (7stud ) on 2011-04-14 18:22 You're in luck. Gary Wright recently posted the definitive word on that phenomenon: Gary Wright wrote in post #990065: > On Mar 30, 2011, at 2:08 PM, 7stud -- wrote: >>> >>> s[3,0] is "", inst...
Hi, Today, I talked with NaHi about enhancing const_missing to enable autoload-like feature with nested modules. But autoload itself has fundamental flaw under multi-thread environment. I should have remove autoload when I added threads to the language (threads came a few months after...
Hi everyone! I've pushed a release candidate for Rails 3.2.7. Please try it out! If you find any bugs present in the 3.2.7 release candidate that where not present in the 3.2.6 release, please report them to the Rails Core mailing list at here: https://groups.google.com/group/rubyonra...
In ruby on rails, i need to change SMTP settings in /config/environments/development.rb. After making the changes is it required to restart apache or any ather service? Actually the mail is not getting still.
So I'm getting an unexpected IOError in my code. class ConfigStub < File def initialize(location) unless filename = location.gsub("/", "_") raise ArgumentError, INVALID_LOCATION_FORMAT end @stub = File.open(CONFIG_PATH + filename, "w+") # This might need to be more sophisticated depen...
> File.dirname(__FILE__) will give you the current file's path. The current file may be accessed with a relative path. If you need the absolute path, make sure you expand it: File.expand_path(File.dirname(__FILE__)) > Also, if I have a module, within a function, how do I get the paren...
Hola Javier, te comparto lo que pienso. Genial! Hay muchas personas interesadas en Ruby en México, eso es bueno. Tanto personas que ya saben como que quieren aprender, lo cual le da variedad al asunto. Habiendo dicho esto... ¿recuerdan la anécdota de la gallina y el puerco? http://bit...
I'm having fun with a legacy DB (SQL Server), and in the process found some code in rails/lib/tasks/databases.rake which feels wrong. 0) Errors which occur during this phase of a rake:test or rake:spec tend to be ignored, although they are logically fatal. In the best case, this means...
Hi all, I have looked at some of the answers in the forum, but they do not seem to fit. I want to merge two array into a hash like so: key = [ "1", "2", "3"] value = [ "a", "b" ] into: myhash = {'1' => 'a' , '2' => 'b' , '3' => ''} Can this be done without creating new classes and met...