310544-335457 subjects 311018-342551

^ PDF to text covertor?
310838 [martin angle] Dear all,
+ 310840 [AEtzold gmx.] Dear Jose,
+ 310843 [kou cozmixng] In <59a3f50dc89e69c5250b753986657c78@ruby-forum.com>
  311760 [martin angle] I have some of the study materials as PDF documents. I need to parse the
  311831 [martindemell] Your best bet is a ruby script that calls out to xpdf to do the actual

^ Segmentation fault on Windows
310841 [jyotsna.namb] require 'rubygems'
310885 [rogerpack200] which ruby version and compiler are you using for json?

^ if expression within a thread
310845 [aidy.lewis g] I am using  Watir and Autoit (win32 test tool)
310858 [bret pettich] ...
310975 [aidy.lewis g] Bret,
310993 [aidy.lewis g] Bret,

^ Jordan 3  paypal payment $28/pairs   www.mall-aol.com (  
310846 [cnbbiz030 gm] Please chat with me by www.mall-aol.comto get the price and more

^ Beta testing website
310847 [nzmike222 gm] This is a bit off-topic but may be of interest to some

^ jruby and ubuntu and libgcj
310849 [AEtzold gmx.] Dear all,
310875 [charles.nutt] As far as I know, JRuby 1.1.3 neither compiles nor runs on GCJ, mostly
+ 310893 [AEtzold gmx.] Dear Charles,
| 310901 [brabuhr gmai] (On Linux) I have either used Sun's Java 6 JDK or (more recently
| 310915 [AEtzold gmx.] ... and it now works like a charm. Thank you very much !
+ 310940 [ninja slapha] Would there be any performance increase?
  310960 [charles.nutt] GCJ is generally a lot slower at everything but startup time, because it

^ which C compiler for gem (windows vista)
310851 [pk.hot hotma] I am still having the problem, that my gem update is not working
+ 310854 [jan.svitok g] 1. you need ms vc 6.0.
| 310859 [pk.hot hotma] Thanks a lot, Jano !!
+ 310884 [rogerpack200] You could go the mingw compiler route, as well.
  + 310891 [david vizion] I have the same problem even though VC6 is installed. There seems to be a
  | 310906 [pk.hot hotma] that is bad news - as I was hoping to at least have an option with VC6.
  + 310903 [pk.hot hotma] thanks a lot for the hint !!
    310909 [rogerpack200] I'm not aware of any problems with it, per se.
    310918 [AEtzold gmx.] Dear Peter,
    311328 [pk.hot hotma] Thanks a lot Axel !
    311410 [pk.hot hotma] I finally managed to get Visual C 6.0, but now it does not install in

^ gmailer problems.
310852 [junkone1 gma] I keep getting errors from the gmailer these days. Is there a
310855 [mguterl gmai] I just ran across this on RubyForge.
310857 [junkone1 gma] er",

^ Documenting DSLs
310856 [transfire gm] Hey, has anyone thought about or worked on a "next gen" documentation
+ 311249 [transfire gm] Well, since no one responded here I can only assume there are no
| 311252 [phlip2005 gm] I always figured a literate documentor would...
| 311266 [transfire gm] That's a tall order! I'm not sure about mixing the tests into the docs
| 311271 [dave pragpro] documentation process, but pulled it when I thought through the
| 311275 [jeremymcanal] Really the same could be said about gem install hooks, etc.  Someone
+ 311251 [hongli phusi] How about just writing plain old narrative documentation instead of
  311273 [transfire gm] Actually I don't see anything very special about this. That's not to
  311278 [hongli phusi] It is often said that Ruby projects lack narrative documentation.
  311480 [transfire gm] You make an excellent argument.

^ Bindings and Context
310860 [patrickli_20] I'm still really confused about Ruby Closures.
310861 [stefano.croc] instance_eval doesn't change scope. Its only effect is to change the value of
310862 [patrickli_20] Ah. okay.
+ 310878 [stefano.croc] Yes, I think so
| 310880 [patrickli_20] Thank you Stefano.
+ 310881 [shortcutter ] Yep.

^ How Pretty is your code?
310864 [wujciol gmai] I've just uploaded my new ruby project Pretty. It's simple tool to check
+ 310908 [ snk gna.org] Posted via http://www.ruby-forum.com/.
+ 310963 [janfri.rubyf] Hm, what if I don't want a shebang line for example in a library file
  310969 [wujciol gmai] Bug in line 22 is now fixed. Error of no shebang is changed. Added error

^ Sort array by two attributes? (like sql "order by A, B")
310865 [toastkid.wil] IN sql we can pass two arguments to the 'order by' component, and it
+ 310866 [jcoglan goog] ...
| 310899 [pit.capitain] For this usecase there's also Numeric#nonzero?
| 310956 [toastkid.wil] Wow, this is all great stuff.  thanks folks.
+ 310867 [jgabrielygal] Here's one way: the trick is to create an array with the fields you want
  310868 [toastkid.wil] That's a neat trick, thanks!  I actually like the first one better
  310871 [erikveen gma] a.sort_by{|x| [x.name, -x.date]}
  + 310872 [jcoglan goog] ...
  + 310890 [martindemell] class RevCmp

^ How to map this association
310869 [zwenhan gmai] A user can create videos and collect videos.
+ 310911 [binary011010] I'm guessing this is a Rails question, in which case you should post
+ 310916 [ldenman gmai] This is how I set up my association and I think it works well... I'm

^ gmail imap
310876 [junkone1 gma] how do i extract the message body using imap. i am hunting it and
310922 [drbrain segm] See RFC 3501 section 6.4.5.  You probably want BODY[] judging from

^ How easy is using ActiveRecord in a non RoR application?
310887 [ibc aliax.ne] Ruby app). How easy is it? is just loading the library?
+ 310892 [btricha gmai] ...
+ 310894 [gregory.t.br] -apps-with-ruby-and-activerecord.html
+ 310895 [junkone1 gma] easy. i use  activerecord in my db operations as i dont have to break
+ 310897 [ibc aliax.ne] Thanks to all, it really seems easy :)
+ 310898 [       m t.u] really easy. just go ahead.

^ HelpEngine
310888 [andypflueger] Is anybody out there using the HelpEngine vendor plugin that's

^ calling double rb_genrand_real(void); failing
310902 [chromatophor] double rb_genrand_real(void);
310917 [TimHunter nc] You don't say which version of Ruby you're using,  but in my 1.8.6 patch
310926 [rmagick gmai] Ah, I see it defined in 1.9.0. Are you sure you're linking with the 1.9
310932 [chromatophor] doh, thanks for that. i was mistakenly browsing 1.8.7 sources,

^ Second #ruby-pro gathering
310920 [apeiros gmx.] I'm proud to announce that #ruby-pro[1] will be holding its second

^ Problems with accessing directory defined in ENV variables
310921 [thomas.luede] Ruby is giving me pure hell trying to access directories on a mounted
+ 310928 [matt tidbits] ...
| 310929 [thomas.luede] test.rb:5: warning: Insecure world writable dir /TEMP2002 in PATH, mode
+ 310930 [fophillips f] Dir.chdir(ENV['TMPDIR'])
  310931 [thomas.luede] Whew - that did it.  Thanks so much - that is a serious load off my
  + 310936 [fophillips f] Your first example would expand to " /TEMP2002/t3905 " not
  + 310954 [shortcutter ] You made things more complicated than necessary - probably because of
    311015 [thomas.luede] Admittedly, I'm having a terrible time understanding what Ruby wants
    + 311025 [shortcutter ] Maybe then you should read through some introductory material.
    + 311033 [stefano.croc] Here's a short summary of how those things are used in ruby. I hope you'll

^ NEWBIE eruby basic form problem
310934 [peter iwebsl] I'm trying to capture comments from a textarea field to add to a
310958 [pikEISPAMMMs] You can escape characters in several different ways. The CGI class is
310989 [peter iwebsl] Casimir

^ ActiveRecord error with Rails 2.1.0 using include statement
310935 [ginkod gmail] I updated to Rails 2.1.0 and I'm getting an
311082 [hjast89 gmai] ...

^ Netbeans and Gems
310941 [delphiguy23 ] Cheers,
+ 310944 [delphiguy23 ] Ok I tried installing Gems in the commandline but I get this error.
+ 310957 [martin.kraus] You will encounter this only with older JRuby, JRuby 1.1.3 and further
  310962 [delphiguy23 ] Thanks for the reply, I will try that.

^ [Q] statemachine gem and unit testing
310942 [cremes.devli] I've been using the statemachine gem [1] to build out some finite
310943 [james graypr] This is an absolutely excellent point you have raised about a very
310973 [cremes.devli] This is what I am doing at the moment. I am sending the object events
311170 [pit.capitain] Chuck, there's a Google or Yahoo group for test-driven development.

^ Gem snmp has some problem.
310945 [magicloud.ma] When I got some information from a device using SNMP::Manager#walk, it

^ rubyforge web page search engine features
310946 [emmanueloga ] I can't tell you how much I appreciate the significance of
310979 [tom infoethe] Yup, it's GForge - http://gforge.org/ - and I think it's basically
311009 [emmanueloga ] Ah! probably php... :) Is there any ruby alternative suitable for the
311010 [tom infoethe] Right on, yup, it's in PHP.

^ Sigh! I'm depressed. Debian vs Ruby and the backtick and subshells
310947 [john.carter ] I have just strace'd weird bug to it's root cause.
+ 310949 [shortcutter ] You should probably mention that the bug is actually in _your_ code: if
+ 310951 [magicloud.ma] I am using Debian sid, which sh is bash.
| + 310952 [shortcutter ] On 12 Aug., 08:49, Magicloud Magiclouds
| | 310964 [fred lacave.] Not that you can overload the method, too...
| + 310981 [phlip2005 gm] The choice of `` is deliberate. It's to inspire you to get off your lazy butt
|   + 310985 [mguterl gmai] This is a ridiculous claim.  I'd spend more time writing a response,
|   + 311007 [avdi avdi.or] The backtick syntax is a convenience inherited from Bash and Perl.  It
+ 310994 [znmeb cesmai] Why does Debian use dash? I've never even *heard* of dash until I saw
| + 310995 [brabuhr gmai] "Dash, like ash, executes scripts faster than bash and depends on
| + 311072 [john.carter ] ...
|   311075 [martindemell] T24gVHVlLCBBdWcgMTIsIDIwMDggYXQgMTozMyBQTSwgSm9obiBDYXJ0ZXIgPGpvaG4uY2FydGVy
+ 311003 [avdi avdi.or] For as long as I've been working with *nix systems the rule was
+ 311006 [ara.t.howard] i could easily be wrong, but i have a dim recollection that the
  311081 [john.carter ] At risk of being a little rude to one who doesn't deserve it, I
  311094 [ara.t.howard] heh - right you are!
  311098 [shevegen lin] Could you point out where it is defined? I could understand if the FHS
  311102 [ara.t.howard] [ahoward@localhost ~]$ PAGER=3Dcat man system

^ How do i stop a block being passed on?
310948 [jrmair gmail] VALUE
311083 [tim.pease gm] You need to create is a new ruby_frame for m_func2 to operate in. The

^ Ruby 1.9: What to Expect by Sam Ruby @ OSCON 2008 Slide Deck Adapted S6/S9 (Single-Web Page) Version
310950 [geraldbauer2] I've created a S6/S9 version of Sam Ruby's OSCON 2008 slide deck
+ 311073 [ibc aliax.ne] What does it mean? For example, in Ruby 1.8 and 1.9 the following code retu=
| 311080 [jeremy bitsw] turns
| 311085 [ibc aliax.ne] ~# irb1.8
| 311086 [ibc aliax.ne] Maybe the difference occurs when the variable is passed to the block as=20
| 311088 [dblack rubyp] ...
| + 311089 [ibc aliax.ne] Thanks a lot for so good explanation.
| + 311158 [ibc aliax.ne] Thread.new(request) { |request| ... }
|   + 311161 [mental rydia] ...
|   | 311168 [ibc aliax.ne] Yeah, I know, that is why I asked a solution for 1.8 :)
|   + 311164 [dblack rubyp] ...
|     311167 [ibc aliax.ne] Thanks.
+ 311131 [perfectly.no] Thanks!
+ 311215 [charles.nutt] There's a couple errors or oddities in the slides.
  311303 [gerald vanbe] Please note that I've just created a single-web-page S6/S9 rendition

^ :through relationship
310953 [gani_chinta ] Is it possible to use :through in  has_and_belongs _to_many
+ 310982 [phlip2005 gm] I guess it's my turn to apply the rubber stamp!
+ 311023 [caduceass gm] Why would you want to do this?
+ 311114 [ninja slapha] This isn't a Rails forum, but I'll bite anyway.

^ Need sort help
310965 [jazzezravi g] a=[["raja",1],["Arun",5],["babu",3]]
+ 310966 [stefano.croc] a.sort_by{|i| i[1]}
| 310968 [jazzezravi g] Thanks for quick and best reply..
+ 310967 [joost zeekat] [["raja",1],["Arun",5],["babu",3]].sort {|a,b| a[1] <=> b[1] };

^ I'm a beginner, where should I go to?
310970 [ben.aurel gm] After working with some ruby projects and playing with existing
+ 310972 [ben.aurel gm] gmail should rename the 'Send' button into 'read again and find typos'
| + 310976 [pikEISPAMMMs] Perhaps you could use different code profiling tools and benchmarks to
| | 310983 [ben.aurel gm] I found nothing for 'ruby Pretty' do you have a link maybe
| + 310977 [frederick.ch] There isn't a beginners list, so post away! There's some talk about
|   310984 [ben.aurel gm] on workingwithrails.com your authority level is 50% and the popularity
+ 310991 [transfire gm] Every line you write will have to be rewritten 10 times. You can

^ store data in join table
310974 [gani_chinta ] I have one join table called
+ 310986 [mguterl gmai] You want the RubyOnRails mailing-list.
+ 311028 [caduceass gm] I don't know why people pick those type of names for tables, but a
  311051 [caduceass gm] By that I meant the tablea_tableb nomenclature, which seems to be what

^ Visualizing in-memory objects?
310978 [pikEISPAMMMs] Object persistence, transparent, is something that I much desire.
310980 [mguterl gmai] Check out ograph.
311002 [shortcutter ] Sounds promising.  I didn't know that, thanks for the link, Michael!

^ Ruby
310987 [seeradisai l] Ruby is a dynamic, reflective, general purpose object-oriented
310996 [kathe.mayure] I might sound clueless, that's because I am.

^ what do you think of this code?
310988 [ben.aurel gm] In order to learn ruby I'd like to implement some simple unix tools in
+ 310990 [frederick.ch] Seems entirely sensible. were you to reuse this class elsewhere you
+ 310992 [stefano.croc] Yes (in my opinion, of course).
| 310997 [ben.aurel gm] thanks a lot for qour hints. I made a few changes based on your tips.
| 310999 [james graypr] I like this a lot less.  Let's say I want to build a GUI version of
| 311000 [frederick.ch] Yup. Instead of that puts and call to exit I'd raise an appropriate
| 311008 [ben.aurel gm] this is my solution to your inputs
| + 311011 [frederick.ch] (for me at least) the point of passing dir to initialize was that
| + 311014 [ruby urgewal] just a short notice: On line 11, you create attribute accessors for
| + 311042 [dblack rubyp] Here are a few more comments.
|   311099 [ben.aurel gm] I'm hugely impressed by your helpfull comments. Thanks alot. I've
|   311100 [martindemell] This is not doing what you think it does - when @path = "" is
|   311134 [ben.aurel gm] - like the unix 'ls' command the default parameter is '.'
|   311148 [adam.shelly ] This doesn't make sense to me.  Why shouldn't you be able to create a
+ 311035 [transfire gm] nd files "
  311041 [eoga elctech] if path =~ /..?/

^ rake gems install with local .gem files
311001 [gsterndale g] I'd like to take advantage of Rails 2.1 config.gem and rake gems
311049 [drbrain segm] gem install --local

^ Selenium and Selenium RC training in London
311004 [kramdeo gmai] On an Average a tester with Selenium skill sets earns 200=A3+ per day

^ Selenium and Selenium RC training in London
311005 [kramdeo gmai] On an Average a tester with Selenium skill sets earns 200=A3+ per day

^ Interactive Rake Tasks
311012 [smartocci gm] Anyone have a guide or a good example gem/rake task that prompts the
311038 [mo_mail ongh] Might be overkill but Radiant CMS has a task called rake dn:bootstrap
311040 [mo_mail ongh] Hope this helps.
311043 [smartocci gm] Thanks  Mohit, that helps, I see the ask and agree methods there, I
311054 [lister pikkl] ...
311066 [avdi avdi.or] Second this.
311067 [smartocci gm] It looks like the radiant tasks I looked at were using highline, this is

^ What's the easiest way to check if param[:x][:y] exists?
311013 [forum josh.c] In PHP I can simply check whether $param['x']['y'] exists regardless
+ 311016 [shadowfirebi] It looks to me as if you should be able to check for nil.
| + 311019 [shadowfirebi] irb(main):001:0> a = {:a=>{:x=>1}}
| + 311024 [tommy.morgan] That only works if param[:x] exists. It's also not perfect, since
+ 311017 [dblack rubyp] instead of quintuply-nested hashes :-) But if you want to have a hash
| 311171 [pit.capitain] David, hashes like this don't solve Josh's problem. He wants two
+ 311021 [stefano.croc] if (param[:x][:y] rescue nil)