From a8607d9e7b38d4268caa5647b25cea32fda4cf3d Mon Sep 17 00:00:00 2001 From: "Gun.io Whitespace Robot" Date: Sat, 17 Dec 2011 14:15:35 -0500 Subject: [PATCH] Remove whitespace [Gun.io WhitespaceBot] --- README | 6 +++--- app/models/fruit.rb | 2 +- config/initializers/inflections.rb | 2 +- config/initializers/session_store.rb | 2 +- db/schema.rb | 2 +- db/seeds.rb | 2 +- test/test_helper.rb | 2 +- 7 files changed, 9 insertions(+), 9 deletions(-) diff --git a/README b/README index 778a8a9..42e9384 100644 --- a/README +++ b/README @@ -9,10 +9,10 @@ Work in Ruby on Rails development? Great! Interviewing you just because a little 5. Branching master with a good description name 6. Writing an integration test to help prevent the error from happening again 7. Committing the work and merging it back into master - - = Depending on how they handle writing tests + + = Depending on how they handle writing tests 1. Create a new story for adding comments to a fruit (without a plugin please) 2. Implementing the story with correct branches 3. Optimising the queries to help make the app fast - + Ideally the further they get along the more they know about Rails, feel free to fork this and extend. \ No newline at end of file diff --git a/app/models/fruit.rb b/app/models/fruit.rb index dfc77fe..1fde2be 100644 --- a/app/models/fruit.rb +++ b/app/models/fruit.rb @@ -1,5 +1,5 @@ class Fruit < ActiveRecord::Base validates_presence_of :name - + end diff --git a/config/initializers/inflections.rb b/config/initializers/inflections.rb index d531b8b..9e8b013 100644 --- a/config/initializers/inflections.rb +++ b/config/initializers/inflections.rb @@ -1,6 +1,6 @@ # Be sure to restart your server when you modify this file. -# Add new inflection rules using the following format +# Add new inflection rules using the following format # (all these examples are active by default): # ActiveSupport::Inflector.inflections do |inflect| # inflect.plural /^(ox)$/i, '\1en' diff --git a/config/initializers/session_store.rb b/config/initializers/session_store.rb index beb4a6b..4e5b330 100644 --- a/config/initializers/session_store.rb +++ b/config/initializers/session_store.rb @@ -2,7 +2,7 @@ # Your secret key for verifying cookie session data integrity. # If you change this key, all old sessions will become invalid! -# Make sure the secret is at least 30 characters and all random, +# Make sure the secret is at least 30 characters and all random, # no regular words or you'll be exposed to dictionary attacks. ActionController::Base.session = { :key => '_job-interview_session', diff --git a/db/schema.rb b/db/schema.rb index abfe15c..61657f2 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -1,4 +1,4 @@ -# This file is auto-generated from the current state of the database. Instead of editing this file, +# This file is auto-generated from the current state of the database. Instead of editing this file, # please use the migrations feature of Active Record to incrementally modify your database, and # then regenerate this schema definition. # diff --git a/db/seeds.rb b/db/seeds.rb index 3174d0c..663890e 100644 --- a/db/seeds.rb +++ b/db/seeds.rb @@ -2,6 +2,6 @@ # The data can then be loaded with the rake db:seed (or created alongside the db with db:setup). # # Examples: -# +# # cities = City.create([{ :name => 'Chicago' }, { :name => 'Copenhagen' }]) # Major.create(:name => 'Daley', :city => cities.first) diff --git a/test/test_helper.rb b/test/test_helper.rb index b9fe251..e222496 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -16,7 +16,7 @@ class ActiveSupport::TestCase # don't care one way or the other, switching from MyISAM to InnoDB tables # is recommended. # - # The only drawback to using transactional fixtures is when you actually + # The only drawback to using transactional fixtures is when you actually # need to test transactions. Since your test is bracketed by a transaction, # any transactions started in your code will be automatically rolled back. self.use_transactional_fixtures = true