blue_csv 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (56) hide show
  1. data/MIT-LICENSE +20 -0
  2. data/README.rdoc +3 -0
  3. data/Rakefile +38 -0
  4. data/lib/blue_csv.rb +42 -0
  5. data/lib/blue_csv/version.rb +3 -0
  6. data/lib/tasks/blue_csv_tasks.rake +4 -0
  7. data/test/blue_csv_test.rb +18 -0
  8. data/test/dummy/README.rdoc +261 -0
  9. data/test/dummy/Rakefile +7 -0
  10. data/test/dummy/app/assets/javascripts/application.js +15 -0
  11. data/test/dummy/app/assets/stylesheets/application.css +13 -0
  12. data/test/dummy/app/controllers/application_controller.rb +3 -0
  13. data/test/dummy/app/controllers/home_controller.rb +9 -0
  14. data/test/dummy/app/helpers/application_helper.rb +2 -0
  15. data/test/dummy/app/models/book.rb +18 -0
  16. data/test/dummy/app/views/home/index.csv.blue +5 -0
  17. data/test/dummy/app/views/home/index.html.erb +1 -0
  18. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  19. data/test/dummy/config.ru +4 -0
  20. data/test/dummy/config/application.rb +56 -0
  21. data/test/dummy/config/boot.rb +10 -0
  22. data/test/dummy/config/database.yml +25 -0
  23. data/test/dummy/config/environment.rb +5 -0
  24. data/test/dummy/config/environments/development.rb +37 -0
  25. data/test/dummy/config/environments/production.rb +67 -0
  26. data/test/dummy/config/environments/test.rb +37 -0
  27. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  28. data/test/dummy/config/initializers/inflections.rb +15 -0
  29. data/test/dummy/config/initializers/mime_types.rb +5 -0
  30. data/test/dummy/config/initializers/secret_token.rb +7 -0
  31. data/test/dummy/config/initializers/session_store.rb +8 -0
  32. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  33. data/test/dummy/config/locales/en.yml +5 -0
  34. data/test/dummy/config/routes.rb +62 -0
  35. data/test/dummy/db/development.sqlite3 +0 -0
  36. data/test/dummy/db/test.sqlite3 +0 -0
  37. data/test/dummy/log/development.log +681 -0
  38. data/test/dummy/log/test.log +105 -0
  39. data/test/dummy/public/404.html +26 -0
  40. data/test/dummy/public/422.html +26 -0
  41. data/test/dummy/public/500.html +25 -0
  42. data/test/dummy/public/favicon.ico +0 -0
  43. data/test/dummy/script/rails +6 -0
  44. data/test/dummy/tmp/cache/assets/C7F/E50/sprockets%2Fe160568f241c17537759cb246e1c44a5 +0 -0
  45. data/test/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953 +0 -0
  46. data/test/dummy/tmp/cache/assets/D26/4E0/sprockets%2F28fbf2cc2d5401172eab41b96b30251e +0 -0
  47. data/test/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705 +0 -0
  48. data/test/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655 +0 -0
  49. data/test/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6 +0 -0
  50. data/test/dummy/tmp/cache/assets/DCF/F90/sprockets%2Fa2be717be9db9497053338becbaec17d +0 -0
  51. data/test/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994 +0 -0
  52. data/test/dummy/tmp/cache/assets/DFB/4A0/sprockets%2Feabee50702831b1a0e1969ecf4efce7e +0 -0
  53. data/test/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af +0 -0
  54. data/test/dummy/tmp/pids/server.pid +1 -0
  55. data/test/test_helper.rb +15 -0
  56. metadata +182 -0
@@ -0,0 +1,2 @@
1
+ module ApplicationHelper
2
+ end
@@ -0,0 +1,18 @@
1
+ class Book
2
+
3
+ attr_accessor :title, :author
4
+
5
+ def initialize (title, author)
6
+ @title = title
7
+ @author = author
8
+ end
9
+
10
+ def self.all
11
+ [
12
+ Book.new('Da Vinci Code', 'Dan Brown'),
13
+ Book.new('Name of the Rose', 'Umberto Eco'),
14
+ Book.new('The Private Patient', 'PD James')
15
+ ]
16
+ end
17
+
18
+ end
@@ -0,0 +1,5 @@
1
+ csv << ["Title", "Author"]
2
+
3
+ @books.each do |book|
4
+ csv << [book.title, book.author]
5
+ end
@@ -0,0 +1 @@
1
+ <h3>Please <%= link_to 'click here', home_path(:format => :csv) %> to download the CSV example.</h3>
@@ -0,0 +1,14 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>Dummy</title>
5
+ <%= stylesheet_link_tag "application", :media => "all" %>
6
+ <%= javascript_include_tag "application" %>
7
+ <%= csrf_meta_tags %>
8
+ </head>
9
+ <body>
10
+
11
+ <%= yield %>
12
+
13
+ </body>
14
+ </html>
@@ -0,0 +1,4 @@
1
+ # This file is used by Rack-based servers to start the application.
2
+
3
+ require ::File.expand_path('../config/environment', __FILE__)
4
+ run Dummy::Application
@@ -0,0 +1,56 @@
1
+ require File.expand_path('../boot', __FILE__)
2
+
3
+ require 'rails/all'
4
+
5
+ Bundler.require
6
+ require "blue_csv"
7
+
8
+ module Dummy
9
+ class Application < Rails::Application
10
+ # Settings in config/environments/* take precedence over those specified here.
11
+ # Application configuration should go into files in config/initializers
12
+ # -- all .rb files in that directory are automatically loaded.
13
+
14
+ # Custom directories with classes and modules you want to be autoloadable.
15
+ # config.autoload_paths += %W(#{config.root}/extras)
16
+
17
+ # Only load the plugins named here, in the order given (default is alphabetical).
18
+ # :all can be used as a placeholder for all plugins not explicitly named.
19
+ # config.plugins = [ :exception_notification, :ssl_requirement, :all ]
20
+
21
+ # Activate observers that should always be running.
22
+ # config.active_record.observers = :cacher, :garbage_collector, :forum_observer
23
+
24
+ # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
25
+ # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
26
+ # config.time_zone = 'Central Time (US & Canada)'
27
+
28
+ # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
29
+ # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
30
+ # config.i18n.default_locale = :de
31
+
32
+ # Configure the default encoding used in templates for Ruby 1.9.
33
+ config.encoding = "utf-8"
34
+
35
+ # Configure sensitive parameters which will be filtered from the log file.
36
+ config.filter_parameters += [:password]
37
+
38
+ # Use SQL instead of Active Record's schema dumper when creating the database.
39
+ # This is necessary if your schema can't be completely dumped by the schema dumper,
40
+ # like if you have constraints or database-specific column types
41
+ # config.active_record.schema_format = :sql
42
+
43
+ # Enforce whitelist mode for mass assignment.
44
+ # This will create an empty whitelist of attributes available for mass-assignment for all models
45
+ # in your app. As such, your models will need to explicitly whitelist or blacklist accessible
46
+ # parameters by using an attr_accessible or attr_protected declaration.
47
+ # config.active_record.whitelist_attributes = true
48
+
49
+ # Enable the asset pipeline
50
+ config.assets.enabled = true
51
+
52
+ # Version of your assets, change this if you want to expire all your assets
53
+ config.assets.version = '1.0'
54
+ end
55
+ end
56
+
@@ -0,0 +1,10 @@
1
+ require 'rubygems'
2
+ gemfile = File.expand_path('../../../../Gemfile', __FILE__)
3
+
4
+ if File.exist?(gemfile)
5
+ ENV['BUNDLE_GEMFILE'] = gemfile
6
+ require 'bundler'
7
+ Bundler.setup
8
+ end
9
+
10
+ $:.unshift File.expand_path('../../../../lib', __FILE__)
@@ -0,0 +1,25 @@
1
+ # SQLite version 3.x
2
+ # gem install sqlite3
3
+ #
4
+ # Ensure the SQLite 3 gem is defined in your Gemfile
5
+ # gem 'sqlite3'
6
+ development:
7
+ adapter: sqlite3
8
+ database: db/development.sqlite3
9
+ pool: 5
10
+ timeout: 5000
11
+
12
+ # Warning: The database defined as "test" will be erased and
13
+ # re-generated from your development database when you run "rake".
14
+ # Do not set this db to the same as development or production.
15
+ test:
16
+ adapter: sqlite3
17
+ database: db/test.sqlite3
18
+ pool: 5
19
+ timeout: 5000
20
+
21
+ production:
22
+ adapter: sqlite3
23
+ database: db/production.sqlite3
24
+ pool: 5
25
+ timeout: 5000
@@ -0,0 +1,5 @@
1
+ # Load the rails application
2
+ require File.expand_path('../application', __FILE__)
3
+
4
+ # Initialize the rails application
5
+ Dummy::Application.initialize!
@@ -0,0 +1,37 @@
1
+ Dummy::Application.configure do
2
+ # Settings specified here will take precedence over those in config/application.rb
3
+
4
+ # In the development environment your application's code is reloaded on
5
+ # every request. This slows down response time but is perfect for development
6
+ # since you don't have to restart the web server when you make code changes.
7
+ config.cache_classes = false
8
+
9
+ # Log error messages when you accidentally call methods on nil.
10
+ config.whiny_nils = true
11
+
12
+ # Show full error reports and disable caching
13
+ config.consider_all_requests_local = true
14
+ config.action_controller.perform_caching = false
15
+
16
+ # Don't care if the mailer can't send
17
+ config.action_mailer.raise_delivery_errors = false
18
+
19
+ # Print deprecation notices to the Rails logger
20
+ config.active_support.deprecation = :log
21
+
22
+ # Only use best-standards-support built into browsers
23
+ config.action_dispatch.best_standards_support = :builtin
24
+
25
+ # Raise exception on mass assignment protection for Active Record models
26
+ config.active_record.mass_assignment_sanitizer = :strict
27
+
28
+ # Log the query plan for queries taking more than this (works
29
+ # with SQLite, MySQL, and PostgreSQL)
30
+ config.active_record.auto_explain_threshold_in_seconds = 0.5
31
+
32
+ # Do not compress assets
33
+ config.assets.compress = false
34
+
35
+ # Expands the lines which load the assets
36
+ config.assets.debug = true
37
+ end
@@ -0,0 +1,67 @@
1
+ Dummy::Application.configure do
2
+ # Settings specified here will take precedence over those in config/application.rb
3
+
4
+ # Code is not reloaded between requests
5
+ config.cache_classes = true
6
+
7
+ # Full error reports are disabled and caching is turned on
8
+ config.consider_all_requests_local = false
9
+ config.action_controller.perform_caching = true
10
+
11
+ # Disable Rails's static asset server (Apache or nginx will already do this)
12
+ config.serve_static_assets = false
13
+
14
+ # Compress JavaScripts and CSS
15
+ config.assets.compress = true
16
+
17
+ # Don't fallback to assets pipeline if a precompiled asset is missed
18
+ config.assets.compile = false
19
+
20
+ # Generate digests for assets URLs
21
+ config.assets.digest = true
22
+
23
+ # Defaults to Rails.root.join("public/assets")
24
+ # config.assets.manifest = YOUR_PATH
25
+
26
+ # Specifies the header that your server uses for sending files
27
+ # config.action_dispatch.x_sendfile_header = "X-Sendfile" # for apache
28
+ # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for nginx
29
+
30
+ # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
31
+ # config.force_ssl = true
32
+
33
+ # See everything in the log (default is :info)
34
+ # config.log_level = :debug
35
+
36
+ # Prepend all log lines with the following tags
37
+ # config.log_tags = [ :subdomain, :uuid ]
38
+
39
+ # Use a different logger for distributed setups
40
+ # config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)
41
+
42
+ # Use a different cache store in production
43
+ # config.cache_store = :mem_cache_store
44
+
45
+ # Enable serving of images, stylesheets, and JavaScripts from an asset server
46
+ # config.action_controller.asset_host = "http://assets.example.com"
47
+
48
+ # Precompile additional assets (application.js, application.css, and all non-JS/CSS are already added)
49
+ # config.assets.precompile += %w( search.js )
50
+
51
+ # Disable delivery errors, bad email addresses will be ignored
52
+ # config.action_mailer.raise_delivery_errors = false
53
+
54
+ # Enable threaded mode
55
+ # config.threadsafe!
56
+
57
+ # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
58
+ # the I18n.default_locale when a translation can not be found)
59
+ config.i18n.fallbacks = true
60
+
61
+ # Send deprecation notices to registered listeners
62
+ config.active_support.deprecation = :notify
63
+
64
+ # Log the query plan for queries taking more than this (works
65
+ # with SQLite, MySQL, and PostgreSQL)
66
+ # config.active_record.auto_explain_threshold_in_seconds = 0.5
67
+ end
@@ -0,0 +1,37 @@
1
+ Dummy::Application.configure do
2
+ # Settings specified here will take precedence over those in config/application.rb
3
+
4
+ # The test environment is used exclusively to run your application's
5
+ # test suite. You never need to work with it otherwise. Remember that
6
+ # your test database is "scratch space" for the test suite and is wiped
7
+ # and recreated between test runs. Don't rely on the data there!
8
+ config.cache_classes = true
9
+
10
+ # Configure static asset server for tests with Cache-Control for performance
11
+ config.serve_static_assets = true
12
+ config.static_cache_control = "public, max-age=3600"
13
+
14
+ # Log error messages when you accidentally call methods on nil
15
+ config.whiny_nils = true
16
+
17
+ # Show full error reports and disable caching
18
+ config.consider_all_requests_local = true
19
+ config.action_controller.perform_caching = false
20
+
21
+ # Raise exceptions instead of rendering exception templates
22
+ config.action_dispatch.show_exceptions = false
23
+
24
+ # Disable request forgery protection in test environment
25
+ config.action_controller.allow_forgery_protection = false
26
+
27
+ # Tell Action Mailer not to deliver emails to the real world.
28
+ # The :test delivery method accumulates sent emails in the
29
+ # ActionMailer::Base.deliveries array.
30
+ config.action_mailer.delivery_method = :test
31
+
32
+ # Raise exception on mass assignment protection for Active Record models
33
+ config.active_record.mass_assignment_sanitizer = :strict
34
+
35
+ # Print deprecation notices to the stderr
36
+ config.active_support.deprecation = :stderr
37
+ end
@@ -0,0 +1,7 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
4
+ # Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
5
+
6
+ # You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
7
+ # Rails.backtrace_cleaner.remove_silencers!
@@ -0,0 +1,15 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Add new inflection rules using the following format
4
+ # (all these examples are active by default):
5
+ # ActiveSupport::Inflector.inflections do |inflect|
6
+ # inflect.plural /^(ox)$/i, '\1en'
7
+ # inflect.singular /^(ox)en/i, '\1'
8
+ # inflect.irregular 'person', 'people'
9
+ # inflect.uncountable %w( fish sheep )
10
+ # end
11
+ #
12
+ # These inflection rules are supported but not enabled by default:
13
+ # ActiveSupport::Inflector.inflections do |inflect|
14
+ # inflect.acronym 'RESTful'
15
+ # end
@@ -0,0 +1,5 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Add new mime types for use in respond_to blocks:
4
+ # Mime::Type.register "text/richtext", :rtf
5
+ # Mime::Type.register_alias "text/html", :iphone
@@ -0,0 +1,7 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Your secret key for verifying the integrity of signed cookies.
4
+ # If you change this key, all old signed cookies will become invalid!
5
+ # Make sure the secret is at least 30 characters and all random,
6
+ # no regular words or you'll be exposed to dictionary attacks.
7
+ Dummy::Application.config.secret_token = 'c25b087dc54bf8c17f5ad37ff97b803961812075c384d06b57bc0fcec064dada6eced8da59f63bab294428b03f4bb70ca38656919cd5cc37701793c9be03c6ac'
@@ -0,0 +1,8 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ Dummy::Application.config.session_store :cookie_store, key: '_dummy_session'
4
+
5
+ # Use the database for sessions instead of the cookie-based default,
6
+ # which shouldn't be used to store highly confidential information
7
+ # (create the session table with "rails generate session_migration")
8
+ # Dummy::Application.config.session_store :active_record_store
@@ -0,0 +1,14 @@
1
+ # Be sure to restart your server when you modify this file.
2
+ #
3
+ # This file contains settings for ActionController::ParamsWrapper which
4
+ # is enabled by default.
5
+
6
+ # Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
7
+ ActiveSupport.on_load(:action_controller) do
8
+ wrap_parameters format: [:json]
9
+ end
10
+
11
+ # Disable root element in JSON by default.
12
+ ActiveSupport.on_load(:active_record) do
13
+ self.include_root_in_json = false
14
+ end
@@ -0,0 +1,5 @@
1
+ # Sample localization file for English. Add more files in this directory for other locales.
2
+ # See https://github.com/svenfuchs/rails-i18n/tree/master/rails%2Flocale for starting points.
3
+
4
+ en:
5
+ hello: "Hello world"
@@ -0,0 +1,62 @@
1
+ Dummy::Application.routes.draw do
2
+ get "home/index"
3
+
4
+ match "/home(.:format)", :to => "home#index", :as => :home
5
+
6
+ # The priority is based upon order of creation:
7
+ # first created -> highest priority.
8
+
9
+ # Sample of regular route:
10
+ # match 'products/:id' => 'catalog#view'
11
+ # Keep in mind you can assign values other than :controller and :action
12
+
13
+ # Sample of named route:
14
+ # match 'products/:id/purchase' => 'catalog#purchase', :as => :purchase
15
+ # This route can be invoked with purchase_url(:id => product.id)
16
+
17
+ # Sample resource route (maps HTTP verbs to controller actions automatically):
18
+ # resources :products
19
+
20
+ # Sample resource route with options:
21
+ # resources :products do
22
+ # member do
23
+ # get 'short'
24
+ # post 'toggle'
25
+ # end
26
+ #
27
+ # collection do
28
+ # get 'sold'
29
+ # end
30
+ # end
31
+
32
+ # Sample resource route with sub-resources:
33
+ # resources :products do
34
+ # resources :comments, :sales
35
+ # resource :seller
36
+ # end
37
+
38
+ # Sample resource route with more complex sub-resources
39
+ # resources :products do
40
+ # resources :comments
41
+ # resources :sales do
42
+ # get 'recent', :on => :collection
43
+ # end
44
+ # end
45
+
46
+ # Sample resource route within a namespace:
47
+ # namespace :admin do
48
+ # # Directs /admin/products/* to Admin::ProductsController
49
+ # # (app/controllers/admin/products_controller.rb)
50
+ # resources :products
51
+ # end
52
+
53
+ # You can have the root of your site routed with "root"
54
+ # just remember to delete public/index.html.
55
+ # root :to => 'welcome#index'
56
+
57
+ # See how all your routes lay out with "rake routes"
58
+
59
+ # This is a legacy wild controller route that's not recommended for RESTful applications.
60
+ # Note: This route will make all actions in every controller accessible via GET requests.
61
+ # match ':controller(/:action(/:id))(.:format)'
62
+ end
File without changes
File without changes
@@ -0,0 +1,681 @@
1
+
2
+
3
+ Started GET "/home.csv" for 127.0.0.1 at 2012-03-21 22:58:13 +0000
4
+ Processing by HomeController#index as CSV
5
+ Completed 500 Internal Server Error in 1ms
6
+
7
+ NoMethodError (undefined method `+' for :contents:Symbol):
8
+ app/controllers/home_controller.rb:3:in `index'
9
+
10
+
11
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_trace.erb (3.9ms)
12
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.2ms)
13
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (17.7ms)
14
+
15
+
16
+ Started GET "/home.csv" for 127.0.0.1 at 2012-03-21 22:58:30 +0000
17
+ Processing by HomeController#index as CSV
18
+ Rendered home/index.csv.erb (0.3ms)
19
+ Completed 200 OK in 2ms (Views: 1.9ms | ActiveRecord: 0.0ms)
20
+
21
+
22
+ Started GET "/home.csv" for 127.0.0.1 at 2012-03-21 22:58:50 +0000
23
+ Processing by HomeController#index as CSV
24
+ Rendered home/index.csv.erb (0.4ms)
25
+ Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms)
26
+
27
+
28
+ Started GET "/home.csv" for 127.0.0.1 at 2012-03-21 22:59:02 +0000
29
+ Processing by HomeController#index as CSV
30
+ Rendered home/index.csv.erb (0.4ms)
31
+ Completed 200 OK in 2ms (Views: 1.4ms | ActiveRecord: 0.0ms)
32
+
33
+
34
+ Started GET "/home.csv" for 127.0.0.1 at 2012-03-21 23:07:39 +0000
35
+ Processing by HomeController#index as CSV
36
+ Rendered home/index.csv.erb (0.0ms)
37
+ Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms)
38
+
39
+
40
+ Started GET "/home.csv" for 127.0.0.1 at 2012-03-21 23:08:13 +0000
41
+ Processing by HomeController#index as CSV
42
+ Completed 500 Internal Server Error in 30ms
43
+
44
+ ActionView::MissingTemplate (Missing template home/index, application/index with {:locale=>[:en], :formats=>[:csv], :handlers=>[:erb, :builder]}. Searched in:
45
+ * "/Users/artansinani/ror/blue_csv/test/dummy/app/views"
46
+ ):
47
+ app/controllers/home_controller.rb:3:in `index'
48
+
49
+
50
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/missing_template.erb within rescues/layout (0.5ms)
51
+
52
+
53
+ Started GET "/home.csv" for 127.0.0.1 at 2012-03-21 23:08:34 +0000
54
+ Processing by HomeController#index as CSV
55
+ Rendered home/index.csv.blue (5.0ms)
56
+ Completed 500 Internal Server Error in 13ms
57
+
58
+ ActionView::Template::Error (uninitialized constant CsvGeneretor::CSV):
59
+ 1: csv << ["Test"]
60
+ app/views/home/index.csv.blue:2:in `_app_views_home_index_csv_blue__1701909844052426444_70227444999800'
61
+ app/controllers/home_controller.rb:3:in `index'
62
+
63
+
64
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_trace.erb (4.8ms)
65
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.3ms)
66
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (17.9ms)
67
+
68
+
69
+ Started GET "/home.csv" for 127.0.0.1 at 2012-03-21 23:09:09 +0000
70
+ Processing by HomeController#index as CSV
71
+ Rendered home/index.csv.blue (4.5ms)
72
+ Completed 500 Internal Server Error in 13ms
73
+
74
+ ActionView::Template::Error (undefined local variable or method `csv' for CsvGeneretor:Class):
75
+ 1: csv << ["Test"]
76
+ app/views/home/index.csv.blue:2:in `_app_views_home_index_csv_blue__1291746436588493597_70308394914760'
77
+ app/controllers/home_controller.rb:3:in `index'
78
+
79
+
80
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_trace.erb (4.9ms)
81
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.3ms)
82
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (15.6ms)
83
+
84
+
85
+ Started GET "/home.csv" for 127.0.0.1 at 2012-03-21 23:10:11 +0000
86
+ Processing by HomeController#index as CSV
87
+ Rendered home/index.csv.blue (0.6ms)
88
+ Completed 200 OK in 10ms (Views: 9.2ms | ActiveRecord: 0.0ms)
89
+
90
+
91
+ Started GET "/home.csv" for 127.0.0.1 at 2012-03-21 23:38:14 +0000
92
+ Processing by HomeController#index as CSV
93
+ ERROR: compiling _app_views_home_index_csv_blue___2277767502986241582_70228922017480 RAISED /Users/artansinani/ror/blue_csv/test/dummy/app/views/home/index.csv.blue:3: dynamic constant assignment
94
+ Heading1, Heading2
95
+ ^
96
+ /Users/artansinani/ror/blue_csv/test/dummy/app/views/home/index.csv.blue:3: dynamic constant assignment
97
+ /Users/artansinani/ror/blue_csv/test/dummy/app/views/home/index.csv.blue:3: syntax error, unexpected '\n', expecting '='
98
+ Function body: def _app_views_home_index_csv_blue___2277767502986241582_70228922017480(local_assigns, output_buffer)
99
+ _old_virtual_path, @virtual_path = @virtual_path, "home/index";_old_output_buffer = @output_buffer;;
100
+ CsvGeneretor.generate do |csv|
101
+ Heading1, Heading2
102
+ csv << ["Test", "Column 2"]
103
+ end
104
+
105
+ ensure
106
+ @virtual_path, @output_buffer = _old_virtual_path, _old_output_buffer
107
+ end
108
+
109
+ Backtrace: /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_view/template.rb:285:in `module_eval'
110
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_view/template.rb:285:in `compile'
111
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_view/template.rb:233:in `compile!'
112
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_view/template.rb:142:in `block in render'
113
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.2/lib/active_support/notifications.rb:125:in `instrument'
114
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_view/template.rb:141:in `render'
115
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_view/renderer/template_renderer.rb:42:in `block (2 levels) in render_template'
116
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
117
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.2/lib/active_support/notifications.rb:123:in `block in instrument'
118
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.2/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
119
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.2/lib/active_support/notifications.rb:123:in `instrument'
120
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
121
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_view/renderer/template_renderer.rb:41:in `block in render_template'
122
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_view/renderer/template_renderer.rb:49:in `render_with_layout'
123
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_view/renderer/template_renderer.rb:40:in `render_template'
124
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_view/renderer/template_renderer.rb:13:in `render'
125
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_view/renderer/renderer.rb:36:in `render_template'
126
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_view/renderer/renderer.rb:17:in `render'
127
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/abstract_controller/rendering.rb:109:in `_render_template'
128
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_controller/metal/streaming.rb:225:in `_render_template'
129
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/abstract_controller/rendering.rb:103:in `render_to_body'
130
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_controller/metal/renderers.rb:28:in `render_to_body'
131
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_controller/metal/compatibility.rb:50:in `render_to_body'
132
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/abstract_controller/rendering.rb:88:in `render'
133
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_controller/metal/rendering.rb:16:in `render'
134
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render'
135
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.2/lib/active_support/core_ext/benchmark.rb:5:in `block in ms'
136
+ /Users/artansinani/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/benchmark.rb:295:in `realtime'
137
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.2/lib/active_support/core_ext/benchmark.rb:5:in `ms'
138
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_controller/metal/instrumentation.rb:40:in `block in render'
139
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime'
140
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activerecord-3.2.2/lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime'
141
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_controller/metal/instrumentation.rb:39:in `render'
142
+ /Users/artansinani/ror/blue_csv/lib/blue_csv.rb:18:in `block in <top (required)>'
143
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_controller/metal/renderers.rb:35:in `block in _handle_render_options'
144
+ /Users/artansinani/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/set.rb:222:in `block in each'
145
+ /Users/artansinani/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/set.rb:222:in `each_key'
146
+ /Users/artansinani/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/set.rb:222:in `each'
147
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_controller/metal/renderers.rb:32:in `_handle_render_options'
148
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_controller/metal/renderers.rb:28:in `render_to_body'
149
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_controller/metal/compatibility.rb:50:in `render_to_body'
150
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/abstract_controller/rendering.rb:88:in `render'
151
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_controller/metal/rendering.rb:16:in `render'
152
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render'
153
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.2/lib/active_support/core_ext/benchmark.rb:5:in `block in ms'
154
+ /Users/artansinani/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/benchmark.rb:295:in `realtime'
155
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.2/lib/active_support/core_ext/benchmark.rb:5:in `ms'
156
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_controller/metal/instrumentation.rb:40:in `block in render'
157
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime'
158
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activerecord-3.2.2/lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime'
159
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_controller/metal/instrumentation.rb:39:in `render'
160
+ /Users/artansinani/ror/blue_csv/test/dummy/app/controllers/home_controller.rb:3:in `index'
161
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
162
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/abstract_controller/base.rb:167:in `process_action'
163
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_controller/metal/rendering.rb:10:in `process_action'
164
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/abstract_controller/callbacks.rb:18:in `block in process_action'
165
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.2/lib/active_support/callbacks.rb:414:in `_run__2331287834261770694__process_action__128578659575379691__callbacks'
166
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.2/lib/active_support/callbacks.rb:405:in `__run_callback'
167
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.2/lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
168
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.2/lib/active_support/callbacks.rb:81:in `run_callbacks'
169
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/abstract_controller/callbacks.rb:17:in `process_action'
170
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_controller/metal/rescue.rb:29:in `process_action'
171
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
172
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.2/lib/active_support/notifications.rb:123:in `block in instrument'
173
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.2/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
174
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.2/lib/active_support/notifications.rb:123:in `instrument'
175
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_controller/metal/instrumentation.rb:29:in `process_action'
176
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_controller/metal/params_wrapper.rb:205:in `process_action'
177
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activerecord-3.2.2/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
178
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/abstract_controller/base.rb:121:in `process'
179
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/abstract_controller/rendering.rb:45:in `process'
180
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_controller/metal.rb:203:in `dispatch'
181
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
182
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_controller/metal.rb:246:in `block in action'
183
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/routing/route_set.rb:67:in `call'
184
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/routing/route_set.rb:67:in `dispatch'
185
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/routing/route_set.rb:30:in `call'
186
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/journey-1.0.3/lib/journey/router.rb:68:in `block in call'
187
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/journey-1.0.3/lib/journey/router.rb:56:in `each'
188
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/journey-1.0.3/lib/journey/router.rb:56:in `call'
189
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/routing/route_set.rb:594:in `call'
190
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
191
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/rack-1.4.1/lib/rack/etag.rb:23:in `call'
192
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/rack-1.4.1/lib/rack/conditionalget.rb:25:in `call'
193
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/head.rb:14:in `call'
194
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/params_parser.rb:21:in `call'
195
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/flash.rb:242:in `call'
196
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/rack-1.4.1/lib/rack/session/abstract/id.rb:205:in `context'
197
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/rack-1.4.1/lib/rack/session/abstract/id.rb:200:in `call'
198
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/cookies.rb:338:in `call'
199
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activerecord-3.2.2/lib/active_record/query_cache.rb:64:in `call'
200
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activerecord-3.2.2/lib/active_record/connection_adapters/abstract/connection_pool.rb:443:in `call'
201
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
202
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.2/lib/active_support/callbacks.rb:405:in `_run__3694674570617356237__call__1486937568326009365__callbacks'
203
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.2/lib/active_support/callbacks.rb:405:in `__run_callback'
204
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.2/lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
205
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.2/lib/active_support/callbacks.rb:81:in `run_callbacks'
206
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/callbacks.rb:27:in `call'
207
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/reloader.rb:65:in `call'
208
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
209
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
210
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
211
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/railties-3.2.2/lib/rails/rack/logger.rb:26:in `call_app'
212
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/railties-3.2.2/lib/rails/rack/logger.rb:16:in `call'
213
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/request_id.rb:22:in `call'
214
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/rack-1.4.1/lib/rack/methodoverride.rb:21:in `call'
215
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/rack-1.4.1/lib/rack/runtime.rb:17:in `call'
216
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/activesupport-3.2.2/lib/active_support/cache/strategy/local_cache.rb:72:in `call'
217
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/rack-1.4.1/lib/rack/lock.rb:15:in `call'
218
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/static.rb:61:in `call'
219
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/railties-3.2.2/lib/rails/engine.rb:479:in `call'
220
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/railties-3.2.2/lib/rails/application.rb:220:in `call'
221
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/rack-1.4.1/lib/rack/content_length.rb:14:in `call'
222
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/railties-3.2.2/lib/rails/rack/log_tailer.rb:14:in `call'
223
+ /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/rack-1.4.1/lib/rack/handler/webrick.rb:59:in `service'
224
+ /Users/artansinani/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
225
+ /Users/artansinani/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
226
+ /Users/artansinani/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
227
+ Rendered home/index.csv.blue (28.3ms)
228
+ Completed 500 Internal Server Error in 30ms
229
+
230
+ ActionView::Template::Error (/Users/artansinani/ror/blue_csv/test/dummy/app/views/home/index.csv.blue:3: dynamic constant assignment
231
+ Heading1, Heading2
232
+ ^
233
+ /Users/artansinani/ror/blue_csv/test/dummy/app/views/home/index.csv.blue:3: dynamic constant assignment
234
+ /Users/artansinani/ror/blue_csv/test/dummy/app/views/home/index.csv.blue:3: syntax error, unexpected '\n', expecting '='):
235
+ 1: Heading1, Heading2
236
+ 2: csv << ["Test", "Column 2"]
237
+ app/controllers/home_controller.rb:3:in `index'
238
+
239
+
240
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_trace.erb (4.7ms)
241
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.2ms)
242
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (15.3ms)
243
+
244
+
245
+ Started GET "/home.csv" for 127.0.0.1 at 2012-03-21 23:38:34 +0000
246
+ Processing by HomeController#index as CSV
247
+ Rendered home/index.csv.blue (0.6ms)
248
+ Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms)
249
+
250
+
251
+ Started GET "/" for 127.0.0.1 at 2012-03-23 21:34:38 +0000
252
+
253
+ ActionController::RoutingError (No route matches [GET] "/"):
254
+ actionpack (3.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
255
+ actionpack (3.2.2) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
256
+ railties (3.2.2) lib/rails/rack/logger.rb:26:in `call_app'
257
+ railties (3.2.2) lib/rails/rack/logger.rb:16:in `call'
258
+ actionpack (3.2.2) lib/action_dispatch/middleware/request_id.rb:22:in `call'
259
+ rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
260
+ rack (1.4.1) lib/rack/runtime.rb:17:in `call'
261
+ activesupport (3.2.2) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
262
+ rack (1.4.1) lib/rack/lock.rb:15:in `call'
263
+ actionpack (3.2.2) lib/action_dispatch/middleware/static.rb:61:in `call'
264
+ railties (3.2.2) lib/rails/engine.rb:479:in `call'
265
+ railties (3.2.2) lib/rails/application.rb:220:in `call'
266
+ rack (1.4.1) lib/rack/content_length.rb:14:in `call'
267
+ railties (3.2.2) lib/rails/rack/log_tailer.rb:14:in `call'
268
+ rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
269
+ /Users/artansinani/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
270
+ /Users/artansinani/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
271
+ /Users/artansinani/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
272
+
273
+
274
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (5.1ms)
275
+
276
+
277
+ Started GET "/home.pdf" for 127.0.0.1 at 2012-03-23 21:34:47 +0000
278
+ Processing by HomeController#index as PDF
279
+ Completed 500 Internal Server Error in 40ms
280
+
281
+ ActionView::MissingTemplate (Missing template home/index, application/index with {:locale=>[:en], :formats=>[:pdf], :handlers=>[:erb, :builder, :blue]}. Searched in:
282
+ * "/Users/artansinani/ror/blue_csv/test/dummy/app/views"
283
+ ):
284
+ app/controllers/home_controller.rb:3:in `index'
285
+
286
+
287
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/missing_template.erb within rescues/layout (0.7ms)
288
+
289
+
290
+ Started GET "/home" for 127.0.0.1 at 2012-03-23 21:34:48 +0000
291
+ Processing by HomeController#index as HTML
292
+ Rendered home/index.html.erb (0.4ms)
293
+ Completed 200 OK in 20ms (Views: 19.4ms | ActiveRecord: 0.0ms)
294
+
295
+
296
+ Started GET "/csv" for 127.0.0.1 at 2012-03-23 21:35:57 +0000
297
+
298
+ ActionController::RoutingError (No route matches [GET] "/csv"):
299
+ actionpack (3.2.2) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
300
+ actionpack (3.2.2) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
301
+ railties (3.2.2) lib/rails/rack/logger.rb:26:in `call_app'
302
+ railties (3.2.2) lib/rails/rack/logger.rb:16:in `call'
303
+ actionpack (3.2.2) lib/action_dispatch/middleware/request_id.rb:22:in `call'
304
+ rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
305
+ rack (1.4.1) lib/rack/runtime.rb:17:in `call'
306
+ activesupport (3.2.2) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
307
+ rack (1.4.1) lib/rack/lock.rb:15:in `call'
308
+ actionpack (3.2.2) lib/action_dispatch/middleware/static.rb:61:in `call'
309
+ railties (3.2.2) lib/rails/engine.rb:479:in `call'
310
+ railties (3.2.2) lib/rails/application.rb:220:in `call'
311
+ rack (1.4.1) lib/rack/content_length.rb:14:in `call'
312
+ railties (3.2.2) lib/rails/rack/log_tailer.rb:14:in `call'
313
+ rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
314
+ /Users/artansinani/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
315
+ /Users/artansinani/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
316
+ /Users/artansinani/.rvm/rubies/ruby-1.9.3-p125/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
317
+
318
+
319
+ Rendered /Users/artansinani/.rvm/gems/ruby-1.9.3-p125/gems/actionpack-3.2.2/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.7ms)
320
+
321
+
322
+ Started GET "/home" for 127.0.0.1 at 2012-03-23 21:36:02 +0000
323
+ Processing by HomeController#index as HTML
324
+ Rendered home/index.html.erb within layouts/application (0.1ms)
325
+ Compiled application.css (1ms) (pid 4429)
326
+ Compiled jquery.js (3ms) (pid 4429)
327
+ Compiled jquery_ujs.js (0ms) (pid 4429)
328
+ Compiled application.js (87ms) (pid 4429)
329
+ Completed 200 OK in 154ms (Views: 153.2ms | ActiveRecord: 0.0ms)
330
+
331
+
332
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-03-23 21:36:02 +0000
333
+ Served asset /application.css - 200 OK (17ms)
334
+
335
+
336
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-23 21:36:02 +0000
337
+ Served asset /jquery.js - 200 OK (2ms)
338
+
339
+
340
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-23 21:36:02 +0000
341
+ Served asset /jquery_ujs.js - 304 Not Modified (1ms)
342
+
343
+
344
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-03-23 21:36:02 +0000
345
+ Served asset /application.js - 200 OK (6ms)
346
+
347
+
348
+ Started GET "/home" for 127.0.0.1 at 2012-03-23 21:37:18 +0000
349
+ Processing by HomeController#index as HTML
350
+ Rendered home/index.html.erb within layouts/application (0.9ms)
351
+ Completed 200 OK in 5ms (Views: 4.8ms | ActiveRecord: 0.0ms)
352
+
353
+
354
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-23 21:37:18 +0000
355
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
356
+
357
+
358
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-23 21:37:18 +0000
359
+ Served asset /jquery.js - 304 Not Modified (0ms)
360
+
361
+
362
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-03-23 21:37:18 +0000
363
+ Served asset /application.js - 304 Not Modified (0ms)
364
+
365
+
366
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-03-23 21:37:18 +0000
367
+ Served asset /application.css - 304 Not Modified (0ms)
368
+
369
+
370
+ Started GET "/home.csv" for 127.0.0.1 at 2012-03-23 21:37:25 +0000
371
+ Processing by HomeController#index as CSV
372
+ Rendered home/index.csv.blue (0.6ms)
373
+ Completed 200 OK in 2ms (Views: 2.0ms | ActiveRecord: 0.0ms)
374
+
375
+
376
+ Started GET "/home.csv" for 127.0.0.1 at 2012-03-23 21:40:45 +0000
377
+ Processing by HomeController#index as CSV
378
+ Rendered home/index.csv.blue (0.2ms)
379
+ Completed 200 OK in 1ms (Views: 1.2ms | ActiveRecord: 0.0ms)
380
+
381
+
382
+ Started GET "/home" for 127.0.0.1 at 2012-03-23 21:41:16 +0000
383
+ Processing by HomeController#index as HTML
384
+ Rendered home/index.html.erb within layouts/application (0.5ms)
385
+ Completed 200 OK in 5ms (Views: 4.6ms | ActiveRecord: 0.0ms)
386
+
387
+
388
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-03-23 21:41:16 +0000
389
+ Served asset /application.css - 304 Not Modified (0ms)
390
+
391
+
392
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-23 21:41:16 +0000
393
+ Served asset /jquery.js - 304 Not Modified (0ms)
394
+
395
+
396
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-23 21:41:16 +0000
397
+ Served asset /jquery_ujs.js - 304 Not Modified (2ms)
398
+
399
+
400
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-03-23 21:41:16 +0000
401
+ Served asset /application.js - 304 Not Modified (0ms)
402
+
403
+
404
+ Started GET "/home.csv" for 127.0.0.1 at 2012-03-23 21:41:18 +0000
405
+ Processing by HomeController#index as CSV
406
+ Rendered home/index.csv.blue (0.2ms)
407
+ Completed 200 OK in 1ms (Views: 1.2ms | ActiveRecord: 0.0ms)
408
+
409
+
410
+ Started GET "/home" for 127.0.0.1 at 2012-03-23 21:41:31 +0000
411
+ Processing by HomeController#index as HTML
412
+ Rendered home/index.html.erb within layouts/application (0.5ms)
413
+ Completed 200 OK in 6ms (Views: 5.0ms | ActiveRecord: 0.0ms)
414
+
415
+
416
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-03-23 21:41:32 +0000
417
+ Served asset /application.css - 304 Not Modified (0ms)
418
+
419
+
420
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-23 21:41:32 +0000
421
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
422
+
423
+
424
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-03-23 21:41:32 +0000
425
+ Served asset /application.js - 304 Not Modified (0ms)
426
+
427
+
428
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-23 21:41:32 +0000
429
+ Served asset /jquery.js - 304 Not Modified (0ms)
430
+
431
+
432
+ Started GET "/home.csv" for 127.0.0.1 at 2012-03-23 21:41:34 +0000
433
+ Processing by HomeController#index as CSV
434
+ Rendered home/index.csv.blue (0.3ms)
435
+ Completed 200 OK in 2ms (Views: 2.0ms | ActiveRecord: 0.0ms)
436
+
437
+
438
+ Started GET "/home" for 127.0.0.1 at 2012-03-23 21:41:43 +0000
439
+ Processing by HomeController#index as HTML
440
+ Rendered home/index.html.erb within layouts/application (0.5ms)
441
+ Completed 200 OK in 5ms (Views: 4.6ms | ActiveRecord: 0.0ms)
442
+
443
+
444
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-23 21:41:43 +0000
445
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
446
+
447
+
448
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-03-23 21:41:43 +0000
449
+ Served asset /application.js - 304 Not Modified (0ms)
450
+
451
+
452
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-03-23 21:41:43 +0000
453
+ Served asset /application.css - 304 Not Modified (0ms)
454
+
455
+
456
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-23 21:41:43 +0000
457
+ Served asset /jquery.js - 304 Not Modified (0ms)
458
+
459
+
460
+ Started GET "/home.csv" for 127.0.0.1 at 2012-03-23 21:41:46 +0000
461
+ Processing by HomeController#index as CSV
462
+ Rendered home/index.csv.blue (0.2ms)
463
+ Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.0ms)
464
+
465
+
466
+ Started GET "/home" for 127.0.0.1 at 2012-03-23 21:42:02 +0000
467
+ Processing by HomeController#index as HTML
468
+ Rendered home/index.html.erb within layouts/application (2.9ms)
469
+ Completed 200 OK in 25ms (Views: 24.4ms | ActiveRecord: 0.0ms)
470
+
471
+
472
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-23 21:42:02 +0000
473
+ Served asset /jquery.js - 304 Not Modified (4ms)
474
+
475
+
476
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-03-23 21:42:02 +0000
477
+ Served asset /application.js - 304 Not Modified (4ms)
478
+
479
+
480
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-23 21:42:02 +0000
481
+ Served asset /jquery_ujs.js - 304 Not Modified (2ms)
482
+
483
+
484
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-03-23 21:42:02 +0000
485
+ Served asset /application.css - 304 Not Modified (1ms)
486
+
487
+
488
+ Started GET "/home.csv" for 127.0.0.1 at 2012-03-23 21:42:04 +0000
489
+ Processing by HomeController#index as CSV
490
+ Rendered home/index.csv.blue (0.6ms)
491
+ Completed 200 OK in 3ms (Views: 2.3ms | ActiveRecord: 0.0ms)
492
+
493
+
494
+ Started GET "/home" for 127.0.0.1 at 2012-03-23 21:42:38 +0000
495
+ Processing by HomeController#index as HTML
496
+ Rendered home/index.html.erb within layouts/application (0.5ms)
497
+ Completed 200 OK in 5ms (Views: 4.8ms | ActiveRecord: 0.0ms)
498
+
499
+
500
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-03-23 21:42:38 +0000
501
+ Served asset /application.css - 304 Not Modified (0ms)
502
+
503
+
504
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-23 21:42:38 +0000
505
+ Served asset /jquery.js - 304 Not Modified (0ms)
506
+
507
+
508
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-23 21:42:38 +0000
509
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
510
+
511
+
512
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-03-23 21:42:38 +0000
513
+ Served asset /application.js - 304 Not Modified (0ms)
514
+
515
+
516
+ Started GET "/home.csv" for 127.0.0.1 at 2012-03-23 21:42:40 +0000
517
+ Processing by HomeController#index as CSV
518
+ Rendered home/index.csv.blue (0.3ms)
519
+ Completed 200 OK in 2ms (Views: 1.5ms | ActiveRecord: 0.0ms)
520
+
521
+
522
+ Started GET "/home" for 127.0.0.1 at 2012-03-23 21:43:53 +0000
523
+ Processing by HomeController#index as HTML
524
+ Rendered home/index.html.erb within layouts/application (4.1ms)
525
+ Completed 200 OK in 27ms (Views: 26.6ms | ActiveRecord: 0.0ms)
526
+
527
+
528
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-03-23 21:43:53 +0000
529
+ Served asset /application.js - 304 Not Modified (8ms)
530
+
531
+
532
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-03-23 21:43:53 +0000
533
+ Served asset /application.css - 304 Not Modified (1ms)
534
+
535
+
536
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-23 21:43:53 +0000
537
+ Served asset /jquery_ujs.js - 304 Not Modified (1ms)
538
+
539
+
540
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-23 21:43:53 +0000
541
+ Served asset /jquery.js - 304 Not Modified (3ms)
542
+
543
+
544
+ Started GET "/home.csv" for 127.0.0.1 at 2012-03-23 21:43:55 +0000
545
+ Processing by HomeController#index as CSV
546
+ Rendered home/index.csv.blue (0.6ms)
547
+ Completed 200 OK in 2ms (Views: 1.7ms | ActiveRecord: 0.0ms)
548
+
549
+
550
+ Started GET "/home" for 127.0.0.1 at 2012-03-23 21:45:17 +0000
551
+ Processing by HomeController#index as HTML
552
+ Rendered home/index.html.erb within layouts/application (0.5ms)
553
+ Completed 200 OK in 5ms (Views: 4.3ms | ActiveRecord: 0.0ms)
554
+
555
+
556
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-23 21:45:17 +0000
557
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
558
+
559
+
560
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-23 21:45:17 +0000
561
+ Served asset /jquery.js - 304 Not Modified (0ms)
562
+
563
+
564
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-03-23 21:45:17 +0000
565
+ Served asset /application.js - 304 Not Modified (0ms)
566
+
567
+
568
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-03-23 21:45:17 +0000
569
+ Served asset /application.css - 304 Not Modified (0ms)
570
+
571
+
572
+ Started GET "/home.csv" for 127.0.0.1 at 2012-03-23 21:45:20 +0000
573
+ Processing by HomeController#index as CSV
574
+ Rendered home/index.csv.blue (0.7ms)
575
+ Completed 200 OK in 2ms (Views: 1.9ms | ActiveRecord: 0.0ms)
576
+
577
+
578
+ Started GET "/home" for 127.0.0.1 at 2012-03-23 21:46:26 +0000
579
+ Processing by HomeController#index as HTML
580
+ Rendered home/index.html.erb within layouts/application (0.6ms)
581
+ Completed 200 OK in 5ms (Views: 4.5ms | ActiveRecord: 0.0ms)
582
+
583
+
584
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-03-23 21:46:26 +0000
585
+ Served asset /application.css - 304 Not Modified (0ms)
586
+
587
+
588
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-23 21:46:26 +0000
589
+ Served asset /jquery.js - 304 Not Modified (0ms)
590
+
591
+
592
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-23 21:46:26 +0000
593
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
594
+
595
+
596
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-03-23 21:46:26 +0000
597
+ Served asset /application.js - 304 Not Modified (0ms)
598
+
599
+
600
+ Started GET "/home.csv" for 127.0.0.1 at 2012-03-23 21:46:31 +0000
601
+ Processing by HomeController#index as CSV
602
+ Rendered home/index.csv.blue (0.6ms)
603
+ Completed 200 OK in 2ms (Views: 1.8ms | ActiveRecord: 0.0ms)
604
+
605
+
606
+ Started GET "/home" for 127.0.0.1 at 2012-03-23 21:47:45 +0000
607
+ Processing by HomeController#index as HTML
608
+ Rendered home/index.html.erb within layouts/application (0.5ms)
609
+ Completed 200 OK in 34ms (Views: 33.3ms | ActiveRecord: 0.0ms)
610
+
611
+
612
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-23 21:47:45 +0000
613
+ Served asset /jquery.js - 304 Not Modified (0ms)
614
+
615
+
616
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-03-23 21:47:45 +0000
617
+ Served asset /application.css - 304 Not Modified (0ms)
618
+
619
+
620
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-23 21:47:45 +0000
621
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
622
+
623
+
624
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-03-23 21:47:45 +0000
625
+ Served asset /application.js - 304 Not Modified (0ms)
626
+
627
+
628
+ Started GET "/home.csv" for 127.0.0.1 at 2012-03-23 21:47:48 +0000
629
+ Processing by HomeController#index as CSV
630
+ Rendered home/index.csv.blue (0.7ms)
631
+ Completed 200 OK in 2ms (Views: 1.9ms | ActiveRecord: 0.0ms)
632
+
633
+
634
+ Started GET "/home" for 127.0.0.1 at 2012-03-23 21:52:21 +0000
635
+ Processing by HomeController#index as HTML
636
+ Rendered home/index.html.erb within layouts/application (0.5ms)
637
+ Completed 200 OK in 7ms (Views: 4.6ms | ActiveRecord: 0.0ms)
638
+
639
+
640
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-03-23 21:52:21 +0000
641
+ Served asset /application.css - 304 Not Modified (0ms)
642
+
643
+
644
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-23 21:52:21 +0000
645
+ Served asset /jquery.js - 304 Not Modified (0ms)
646
+
647
+
648
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-23 21:52:21 +0000
649
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
650
+
651
+
652
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-03-23 21:52:21 +0000
653
+ Served asset /application.js - 304 Not Modified (0ms)
654
+
655
+
656
+ Started GET "/home" for 127.0.0.1 at 2012-03-23 21:53:11 +0000
657
+ Processing by HomeController#index as HTML
658
+ Rendered home/index.html.erb within layouts/application (0.5ms)
659
+ Completed 200 OK in 4ms (Views: 4.2ms | ActiveRecord: 0.0ms)
660
+
661
+
662
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2012-03-23 21:53:11 +0000
663
+ Served asset /application.css - 304 Not Modified (0ms)
664
+
665
+
666
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2012-03-23 21:53:11 +0000
667
+ Served asset /jquery_ujs.js - 304 Not Modified (0ms)
668
+
669
+
670
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2012-03-23 21:53:11 +0000
671
+ Served asset /jquery.js - 304 Not Modified (0ms)
672
+
673
+
674
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2012-03-23 21:53:11 +0000
675
+ Served asset /application.js - 304 Not Modified (0ms)
676
+
677
+
678
+ Started GET "/home.csv" for 127.0.0.1 at 2012-03-23 21:53:12 +0000
679
+ Processing by HomeController#index as CSV
680
+ Rendered home/index.csv.blue (0.6ms)
681
+ Completed 200 OK in 2ms (Views: 1.6ms | ActiveRecord: 0.0ms)