334717-335983
334477-338583 subjects 334954-337478
^ ruby1.9 and ActiveRecord
334717 [andreas_s ho] I wanted to switch my app from ruby 1.8 to 1.9 but I notice ar-extensions' =
^ Back to Fundamentals
334722 [rubfor recit] Before this thread I thought I understood polymorphism. Suddenly
+ 334727 [jayeola gmai] May be a time to look at the So-called GOf "Gang of Fours"'s Design Templates.
+ 334753 [shortcutter ] More precisely: they must have identical /signatures/. This is polymorphism.
+ 334783 [rick.denatal] I'm not disagreeing with you Robert, but I need to point out that the
+ 334838 [albertschlef] I should mention that simple /overloading/ can be achived by delegating
+ 334860 [rubfor recit] I think this is where we disagree. You seem to be saying polymorphism is
334866 [shortcutter ] No, that's not what I said.
+ 334881 [rubfor recit] I've just noticed my email address gets inserted in responses to my
| 334886 [shortcutter ] As soon as you post to public forums your email address is in public.
+ 334925 [cwdinfo gmai] One of the key benefits of polymorphism in the context of statically-
^ Re: Diamondback Ruby - Static Typing for Ruby
334725 [furr cs.umd.] We do use the programmer's test suite to augment the typing analysis
334726 [furr cs.umd.] Oops, thanks! (fixed)
334770 [furr cs.umd.] The way DRuby detects dependencies is by querying ocamlfind, so if
^ Unicode Question
334732 [aeldaly gmai] SGVsbG8gYWxsLAoKSSBkb3dubG9hZCBhIGZpbGUgZnJvbSBhIHdlYnNpdGUgYW5kIG9uZSBvZiB0
+ 334736 [nobu ruby-la] It seems a bug of Ubuntu iconv. According to Unicode
+ 334740 [james graypr] I've been trying to covering character encodings with a heavy Ruby
+ 334769 [aeldaly gmai] 75% of my research was made on your blog :)
+ 334884 [ast atownley] I was wondering if you wanted to add a note on how to deal with
334904 [james graypr] Thanks for the information. I just added a comment with a link to
^ [ANN] Lone Star Twitter Conference 2009
334738 [jimfreeze gm] Greetings
+ 334739 [james graypr] Priceless!
| 334773 [rick.denatal] Does this mean than only 120 characters will be allowed to attend?
| 334774 [james graypr] Rick, did you just reveal yourself as a non-Twitter addict? (Twitter
| 334784 [rick.denatal] llows
+ 334746 [tony medioh.] So how about that Scala? I hear it's good because it runs on the JVM,
| 334749 [charles.nutt] Hah, very nice :)
+ 334785 [eleanor game] I'm considering submitting a proposal for some random deep geek thing,
^ Help On Ruby Integration With C
334741 [revathy.p an] I m using ruby 1.8.6 on Windows..
^ [ANN] Released 1.0.0 yoda
334742 [ryand-ruby z] released yoda version 1.0.0 has been!
334743 [aaron tender] [aaron@Jordan ~]$ gem install yoda
334747 [drbrain segm] $ sudo gem install yoda
^ kernal::binding problem
334748 [tomcloyd com] Trying this for the first time, and, as usual, not quite getting it.
334750 [vjoel path.b] You've got something like this, right?
+ 334775 [rick.denatal] ng,
| 334841 [tomcloyd com] So, how do I get M.meth to execute in the namespace of my main? I
| 334845 [cmdicely gma] od.
| 334846 [tomcloyd com] Thanks! That's very interesting, and is exactly what I was looking for.
+ 334840 [tomcloyd com] Yes,
^ problem insalling mongrel/mysql with Ruby 1.9.1
334752 [tammam56 yah] I upgraded to Ruby 1.9.1 and I was trying to install Mongrel: gem
334771 [rogerpack200] try their subversion trunk? for mysql you could try mysqlplus (known to
^ Advice in rake
334754 [peter.meier9] I'm using rake to build a project and during this build process to
334756 [david.gaya g] desc 'Task that runs the build and other scripts'
^ ActionMailer outside of Rails to send HTML mails
334757 [peter.tellgr] I am trying to build a small newsletter application.
334762 [eiras.alex g] Use ActionMailer::Base.template_root =3D ... to set the path your email
^ Parsing String#dump data?
334758 [ast atownley] I was wondering if there was a better/safer way to parse string data
+ 334763 [robert.dober] Maybe
+ 334765 [shyouhei rub] IMHO it is a bad idea to use String#dump when you cannot control those strings.
334792 [ast atownley] rings.
334811 [shyouhei rub] irb(main):001:0> t = ""
^ Error "cannot load Java class"
334759 [ahmed amanzi] I've created two java classes that I'm trying to call from ruby file. I
334795 [cremes.devli] You need to show us the code too. Show the Java and show the ruby.
334803 [ahmed amanzi] class Cells < Java::cz.cesnet.meta.jruby.Cells
^ Maxsize error in exporting excel file
334761 [gani_chinta ] I am having exporting data to excel file from one report in our
334798 [dan eparklab] You need to patch the spreadsheet lib with ruby-ole to fix the MaxSize
335983 [deeparaj12 g] sir,
^ Installing SWIG on Windows For Ruby 1.8.6
334764 [revathy.p an] I m running on windows and i have Ruby 1.8.6 installed.
334825 [alex deletem] The first result from: http://www.google.com/search?q=swig+install+windows
^ Class variable confusion
334777 [keithsalisbu] module Keith
334779 [keithsalisbu] Or more simply, i would like this to update the variable @greeting, when
+ 334781 [jgabrielygal] Here, you are calling the greeting method (which returns "hello")
| 334787 [keithsalisbu] Legend
| 334788 [dblack rubyp] It's worth mentioning that none of the code in this thread contains any
+ 334804 [Rob AgileCon] module Keith
^ Write output to multiple files
334780 [knirirr gmai] I have encountered something I thought would be trivial but I can't
334799 [shortcutter ] # untested
334801 [knirirr gmai] Yes, that looks like just the job, thanks. I was trying something
^ (Zlib::GzipFile::Error) not in gzip format
334786 [rem.gagnon g] since now I can't install or update any gems. I got this error.
334793 [rem.gagnon g] never mind, it looks like we are having dns issue here.
334815 [micheljunio ] gem update --system
^ Unicode escaping fun & games
334796 [ast atownley] After my last question, I finally sat down and figured out how to easily
^ Ruby Version History
334802 [brgsousa gma] Where can I find Ruby Version History? I need to check differences
+ 334807 [drbrain segm] ...
+ 334900 [jayeola gmai] You can pull a truck and run something like `git svn log` in that dir
334901 [brgsousa gma] I am for something like main differences/improvements between stable
334929 [drbrain segm] I don't believe those are stored anywhere. You'll have to construct
334938 [juan_zanos t] Ruby's source control system leaves much to be desired. If you try
+ 334945 [juan_zanos t] Reflecting on this it seems surprisingly wasteful given the Ruby
+ 334949 [drbrain segm] Why bother checking out everything? Know your tools!
+ 334952 [juan_zanos t] I do. That's why I avoid using that tool. Look at your example.
| 334958 [ryand-ruby z] unicorns!
| 334960 [juan_zanos t] Sadly, my access to unicorns is limited.
| 334963 [drbrain segm] So I guess your magical tool doesn't exist either.
| 334965 [juan_zanos t] I could name at least 3 of them.
+ 334957 [juan_zanos t] If somebody converts this repository to something decent I'll be the
^ "uninitialized constant Nokogiri (NameError)"
334808 [yooakim gmai] require 'nokogiri'
+ 334809 [gregory.t.br] require "rubygems"
+ 334810 [phlip2005 gm] require 'rubygems'
+ 334823 [drbrain segm] Let me guess, you named your program 'nokogiri.rb', don't do that.
^ PDFWriter and Page Breaks
334824 [michael webl] I'm sure this is something that someone here has done. More probably,
334865 [d_rems yahoo] It doesn't. You have to do it by yourself. If it is out of page borders
334887 [michael webl] That smart text insertion wraps both lines and pages is documented.
335244 [jontyjont bt] Why don't you try Prawn?
335468 [gregory.t.br] A good idea generally, but keep in mind that the OP will need to do
^ Is there a better way of doing this
334826 [d_rems yahoo] I have three classes.
+ 334828 [shevegen lin] Would Object.const_get not work?
| + 334829 [d_rems yahoo] To be frank this is the solution that I came to. It is ugly but it
| + 334830 [d_rems yahoo] by
+ 334832 [vjoel path.b] One idea: define A and B as modules instead of classes. Then, when you
| 334882 [d_rems yahoo] I am trying this variation for now. And it might look like good until
| 334885 [shortcutter ] Here you are creating a string only.
| 334889 [d_rems yahoo] Thanks this works now. I had to leave out single quotes.
+ 334833 [ninja slapha] On loading the file? That might not be the best way...
+ 334835 [TimHunter nc] I'm not sure if this is what you're looking for, but...keep in mind that
334844 [andrew andre] def run_class(param)
334858 [shortcutter ] The question is: of doing what? You say you want the third class to
334864 [d_rems yahoo] What I am trying to do is create a reporting sistem, something like
+ 334867 [andrew andre] For starters, have a look at how Ruport does it.
+ 334868 [shortcutter ] hy
334872 [d_rems yahoo] Can you appoint me to a link, where I could read more about delegation
334874 [robert.dober] Normally I use Wikipedia as a starting point
^ Extending ruby classes - Against new methods?
334827 [shevegen lin] Recently I added
+ 334836 [albertschlef] I don't know; but, after reading your post I sure hope it's true. I
+ 334861 [shortcutter ] Why didn't you choose to add this to module Enumerable? Restricting
334880 [shevegen lin] Hmm, replying to two in one message now ;)
334888 [shortcutter ] The context is important: as long as you do it for a simply script or
^ Ruby 1.8.7-p72 installation on windows
334847 [revathy.p an] I m newb looking for help..
335596 [rogerpack200] I'd probably recommend the one click installer of version 1.8.6, just to
^ Array.find with index
334848 [rob.webinato] How do I find matching expressions and return the match and the index of
+ 334850 [loganathan_g] I think that in find_all method, we don't have any provision
+ 334853 [lasitha.rana] cheers,
| 334854 [loganathan_g] a.rindex{|x|x=="b"}
| 334857 [lasitha.rana] $: ruby -ve 'puts [1, 2, 3].rindex {|e| e =3D=3D 2 }'
+ 334855 [phasis gmail] irb(main):001:0> a =3D [10, 20, 30, 40, 50, 60]
^ [QUIZ][SUMMARY] Finding Quiz Responses (#200)
334849 [yahivin gmai] Finding all the responses to this week's quiz was easy: no responses!
^ Re: Word Search Generator (#159)
334851 [admin spoton] Sorry but I couldn't locate the source code of the solution. Can someone
^ JRuby and eclipse plugin
334859 [ahmed amanzi] I have a problem with running a ruby script from inside eclipse plugin.
^ love love love
334862 [priyalove199] SEXY GIRL
^ Get title from URL?
334871 [cisco.riorda] Anybody have a code snippet that extracts the title from the <title> tag
+ 334873 [dandiebolt y] require 'Hpricot'
+ 334875 [phasis gmail] require 'rubygems'
| + 334876 [cisco.riorda] Thanks, both work great.
| + 335172 [cisco.riorda] I used this method for a while, and it was fine for most sites.
| 335230 [phasis gmail] require 'rubygems'
+ 335138 [ruedi brahns] require 'open-uri'
^ installation trouble??
334877 [macrory9 gma] I am very new to ruby and have hit a wall with the installation. I am
^ Telugu Movies Review
334879 [telugudream ] Telugudreams.com is an Online Community for Telugu people living
^ Rack, map (forward) Port to URI
334890 [axyd80 gmail] I want to integrate Site writen in Ruby with Zimbra Mail and some other
334935 [ninja slapha] Probably...
^ Your early binding is revealed for all to see
334897 [rubfor recit] You could make that remark for virtually any topic except....
334908 [robert.dober] Brilliant idea, but it must be completely OT!!!
^ problem with rubygems and rake creating a new gem
334899 [mario betwar] Hæ,
334930 [drbrain segm] It had been deprecated and was giving warnings for some time now.
+ 334950 [ryand-ruby z] require 'rubygems'
| 335128 [mario betwar] Sorry Ryan I don't understand what your are proposing, I don't have a
| 335191 [ryand-ruby z] Luckily, that is just a string and easy for you to fix.
+ 335127 [mario betwar] Thanks Eric,
335132 [mario betwar] Ok it works if I require 'rubygems/package_task'
^ Sinatra : size of variable '@data' ? Bug ?
334902 [randy11 nume] I'm working under Windows XP and ruby 1.8.6 patch 227.
334931 [b.candler po] Firstly, look at the HTML in both cases. Use 'view source' or equivalent
335131 [randy11 nume] Brian,
^ Wow: jruby vs. MRE performance...
334905 [ast atownley] I've been working on an application for a while now using MRE, and for a
334909 [charles.nutt] There are ways to mitigate this, somewhat, but it's also the nature of a
^ proper way to daemonize
334907 [tim.pease gm] module Process
+ 334912 [gwtmp01 mac.] What resources are you talking about? By the time exit is called, the
| 334914 [james graypr] But if that at_exit() handler deletes a file or something=85
| 334917 [gwtmp01 mac.] Well, that is why I put the caveat about 'Ruby object resources'.
| + 334919 [tim.pease gm] cted
| + 334927 [robert.dober] Well I do see the smiley but still want to point out that "passively
| + 334934 [james graypr] Seems like Tim has a pretty decent example where the behavior doesn't =20=
| 334962 [gwtmp01 mac.] I wouldn't call it buggy, but calling at_exit in a process that
| 334971 [jcmoore pres] Something like this perhaps?
+ 334928 [drbrain segm] require 'webrick/server'
334932 [tim.pease gm] Eric, if I had half your brain I'd be twice as smart. Didn't even
334933 [james graypr] As of Ruby 1.9 Process.daemon() is a core method. Just one more
^ Re: Wow: jruby vs. MRE^?^?^?I performance...
334910 [ast atownley] Since this is a desktop app, if I get anything with over 10s response
334916 [charles.nutt] Odd...if you see it eating up all available memory again find us on
^ [ANN] win32-clipboard 0.5.0
334911 [djberg96 gma] The Win32Utils Team is happy to announce the release of win32-clipboard
^ [ANN] bitRip
334915 [spam codez.c] Are you tired of permanently browsing a long way through jam-packed
^ Char conversion when using puts to write file lint by line
334918 [gsmiro gmail] I'm trying to create a script to generate several win32 registry entries
^ Q: Architecting large Web service download app in Ruby
334920 [cwdinfo gmai] Architecting large Web service downloads in Ruby.
+ 334921 [james graypr] I can't say I know for sure, but I'm doubting it.
| 334941 [cwdinfo gmai] Ok, I looked into it further, and there is a thread safety issue and
+ 334967 [phlip2005 gm] Run the entire downloader from a cron task.
334975 [cwdinfo gmai] I hope that's not what my question ass-umes. I am able to get the
334981 [gethemant gm] or port XML-RPC so as it works from evented architecture such as
^ net/ftp
334922 [jgutierrez i] There's a method in Ruby's net/ftp library called list/ls. Does anyone
334936 [benjamin.lov] You can pass anything you want as it isn't checked. I don't think the FTP
335009 [gnewsg gmail] have
335010 [benjamin.lov] Of course it does. I should have been clearer in my response :) Apart from
^ [ANN] Initial release of gem_grep, a gem command plugin
334937 [gabriel.horn] I've written a gem command plugin, gem grep. You'll need the latest
334951 [ryand-ruby z] This is awesome, but can you release it as a real gem?
^ (debian,eclipse) GUI created with glade doesn't appear
334940 [lolveley yah] - I have debian lenny, with gnome
^ Odd Ruby/Rubygems/gem path problem
334942 [rps salas.co] I've spent too much time trying to solve this little problem. I wonder
334947 [drbrain segm] the -r command line option uses rb_require() the C function, not
+ 334968 [rps salas.co] Eric, thanks. I am not sure of the implication of that. Are you saying
| 334970 [drbrain segm] ruby -rubygems -e 'require "shoulda"; ...'
| 335039 [rps salas.co] Another slight confusion: I've read about -rubygems as well as putting
| 335040 [badboy heart] in fact it's just the -r switch with ubygems to load
+ 335024 [ninja slapha] However, 1.9's Kernel#autoload does seem to have that very limitation.
^ Difference between gem install rmagick and port rb-rmagick
334943 [rps salas.co] This is an instance of a more general question...
334946 [TimHunter nc] The software is the same, but the packaging system is different. If you
^ [QUIZ] Digits of Pi (#202)
334944 [yahivin gmai] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=
+ 334948 [vjoel path.b] Bonus points for determining the first non-trivial ruby program encoded
| + 334973 [dandiebolt y] to be in? This algorithm allows you to calculate the n'th hexadecimal digit=
| + 334974 [jeff schwabc] Interesting idea!
| | 334979 [vjoel path.b] You're right, that didn't make much sense. I was just thinking of "\nnn"
| | 335147 [robert.dober] But that means that the representation of pi contains a ruby program
| | + 335149 [jeff schwabc] Infinite is biiiiiiiig...
| | | 335343 [lecan75228 y] Pi is a variable number which changes with different radii. PI can be 3.12 or 3.45....
| | | 335348 [caduceass gm] I'm sorry, but maybe I'm missing something. Aren't you just restating
| | | 335350 [caduceass gm] That was a bit unfair. I thought you were talking about something else.
| | + 335150 [rick.denatal] Been reading Goedel, Escher, Bach again, have we Robert? <G>
| | 335153 [robert.dober] an
| + 334976 [caduceass gm] Do you mean non-trivial in that it will never fail with the correct
| 334977 [vjoel path.b] I dunno. That's why I said be imaginative :)
+ 335076 [list.push gm] # Is this cheating ? :)
| + 335117 [robert.dober] I would say no, but...
| | 335118 [caduceass gm] ;).
| | 335152 [acooper prit] I was unaware that one could cheat on a rubyquiz.
| + 335392 [citizen428 g] require 'rubygems'
+ 335407 [charles.nutt] But it doesn't seem fast enough to get to 100k digits in any amount of
threads.html
top