Archives - 05 April 2013, Friday

As a feature story progresses through the Tracker workflow, a lot of testing activities are also underway. Team members are collaborating to turn examples of desired behaviors into business-facing tests that guide development. Testers are performing manual exploratory testing on stori...

MessageVerifier makes it easy to generate and verify messages which are signed to prevent tampering. This is useful for cases like remember-me tokens and auto-unsubscribe links where the session store isn’t suitable or available. Remember Me: cookies[:remember_me] = @verifier.generate...

Related:

April 2nd, 2013 Signed forms, Single Table Inheritance, Sinatra assets and more, all on this episode of Ruby 5. March 29th, 2013 Create your indexes concurently with Rails 4, Exceptional joins the Rackspace family, Vagrant abandons rubygems, mobile is just another view into your app, ...

April 5, 2013 jyurek ruby debugging gdb Using GDB to inspect a running Ruby. This job shouldn’t be taking this long! Well, that’s not a great thing to have to say, is it? But I bet more than a few of you have said it before, and not many of you knew exactly why at the time. Oh, sure, ...

Code readability and Ruby Posted by noelrap on April 05, 2013 — 0 comments Do you want to watch a discussion/rant on code readability with a Ruby slant? Sure you do -- it’s this week's short video in the XI to Eye series. Comments   Post a Comment Comment abilities for non registere...

as an option for continuous testing when using Rails Apps Composer . He describes his development environment, explains why Guard is useful, and how the Rails Apps Composer gem saves time building applications. The blog post is titled

The April 2013 meeting of LRUG will be on Monday the 8th of April, from 6:30pm to 8:00pm. Our hosts Skills Matter will be providing the space, at their offices on Goswell Road; The Skills Matter eXchange . Registration details are given below . Agenda Better security for your web appl...

Related:

Friday, April 5, 2013 at 5:38AM Why Rackspace is Suing the Most Notorious Patent Troll In America - It's good to see someone standing up to the trolls. Makes me happy to have stuff hosted at Rackspace. Introducing Mac, iOS and RubyMotion Testing on Travis CI - More fun for your CI nee...

Related:

Blitz is the leading self-service cloud based load and performance testing platform. Built specifically for developers of API, cloud, web and mobile applications, Blitz delivers unique capabilities to quickly and efficiently ensure performance and scalability. To accelerate cloud adop...

Why don’t we use this format for locating Git resources? There are a few potential answers, such as the convenience of being able to easily cut-and-paste the location into a command line tool or a URL bar. But the best answer is that our ad-hoc JSON format is not uniform . The JSON ab...

Most gems contain pure Ruby code; they should simply leave the default value in place. Some gems contain C (or other) code to be compiled into a Ruby “extension”. The should leave the default value in place unless their code will only compile on a certain type of system. Some gems con...

MessageEncryptor is a simple way to encrypt values which get stored somewhere you don't trust. The cipher text and initialization vector are base64 encoded and returned to you. This can be used in situations similar to the MessageVerifier , but where you don’t want users to be able to...

Related:

At GitHub, we've been growing pretty quickly and that sort of growth presents a lot of challenges. We were feeling the pain of trying to teach everyone (developers and designers alike) how to get GitHub and all our other projects running on their laptops. The process was failure-prone...

Performs a GET request with the given parameters. path : The URI (as a String ) on which you want to perform a GET request. parameters : The HTTP parameters that you want to pass. This may be nil , a Hash , or a String that is appropriately encoded (application/x-www-form-urlencoded o...

, a participant who just graduated, has to say – “When I joined this course I was sceptical about how useful this course would be for me instead of reading material and watching videos on YouTube and thus saving money. After the course started I realised how valuable this course was. ...

Like gems, developers can setup a dependency on Ruby. This makes your app fail faster in case you depend on specific features in a Ruby VM. This way, the Ruby VM on your deployment server will match your local one. You can do this by using the ruby directive in the Gemfile : ruby ' RU...

Wrapping a string in this class gives you a prettier way to test for equality. The value returned by Rails.env is wrapped in a StringInquirer object so instead of calling this: Rails.env == "production" you can call this: Rails.env.production? Methods M method_missing Instance Public ...