15 Apr '13, 12pm

Integration testing in the absurd land of Rails: Log in user, hit a URL, and then check some ivars in a controller.

Testing support was woven into the Rails fabric from the beginning. It wasn’t an “oh! let’s bolt on support for running tests because they’re new and cool” epiphany. Just about every Rails application interacts heavily with a database – and, as a result, your tests will need a database to interact with as well. To write efficient tests, you’ll need to understand how to set up this database and populate it with sample data.

Full article: http://guides.rubyonrails.org/testing.html#integration-te...

Tweets

Diary of a Rails rescue project, part 2: Testin...

everydayrails.com 16 Apr '13, 4pm

Diary of a Rails rescue project, part 2: Testing April 16, 2013 As mentioned previously , I’ve been spending spare cycles ...

Ruby on Rails Guides: Ruby On Rails Security Gu...

guides.rubyonrails.org 19 Apr '13, 1pm

The threats against web applications include user account hijacking, bypass of access control, reading or modifying sensit...

Modifying the order of Datetime picker in Rails

api.rubyonrails.org 16 Apr '13, 5am

:use_month_numbers - Set to true if you want to use month numbers rather than month names (e.g. "2" instead of "February")...

Google Testing Sub (Secondary) Sitelinks

Google Testing Sub (Secondary) Sitelinks

searchengineland.com 15 Apr '13, 1pm

The Google Operating System blog noticed Google is testing a new form of Sitelinks on the mobile interface. These new site...

Building a fast, lightweight REST service with ...

pivotallabs.com 14 Apr '13, 9pm

I recently started building a Rails 3 app that will function as an internal REST service. I wanted it to be as lightweight...

“@0x6D6172696F: I wonder if there's many applic...

api.rubyonrails.org 21 Apr '13, 7pm

Class HTML::Sanitizer < Object actionpack/lib/action_controller/vendor/html-scanner/html/sanitizer.rb

Double Shot #1107: Teabag – Javascript test run...

afreshcup.com 15 Apr '13, 11am

is Mike Gunderloy's software development weblog, covering Ruby on Rails and whatever else I find interesting in the univer...

Ruby on Rails Guides: Action Controller Overview

guides.rubyonrails.org 17 Apr '13, 4am

class ClientsController < ActionController::Base # This action uses query string parameters because it gets run # by an HT...

@_atton resque worker なるものが処理してくれる

oiax.jp 19 Apr '13, 7am

#!/usr/bin/env ruby require File.expand_path('../../config/application', __FILE__) Rails.application.require_environment! ...

@jcoglan None of that looks wrong to me. What m...

modrails.com 14 Apr '13, 10am

2.1. Apache must already be running as root First, let us take a look at the typical Apache setup, in which Apache is boun...

@dzaporozhets I mean this So you should enable ...

guides.rubyonrails.org 15 Apr '13, 5pm

Database constraints and/or stored procedures make the validation mechanisms database-dependent and can make testing and m...

What's New in Edge Rails #65

afreshcup.com 22 Apr '13, 12pm

is Mike Gunderloy's software development weblog, covering Ruby on Rails and whatever else I find interesting in the univer...

#Sequel for #ActiveRecord users, great resource...

sequel.rubyforge.org 16 Apr '13, 7am

and ActiveRecord use the active record pattern of database access, where model instances are objects that wrap a row in a ...

Rails SQL injection vulnerability: hold your ho...

blog.phusion.nl 13 Apr '13, 9pm

So to inject arbitrary SQL, you need to tamper with the cookie, which requires the HMAC key. The HMAC key is the so-called...