403914-410657 subjects 404323-404967
how to skip lines whenever there is an error?
404113 [lists@ru y- ] option.select_by(:text, value)
+ 404114 [shortcutter@] begin
| 404115 [lists@ru y- ] I think you missed my point.
+ 404116 [lists@ru y- ] begin
| 404119 [shortcutter@] And now where exactly did I miss your point? This is what I suggested.
| 404120 [lists@ru y- ] Thanks
+ 404131 [lists@ru y- ] You need to slow down and read everything more carefully. A lot more of
+ 404153 [lists@ru y- ] begin
[ANN] RubyInstaller 1.9.3-p385 released
404118 [luislavena@g] In combination with the rest of the RubyInstaller team, I'm very
Why the speed?
404123 [lists@ru y- ] Attention!! Noob warning :)
+ 404124 [lists@ru y- ] 1) there is an newer ruby patchlevel available
+ 404125 [lists@ru y- ] 1) do I have to install it, or can I wait?
| 404126 [janicetr@fa ] Give "ruby test.rb" a try :)
| 404130 [lists@ru y- ] Thanks that helped. Im also very new to CMD soooo :)that figures.
+ 404128 [lists@ru y- ] If you installed ruby using the "ruby install for windows", then there's
| + 404134 [lists@ru y- ] Yessss :) very nice! thank you
| + 404139 [sto.mar@we .] Bad practice! That means that you have to press enter always,
| 404140 [lists@ru y- ] I am already working on it :) this is fun.
+ 404149 [lists@ru y- ] first_name = gets.chomp.capitalize
Help with the following program please
404127 [lists@ru y- ] Can anyone help me put this program together. It is crucial.
+ 404129 [lists@ru y- ] It would be much better for you to learn how to do this yourself. Have
| 404132 [lists@ru y- ] I have been trying to learn it by myself but to no avail, I am cracking
| 404133 [ryan@ra to m] Your tasks look like homework assignments...if this is the case, have
+ 404135 [shortcutter@] What for?
404136 [lists@ru y- ] I was trying to see if I could get some help on a few of the smaller
404137 [shortcutter@] Getting help is something different than asking others to write a
404138 [ryan@ra to m] Not only will you learn nothing, I'd think about the chances that your
Ruby Conference in Orange County CA Feb 23
404141 [lists@ru y- ] Conference in a great venue in Tustin, CA (Orange County). Check
execute_async_script v/s execute_script in Selenium web-driver
404144 [lists@ru y- ] In Selenium web-driver we know web-driver has 2 methods -
404146 [lists@ru y- ] Basically the async version doesn't wait for a return, your script
How to start programming in ruby ?
404145 [lists@ru y- ] 1.What should I install? In what work environment: linux or windows?
+ 404147 [lists@ru y- ] 1) You should be able to install Ruby in whatever operating system
+ 404150 [lists@ru y- ] 3. Currently dealing with work, in part related to programming. I
+ 404151 [sto.mar@we .] Linux or OS X is what most programmers are using.
404156 [lists@ru y- ] Yes I have experience with Java, C + +, C #.
[ANN] ruby2ruby 2.0.3 Released
404157 [ryand-ruby@z] ruby2ruby version 2.0.3 has been released!
[ANN] rake-remote_task 2.2.0 Released
404158 [ryand-ruby@z] rake-remote_task version 2.2.0 has been released!
[ANN] ZenTest 4.9.0 Released
404159 [ryand-ruby@z] ZenTest version 4.9.0 has been released!
[ANN] minitest 4.6.0 Released
404161 [ryand-ruby@z] minitest version 4.6.0 has been released!
[ANN] graph 2.5.2 Released
404162 [ryand-ruby@z] graph version 2.5.2 has been released!
[ANN] vlad 2.4.0 Released
404163 [ryand-ruby@z] vlad version 2.4.0 has been released!
testing console installation with ruby - quick question
404165 [lists@ru y- ] We're new to ruby.
404167 [hackandg@gm ] ruby -v
404195 [lists@ru y- ] Thanks for responding.
[ANN] Tork 19.2.1
404166 [sunaku@gm il] 1. Absorbs test execution overhead into a master process.
[SEC][ANN] Rack 1.1.6, a modular Ruby webserver interface
404168 [jftucker@gm ] Today we are proud to announce the release of Rack 1.1.6.
[SEC][ANN] Rack 1.2.8, a modular Ruby webserver interface
404169 [jftucker@gm ] Today we are proud to announce the release of Rack 1.2.8.
[SEC][ANN] Rack 1.3.10, a modular Ruby webserver interface
404170 [jftucker@gm ] Today we are proud to announce the release of Rack 1.3.10.
[SEC][ANN] Rack 1.4.5, a modular Ruby webserver interface
404171 [jftucker@gm ] Today we are proud to announce the release of Rack 1.4.5.
[SEC][ANN] Rack 1.5.2, a modular Ruby webserver interface
404172 [jftucker@gm ] Today we are proud to announce the release of Rack 1.5.2.
#split vs. #length. Different returns.
404179 [lists@ru y- ] I am wondering why these two lines of code at the bottom, which seem to
+ 404185 [jgabrielygal] String#split doesn't receive a block to specify where to split. So
+ 404207 [tamouse.list] "Now is the winter of our discontent".scan(/\w+/)
google reader API?
404181 [hawat.thufir] what's the best API to install?
404184 [hawat.thufir] a more full list. Just checking to see whether there are recommendations.
Best way to interact with samba
404183 [lists@ru y- ] I need to move some files from a linux to a widnows machine.
404190 [lists@ru y- ] If your linux box is running an ssh server you don't need samba. Simply
404191 [lists@ru y- ] Unfortunately I need to transfer files from linux to windows where the
+ 404192 [fluido@fl id] I have no idea if/how it works, since I don't do windows...
| 404193 [tony@ob ec f] You don't need to interact with Samba do you ?
+ 404194 [lists@ru y- ] Is the samba setup working? Try browsing the windows box using
Bundler vs. yanked Gems
404186 [leslieviljoe] There was a mistake with gem dependencies, resulting in net-scp 1.0.6 being
404319 [lists@ru y- ] Does not removing the Gemfile.lock resolve that issue? Recently I
Running e ncoded ruby scropt
404187 [lists@ru y- ] windows7.
New to ruby - need assistance with rewriting a script
404189 [lists@ru y- ] I'm working on learning ruby and trying to figure out how I would take
+ 404204 [tamouse.list] You might want to look at TImeCop in association with Chronic.
+ 404236 [lists@ru y- ] I'm not sure how TimeCop would be useful in this situation. It doesn't
404340 [tamouse.list] Chronic only gives you the next time in the formula, doesn't it? It
rake aborted! no such file to load -- ace
404198 [lists@ru y- ] while i am installing fedena on centos 5
404199 [justincollin] I think you mean
404200 [lists@ru y- ] yes sir exactly that is the problem for me
confusion with "rescue"
404201 [lists@ru y- ] def errors_with_message(pattern)
404202 [shortcutter@] irb(main):014:0> module M
[ANN] Serif version 0.2.2 released
404205 [adam@ap es o] Serif is a file-based blogging engine with an optional admin interface
404341 [tamouse.list] Looks nice!
elegant way to determine if something is defined
404208 [tamouse.list] 1.9.3-head :065 > b = a + 1
+ 404209 [adam@ap es o] defined?(a) #=> nil
| 404337 [tamouse.list] You've pretty much hit the nail on the head there -- legacy code, much
+ 404210 [fluido@fl id] Your question has already been answered. I just wanted to add that,
| 404219 [shortcutter@] That does not seem to make sense to me: why would you advocate testing
| 404224 [fluido@fl id] I did not advocate anything. I only described how my development
| + 404228 [matthew@ke w] Automatic tests are great for catching regressions, and are particularly
| + 404230 [shortcutter@] Well, yes. But since you do test you obviously think that is a good
| 404239 [fluido@fl id] I hope you don't mind if I reply only to the points I think are most
| 404339 [tamouse.list] Ay! Ay! Ay! You all have launched off into one my favourite rabbit
+ 404217 [shortcutter@] $ ruby -e 'b = a + 1 rescue 99; p b'
404254 [sto.mar@we .] Hmmm... very dangerous.
404290 [lists@ru y- ] `x + 1 ! E_TYPE';
404301 [sto.mar@we .] b = a + 1 rescue $!
404322 [matthew@ke w] +1 I've been writing so much perl lately I should have remembered the magic
Why doesn't Ruby have a built in sandbox class?
404211 [lists@ru y- ] After having some trouble getting the j-ruby sandbox gem to work
+ 404214 [shortcutter@] Maybe, that fine grained control you are thinking of is too
| 404223 [lists@ru y- ] Not so much that they wouldn't know how it works, but that it may
| 404225 [shortcutter@] I don't have enough time to follow up on the rest of the discussion
| 404226 [lists@ru y- ] Ah, ok, things are quite far along. 3.0 it is then. Incidentally, this
+ 404215 [shortcutter@] remember.guy do |as, often| as.you_can - without end
+ 404296 [tony.arcieri] I posted a strawman for something similar a few days ago. It's a bit
404302 [lists@ru y- ] Creating a secure context inside of a block would certainly be more
404333 [tony.arcieri] Wow, I wasn't aware $SAFE=4 was quite that powerful. Too bad it doesn't
[ANN] rubygems-openpgp 0.3.0
404212 [kgo@gr nt ol] rubygems-openpgp is a plugin that allows you to sign and verify gems via
minimagick test errors; Errno no such file or directory
404216 [lists@ru y- ] If git-buildpackage runs the tests i get two errors about file not
404453 [lists@ru y- ] I couldn't figure out why the tests fail, but the new version of
Ruby Equivalent to VB's "With"?
404218 [lists@ru y- ] I've looked around but I couldn't find anything helpful on this,
+ 404220 [shortcutter@] my_object.instance_eval do
+ 404221 [lists@ru y- ] Thanks Robert that looks like exactly what I needed.
+ 404222 [hmaddocks@me] tap?
+ 404227 [lists@ru y- ] Nice one Henry. As usual Ruby has more than one way to do everything :)
| 404229 [shortcutter@] IMHO #tap is only called for in these situations
+ 405459 [lists@ru y- ] Can this work for constants as well? I have a several constants within a
| 405462 [shortcutter@] Const lookup works differently from other identifiers (IIRC it's done
+ 405463 [lists@ru y- ] It's part of my continual effort to combine minimialism with readability
| 405464 [shortcutter@] With a module you can use include
+ 405465 [lists@ru y- ] Ah I see. I've only used include within classes before, I didn't think
firtst and only element of array (noob level)
404231 [lists@ru y- ] Lets say i have
404232 [thopre@gm il] arr is the whole Array object and arr is the first element of the array
404233 [lists@ru y- ] Yes but when the array contains only ONE element
404234 [fluido@fl id] You have to think of the array as the chest of apples. When you have
404237 [lists@ru y- ] Ok I see thnx
404253 [wbrisett@at ] You could always run a check of the array and see how many items are in it, if
404260 [lists@ru y- ] Thnx for your suggestion
The "ruby way" to do desktop applications?
404235 [lists@ru y- ] I use Ruby for web applications and I want to know what's the best
+ 404241 [lists@ru y- ] I've built a few simple desktop apps using Ruby, Tk, and Ocra.
| 404243 [lists@ru y- ] For exemple, I want to create an application to manage a small business.
| + 404248 [fluido@fl id] This is a bit of a weak point in Ruby. The GUI that has been included
| | + 404251 [wbrisett@at ] One other option is shoes, which has been getting some updates recently. But
| | + 404289 [stefano.croc] I like Qt very much instead. The bindings are quite complete and there's a gem
| | 404291 [lists@ru y- ] I can also add a recommendation for QT. I did extensive work with it
| | 404293 [rogerdpack2@] I have had good success with jruby swing wrappers.
| + 404266 [lists@ru y- ] Shoes, Shoes, and Shoes... it's dead simple, multi-platform, and uses
+ 404255 [lists@ru y- ] I want to build an application at least compatible with Windows.
+ 404263 [lists@ru y- ] I'm thinking about that and I asked me : "Why is it useful to create a
+ 404270 [lists@ru y- ] Shoes seems to be good. The demos than I seen seems to be a little bit
| 404282 [janicetr@fa ] I use wxruby for desktop applications. It's multiplatform, uses native widgets
+ 404294 [transfire@gm] ...
+ 404307 [lists@ru y- ] what about qtruby?
+ 404332 [lists@ru y- ] I've been using FXRuby too much, I've found 4 bugs in the way, only one
| 404347 [lists@ru y- ] +1 for Qt
+ 404359 [lists@ru y- ] I think I will use QtRuby. It seems to be very simple.
Best books for "advanced" programmers
404238 [lists@ru y- ] I'm looking for book about Ruby, Rails and especialy Design and
+ 404240 [rubytalk2dav] "Practical Object-Oriented Design in Ruby" (aka POODR) by Sandi Metz.
+ 404244 [lists@ru y- ] What about "Rails AntiPatterns" and "Clean Code"?
| 404329 [shortcutter@] +1
+ 404246 [lists@ru y- ] @Dave Aronson
| 404258 [rubytalk2dav] Haven't read any on that, I just picked it up from pieces of other
| 404259 [thiagown@gm ] Service-Oriented Design With Ruby on Rails by Paul Dix
+ 404256 [jeremy@bi sw] Kent Beck's "Smalltalk Best Practice Patterns" is great for Ruby
+ 404306 [lists@ru y- ] Can any one help me by saying the Good books on Ruby 1.9.3 and Ruby
| 404310 [wbrisett@at ] Seems to be very good.
+ 404321 [lists@ru y- ] Good Books on Ruby functional programing - any reference?
404324 [keystonelemu] Not necessarily Ruby, but gets you in the mindset: The little Schemer
+ 404325 [lists@ru y- ] Didn't get you.. :(
| 404326 [lists@ru y- ] Posted via http://www.ruby-forum.com/.
| 404328 [lists@ru y- ] Posted via http://www.ruby-forum.com/.
+ 404330 [carlos.agari] The first two chapters of Structure and Interpretation of Computer
404331 [hmaddocks@me] + 1 "Practical Object-Oriented Design in Ruby" (aka POODR) by Sandi Metz.
404343 [lists@ru y- ] Could you name some books on Ruby1.9.3?
Playing with DSLs, a question or two
404242 [peterhickman] I am playing around with writing some DSLs to help me get more familier
404261 [cookrn@gm il] Hey Peter,
404283 [peterhickman] Thanks Ryan.
404303 [toraritte@gm] Dwemthy's Array by Why can also be helpful
404304 [peterhickman] Guly=E1s
Issue with Excel column values read.
404245 [lists@ru y- ] I stuck in a point in my code. I have an excel which contains values as
+ 404247 [lists@ru y- ] If you already know it has to be an integer, use ".to_i", or "Integer()"
| 404249 [lists@ru y- ] No! @Joel - there can be anything - that's the problem. So I am looking
| 404250 [wbrisett@at ] If you're using the spreadsheet gem (which I am for one script), then you'll
| 404252 [lists@ru y- ] Tax code
+ 404257 [sto.mar@we .] Not without the information where the `wbs' object came from.
| 404264 [lists@ru y- ] I have provided the code, which is the most victim, so the full code is
| 404299 [sto.mar@we .] First, in your original post you did *not* state that you use win32ole.
+ 404272 [lists@ru y- ] You know where to change the value to an integer. Just before you select
| 404273 [lists@ru y- ] now say a column has value 10 and 15.2. Now ruby fetches 15.2 as
+ 404274 [lists@ru y- ] And how many select lists do you use which take floats?
| 404276 [lists@ru y- ] In the web-page only one "select list" which contains all mixture of
| 404277 [wbrisett@at ] Looking at your previous example list, you're right you have a mixture. But the
| 404279 [lists@ru y- ] There presence is dynamic in the column, but some times couldn't be
| 404281 [wbrisett@at ] You could write a routine to check the value if its a real number, make it an
| 404284 [lists@ru y- ] Okay, when the original real number comes into that column say 15.2
| 404288 [wbrisett@at ] Right, but again, this is where critical thinking comes into play (and rescue).
+ 404285 [lists@ru y- ] I don't know whether Selenium-Webdriver is easily capable of this kind
| 404286 [lists@ru y- ] Wooowwww!!!
+ 404292 [lists@ru y- ] I'd rather avoid using rescue unless it's unavoidable. Testing the
+ 404335 [lists@ru y- ] Use the Text property of a cell, rather than the Value property.
404342 [lists@ru y- ] Wowwww... Really nice, I never have thought about the things,you pointed
RDoc in latest version
404262 [roshkins@gm ] I hope I posted this to the mailing list as this pertains to ruby, but not
+ 404267 [matma.rex@gm] I think this is just a different "skin" or "theme" for RDoc. The command-line interface and the data is still the same; it's just displayed in a prettier way.
| 404268 [roshkins@gm ] I noticed that the indentation of bullet points didn't seem to matter.
| + 404269 [matma.rex@gm] Sorry, I don't know.
| | 404271 [roshkins@gm ] Thanks for your help anyways. Maybe someone else knows?
| + 404275 [zettabyte@gm] The new left margin would be where the first character after the bullet
| 404278 [roshkins@gm ] Kendall, thank you very much for your help!
+ 404297 [quintus@qu n] The three-frames output is the old RDoc layout of RDoc prior to version
[SEC][ANN] Rails 3.2.12, 3.1.11, and 2.3.17 have been released!
404265 [tenderlove@r] I'd like to announce that Rails 3.2.12, 3.1.11, and 2.3.17 have been releas=
How to see the all keys of "RbConfig::CONFIG" ?
404280 [lists@ru y- ] How to see the all keys of "RbConfig::CONFIG" ?
+ 404287 [lists@ru y- ] Humm! that's also would work!
+ 404295 [transfire@gm] ...
+ 404300 [sto.mar@we .] and what is your question???
404305 [lists@ru y- ] I just shared this and would like to see also, in what else way we can
text include, searching using a part of the word, storing the whole word if found
404312 [lists@ru y- ] Hey guys,
+ 404313 [lists@ru y- ] Gotta love Regexp
| 404314 [lists@ru y- ] Thanks a lot! Yes I'll manage to look after how to write to files, but I
+ 404315 [lists@ru y- ] Here's a link you can use to play around with the regex and see how it
+ 404316 [jgabrielygal] text =3D "something ???aaa.bbbb??? and something else"