Search

“ruby”

More pages from the web

46–50 of 1,734
  • evolutionarygoo.com/blog

    Evolutionary Goo

    Evolutionary Goo Giving Rails a Second Chance Posted by rob on March 08, 2011 Over the last few years, I?ve done what I think a lot of other Java developers have been doing. That is learning a new language or framework every year or so. I?ve studied and worked with a number of languages, including Ruby, Groovy, Python and Scala. While studying Ruby, I took a decent dive into Ruby on Rails. I really enjoyed its style of generating code using naming conventions and sensible defaults

  • wellho.net/horse

    Horse's Mouth - Trainer's Thoughts

    Horse's Mouth Musing, events and thoughts from Graham Ellis September 07, 2011 Assigning values to variables within other statements - Ruby In Ruby, and in Perl too, you can use assignments within other statements and in so doing perform two distinct actions in one line of code. Here's what I mean (using irb - interactive Ruby): >> j = 16 => 16 >> print "The value is #{k=j} at the moment" The value is 16 at the moment=> nil >> print k

  • ken.coar.org/burrow

    The Rodent's Burrow

    The Rodent's Burrow Maunderings Rodentical Blog Login Ruby: Tricks for blocks 2011-08-26 11:56 am 1 Comment Two little-known (?) tips about using blocks in Ruby: 1. Using splat in the block argument list You may (or may not) be familiar with using the splat operator to indicate a variable-length argument list in a method definition. Did you know you can also use it in the argument list of a block? irb> [1, 2, 3].each { |*args| puts(args.inspect) } [1] [2] [3] irb> { :one=>1, 'two

  • cosine.org

    Cosine Jeremiah and his Musings

    home about comic ruby livejournal avltree my business Cosine Jeremiah and his Musings Life and Ruby and Security April 10th, 2010 Rails, Django, and Just-Barely-Enough CSRF Protection This week I found what I thought was a bug in Rails 2.3: it does not check the anti-CSRF authenticity token for AJAX requests. Due to years of experience with Rails I knew that this was not the previous behavior I have come to expect, so I dug around and learned that this behavior was intentionally changed some

  • quora.com/Chris-Thomson

    Chris Thomson - Quora

    Chris Thomson, CS student, one of the Quora admins, Fusion Ads technical guy. Ruby [ http://www.quora.com/Ruby ] and JavaScript [ http://www.quora.com/JavaScript ] enthusiast. Apple [ http://www.quora.com/Apple-Inc-2 ] fanboy. Torontonian. [ http://www.quora.com/Toronto-ON ] Technical guy at Fusi