rdy2release
diff --git a/Gemfile b/Gemfile
index 889b8f0..e139cd4 100644
--- a/Gemfile
+++ b/Gemfile
@@ -12,9 +12,16 @@
gem 'twitter-bootstrap-rails'
gem 'less-rails'
gem 'bootstrap-generators'
+#gem 'bootstrap-sass-rails'
gem 'cancan'
gem 'devise'
gem 'rolify'
+gem 'paperclip'
+gem 'rmagick'
+
+gem 'quiet_assets'
+gem 'better_errors'
+gem 'binding_of_caller'
# Gems used only for assets and not required
# in production environments by default.
diff --git a/Gemfile.lock b/Gemfile.lock
index 9ace14b..f74892a 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -31,10 +31,20 @@
arel (3.0.3)
atomic (1.1.14)
bcrypt-ruby (3.1.2)
+ better_errors (1.0.1)
+ coderay (>= 1.0.0)
+ erubis (>= 2.6.6)
+ binding_of_caller (0.7.2)
+ debug_inspector (>= 0.0.1)
bootstrap-generators (3.0.0.1)
railties (>= 3.1)
builder (3.0.4)
cancan (1.6.10)
+ climate_control (0.0.3)
+ activesupport (>= 3.0)
+ cocaine (0.5.3)
+ climate_control (>= 0.0.3, < 1.0)
+ coderay (1.1.0)
coffee-rails (3.2.2)
coffee-script (>= 2.2.0)
railties (~> 3.2.0)
@@ -44,6 +54,7 @@
coffee-script-source (1.6.3)
commonjs (0.2.7)
daemons (1.1.9)
+ debug_inspector (0.0.2)
devise (3.2.2)
bcrypt-ruby (~> 3.0)
orm_adapter (~> 0.1)
@@ -72,7 +83,14 @@
mime-types (1.25.1)
multi_json (1.8.2)
orm_adapter (0.5.0)
+ paperclip (3.5.2)
+ activemodel (>= 3.0.0)
+ activesupport (>= 3.0.0)
+ cocaine (~> 0.5.3)
+ mime-types
polyglot (0.3.3)
+ quiet_assets (1.0.2)
+ railties (>= 3.1, < 5.0)
rack (1.4.5)
rack-cache (1.2)
rack (>= 0.4)
@@ -99,6 +117,7 @@
rdoc (3.12.2)
json (~> 1.4)
ref (1.0.5)
+ rmagick (2.13.2)
rolify (3.2.0)
sass (3.2.12)
sass-rails (3.2.6)
@@ -141,13 +160,18 @@
ruby
DEPENDENCIES
+ better_errors
+ binding_of_caller
bootstrap-generators
cancan
coffee-rails (~> 3.2.1)
devise
jquery-rails
less-rails
+ paperclip
+ quiet_assets
rails (= 3.2.15)
+ rmagick
rolify
sass-rails (~> 3.2.3)
sqlite3
diff --git a/app/assets/javascripts/application.js b/app/assets/javascripts/application.js
index 8c515ad..5f3e9b6 100644
--- a/app/assets/javascripts/application.js
+++ b/app/assets/javascripts/application.js
@@ -13,4 +13,4 @@
//= require jquery
//= require jquery_ujs
//= require bootstrap
-//= require_tree .
+//= require_tree .
\ No newline at end of file
diff --git a/app/assets/stylesheets/application.css b/app/assets/stylesheets/application.css
index 3192ec8..c377d22 100644
--- a/app/assets/stylesheets/application.css
+++ b/app/assets/stylesheets/application.css
@@ -8,6 +8,10 @@
* You're free to add application-wide styles to this file and they'll appear at the top of the
* compiled file, but it's generally better to create a new file per style scope.
*
+ *= require bootstrap_override
+ *= require bootstrap-generators
+ *= require scaffolds
+ *= require vehicles
*= require_self
- *= require_tree .
*/
+
diff --git a/app/assets/stylesheets/bootstrap-generators.scss b/app/assets/stylesheets/bootstrap-generators.scss
index f8fcdee..b92b851 100644
--- a/app/assets/stylesheets/bootstrap-generators.scss
+++ b/app/assets/stylesheets/bootstrap-generators.scss
@@ -1,5 +1,4 @@
-@import "bootstrap-variables";
-@import "bootstrap.scss";
+@import "bootstrap_override";
body {
padding-top: $navbar-height + 10px;
diff --git a/app/assets/stylesheets/bootstrap-variables.scss b/app/assets/stylesheets/bootstrap-variables.scss
index db2a92b..ecb4d54 100644
--- a/app/assets/stylesheets/bootstrap-variables.scss
+++ b/app/assets/stylesheets/bootstrap-variables.scss
@@ -22,7 +22,7 @@
$brand-success: #5cb85c !default;
$brand-warning: #f0ad4e !default;
$brand-danger: #d9534f !default;
-$brand-info: #5bc0de !default;
+$brand-info: #FF6633 !default;
// Scaffolding
// -------------------------
@@ -126,7 +126,7 @@
$btn-danger-bg: $brand-danger !default;
$btn-danger-border: darken($btn-danger-bg, 5%) !default;
-$btn-info-color: #fff !default;
+$btn-info-color: #000 !default;
$btn-info-bg: $brand-info !default;
$btn-info-border: darken($btn-info-bg, 5%) !default;
diff --git a/app/assets/stylesheets/bootstrap_override.scss b/app/assets/stylesheets/bootstrap_override.scss
new file mode 100644
index 0000000..9829c8c
--- /dev/null
+++ b/app/assets/stylesheets/bootstrap_override.scss
@@ -0,0 +1,9 @@
+$brand-info: #FF6633;
+
+@import "bootstrap-variables";
+
+.btn-info {
+ height: 33px;
+}
+
+@import "bootstrap.scss";
diff --git a/app/assets/stylesheets/vehicles.css.scss b/app/assets/stylesheets/vehicles.css.scss
index 12052c2..e22d560 100644
--- a/app/assets/stylesheets/vehicles.css.scss
+++ b/app/assets/stylesheets/vehicles.css.scss
@@ -2,11 +2,10 @@
// They will automatically be included in application.css.
// You can use Sass (SCSS) here: http://sass-lang.com/
-table
-{
-width:100%;
+table {
+ width:100%;
}
-th
-{
-height:50px;
-}
\ No newline at end of file
+
+th {
+ height:50px;
+}
diff --git a/app/controllers/vehicles_controller.rb b/app/controllers/vehicles_controller.rb
index 46780de..e715e47 100644
--- a/app/controllers/vehicles_controller.rb
+++ b/app/controllers/vehicles_controller.rb
@@ -2,10 +2,17 @@
load_and_authorize_resource
+ def vehicle_type
+ params[:type].constantize
+ end
+
# GET /vehicles
# GET /vehicles.json
def index
- @vehicles = Vehicle.all
+
+ #Rails.logger.info("------")
+ #Rails.logger.info(@cars)
+ @vehicles = vehicle_type.all
respond_to do |format|
format.html # index.html.erb
@@ -16,7 +23,7 @@
# GET /vehicles/1
# GET /vehicles/1.json
def show
- @vehicle = Vehicle.find(params[:id])
+ @vehicle = vehicle_type.find(params[:id])
respond_to do |format|
format.html # show.html.erb
@@ -27,9 +34,9 @@
# GET /vehicles/new
# GET /vehicles/new.json
def new
- @vehicle = Vehicle.new
- Rails.logger.info("------------")
- Rails.logger.info(current_user)
+ @vehicle = vehicle_type.new
+ @list_of_properties = Property.all
+
respond_to do |format|
format.html # new.html.erb
format.json { render json: @vehicle }
@@ -38,31 +45,83 @@
# GET /vehicles/1/edit
def edit
- @vehicle = Vehicle.find(params[:id])
+ @vehicle = vehicle_type.find(params[:id])
end
# POST /vehicles
# POST /vehicles.json
def create
+
+ Rails.logger.info("Createben")
+ Rails.logger.info(params)
@vehicle = current_user.vehicles.build(params[:vehicle])
- #@vehicle = Vehicle.new(params[:vehicle])
-
- respond_to do |format|
- if @vehicle.save
- format.html { redirect_to @vehicle, notice: 'Vehicle was successfully created.' }
- format.json { render json: @vehicle, status: :created, location: @vehicle }
+ if params[:properties].blank?
+ respond_to do |format|
+ flash[:error] = 'Params plx.'
+ format.html { render action: "new" }
+ end
else
- format.html { render action: "new" }
- format.json { render json: @vehicle.errors, status: :unprocessable_entity }
+ Property.all.each do |prop|
+ # params[:properties][:"#{prop.name}"][:property_id]
+
+ if !params[:properties][:"#{prop.name}"][:propvalue].empty?
+ @prop = Property.find(params[:properties][:"#{prop.name}"][:property_id].to_i)
+
+ @vehicle.properties << prop
+ @vehicle.save!
+
+ @vehicleproperty = @vehicle.vehicleprops.where(:property_id => prop.id).first
+ @vehicleproperty.propvalue = params[:properties][:"#{prop.name}"][:propvalue]
+ @vehicleproperty.save!
+
+ end
+ end
+
+
+=begin
+ params[:propvals].each do |prop|
+ Rails.logger.info(prop)
+
+ @pr = prop[0].to_i * prop[1].to_i
+ Rails.logger.info("bakker")
+
+ if @pr != 0
+ @vehicle.properties << Property.find(prop)
+ @vehicle.save!
+ @paramval = @vehicle.vehicleprops.where(:property_id => prop).first
+ Rails.logger.info("namiez")
+ Rails.logger.info(@vehicle.properties)
+ Rails.logger.info("erre kellene")
+ Rails.logger.info(@paramval)
+ @paramval.propvalue = @pr
+ @paramval.save!
+ Rails.logger.info("namiez")
+ Rails.logger.info(@vehicle.properties)
+ Rails.logger.info("erre kellene")
+ Rails.logger.info(@paramval)
+ end
+ end
+=end
+
+ respond_to do |format|
+ if @vehicle.save
+ format.html { redirect_to @vehicle, notice: 'Vehicle was successfully created.' }
+ format.json { render json: @vehicle, status: :created, location: @vehicle }
+ else
+ format.html { render action: "new" }
+ format.json { render json: @vehicle.errors, status: :unprocessable_entity }
+ end
+ end
+
end
- end
+
end
# PUT /vehicles/1
# PUT /vehicles/1.json
def update
- @vehicle = Vehicle.find(params[:id])
+ @vehicle = vehicle_type.find(params[:id])
respond_to do |format|
if @vehicle.update_attributes(params[:vehicle])
@@ -78,7 +137,7 @@
# DELETE /vehicles/1
# DELETE /vehicles/1.json
def destroy
- @vehicle = Vehicle.find(params[:id])
+ @vehicle = vehicle_type.find(params[:id])
@vehicle.destroy
respond_to do |format|
diff --git a/app/models/ability.rb b/app/models/ability.rb
index 7f0890c..a6db620 100644
--- a/app/models/ability.rb
+++ b/app/models/ability.rb
@@ -4,18 +4,18 @@
def initialize(user)
user ||= User.new # guest
if user.has_role? :admin
- can :manage, :all
+ can :manage, :all
else
- if user.has_role? :usr
- can :read, :all
- can :create, Vehicle
- can :create, Property
- can :update, Vehicle
- cannot :update, Property
- can :destroy, Vehicle
- cannot :destroy, Property
-
- end
+ if user.has_role? :usr
+ can :read, :all
+ can :create, Vehicle
+ can :create, Property
+ can :update, Vehicle, :user_id => user.id
+ cannot :update, Property
+ can :destroy, Vehicle, :user_id => user.id
+ cannot :destroy, Property
+
+ end
end
end
end
diff --git a/app/models/car.rb b/app/models/car.rb
new file mode 100644
index 0000000..f531df8
--- /dev/null
+++ b/app/models/car.rb
@@ -0,0 +1,3 @@
+class Car < Vehicle
+
+end
\ No newline at end of file
diff --git a/app/models/motorcycle.rb b/app/models/motorcycle.rb
new file mode 100644
index 0000000..d7253d0
--- /dev/null
+++ b/app/models/motorcycle.rb
@@ -0,0 +1,3 @@
+class Motorcycle < Vehicle
+
+end
\ No newline at end of file
diff --git a/app/models/property.rb b/app/models/property.rb
index 70a09c5..10525cf 100644
--- a/app/models/property.rb
+++ b/app/models/property.rb
@@ -1,3 +1,8 @@
class Property < ActiveRecord::Base
- attr_accessible :name
+attr_accessible :name, :property_id
+
+ #has_and_belongs_to_many :vehicles
+ has_many :vehicleprops
+ has_many :vehicles, :through => :vehicleprops
+
end
diff --git a/app/models/user.rb b/app/models/user.rb
index c86644c..23b5dc8 100644
--- a/app/models/user.rb
+++ b/app/models/user.rb
@@ -12,14 +12,22 @@
attr_accessible :email, :password, :password_confirmation, :remember_me
# attr_accessible :title, :body
- def can?(role)
- return !!self.roles.find_by_name(role.to_s.camelize)
- end
+ #def can?(role)
+ #return !!self.roles.find_by_name(role.to_s.camelize)
+ #end
after_create :assign_default_role
def assign_default_role
- add_role(:usr)
+
+ if(User.all.count == 1)
+ #Rails.logger.info('ADMINT CSINAL')
+ add_role(:admin)
+ else
+ #Rails.logger.info('uSERT CSINAL')
+ add_role(:usr)
+ end
+
end
end
diff --git a/app/models/vehicle.rb b/app/models/vehicle.rb
index 2ecf44b..49d3449 100644
--- a/app/models/vehicle.rb
+++ b/app/models/vehicle.rb
@@ -1,10 +1,15 @@
class Vehicle < ActiveRecord::Base
+ attr_accessible :color, :manufacturer, :subtype, :user, :year, :vehicle_ids, :property_ids, :propvalues, :type, :avatar
+
+ has_attached_file :avatar,
+ :styles => { :medium => "300x300>", :thumb => "100x100>" }, :default_url => "./assests/images/rails.png",
+ :url => "/assets/products/:id/:style/:basename.:extension",
+ :path => ":rails_root/public/assets/products/:id/:style/:basename.:extension"
+
belongs_to :user
-
- attr_accessible :color, :manufacturer, :subtype, :user, :year
-
- def to_param
- "#{id}-#{subtype}"
- end
+ #has_and_belongs_to_many :properties
+ has_many :vehicleprops
+ has_many :properties, :through => :vehicleprops
+ accepts_nested_attributes_for :vehicleprops
end
diff --git a/app/models/vehicleprop.rb b/app/models/vehicleprop.rb
new file mode 100644
index 0000000..89e2fc2
--- /dev/null
+++ b/app/models/vehicleprop.rb
@@ -0,0 +1,10 @@
+class Vehicleprop < ActiveRecord::Base
+attr_accessible :property_id, :vehicle_id, :propvalue
+ belongs_to :property
+ belongs_to :vehicle
+
+ def get_property_string
+ return [self.property.name, self.propvalue]
+ end
+
+end
\ No newline at end of file
diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb
index 99e11f7..470f969 100644
--- a/app/views/layouts/application.html.erb
+++ b/app/views/layouts/application.html.erb
@@ -17,34 +17,45 @@
<%= csrf_meta_tags %>
</head>
<body>
- <div class="navbar navbar-inverse navbar-fixed-top">
- <div class="container">
- <div class="navbar-header">
- <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
- <span class="icon-bar"></span>
- <span class="icon-bar"></span>
- <span class="icon-bar"></span>
- </button>
- <%= link_to "Carbantartó", "home#index", :class => "navbar-brand" %>
- </div>
- <div class="collapse navbar-collapse">
- <ul class="nav navbar-nav">
- <li><%= link_to 'Home', home_index_path, :class => 'navbar-link' %></li>
- <li><%= link_to 'Vehicles', vehicles_path, :class => 'navbar-link' %></li>
- <li><%= link_to 'Properties', properties_path, :class => 'navbar-link' %></li>
- <p class="navbar-text pull-right">
- <% if user_signed_in? %>
- Logged in as <strong><%= current_user.email %></strong>.
- <%= link_to 'Edit profile', edit_user_registration_path, :class => 'navbar-link' %> |
- <%= link_to "Logout", destroy_user_session_path, method: :delete, :class => 'navbar-link' %>
- <% else %>
- <%= link_to "Sign up", new_user_registration_path, :class => 'navbar-link' %> |
- <%= link_to "Login", new_user_session_path, :class => 'navbar-link' %>
- <% end %>
- </ul>
- </div>
+ <nav class="navbar navbar-inverse navbar-fixed-top" role="navigation">
+
+ <div class="navbar-header">
+ <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
+ <span class="sr-only">Toggle navigation</span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ <span class="icon-bar"></span>
+ </button>
+
+ <%= link_to 'Carbantartó', home_index_path, :class => 'navbar-brand' %>
</div>
- </div>
+
+ <form class="navbar-form form-inline">
+
+ <ul class="nav navbar-nav">
+ <li class="dropdown">
+ <%= link_to 'Vehicles <b class="caret"></b>'.html_safe, vehicles_path, :'data-toggle' => 'dropdown', :class => 'dropdown-toggle link' %>
+ <ul class="dropdown-menu">
+ <li> <%= link_to 'All', vehicles_path %> </li>
+ <li> <%= link_to 'Cars', cars_path %> </li>
+ <li> <%= link_to 'Motorcycles', motorcycles_path %> </li>
+ </ul>
+ </li>
+ <li> <%= link_to 'Properties', properties_path %> </li>
+ </ul>
+
+ <p class="navbar-text pull-right">
+ <% if user_signed_in? %>
+ Logged in as <strong><%= current_user.email %></strong>.
+ <%= link_to 'Edit profile', edit_user_registration_path, :class => 'navbar-link' %> |
+ <%= link_to "Logout", destroy_user_session_path, method: :delete, :class => 'navbar-link' %>
+ <% else %>
+ <%= link_to "Sign up", new_user_registration_path, :class => 'navbar-link' %> |
+ <%= link_to "Login", new_user_session_path, :class => 'navbar-link' %>
+ <% end %>
+ </form>
+
+ </nav>
<div class="container">
<% flash.each do |name, msg| %>
<%= content_tag :div, :class => "alert alert-#{ name == :error ? "danger" : "success" } alert-dismissable" do %>
@@ -53,14 +64,8 @@
<% end %>
<% end %>
- <% if notice %>
- <p class="alert alert-notice"><%= notice %></p>
- <% end %>
- <% if alert %>
- <p class="alert alert-error"><%= alert %></p>
- <% end %>
-
<%= yield %>
+
</div>
</body>
</html>
diff --git a/app/views/properties/index.html.erb b/app/views/properties/index.html.erb
index 32fc67d..f193347 100644
--- a/app/views/properties/index.html.erb
+++ b/app/views/properties/index.html.erb
@@ -12,6 +12,7 @@
<tr>
<th>Name</th>
<th></th>
+ <th></th>
<% if can? :update, Property %><th></th><% end %>
<% if can? :destroy, Property %><th></th><% end %>
</tr>
diff --git a/app/views/vehicles/_form.html.erb b/app/views/vehicles/_form.html.erb
index 2485c95..5fbfce8 100644
--- a/app/views/vehicles/_form.html.erb
+++ b/app/views/vehicles/_form.html.erb
@@ -1,4 +1,4 @@
-<%= form_for(@vehicle, :html => { :class => "form-horizontal" }) do |f| %>
+<%= form_for(@vehicle, :html => { :class => "form-horizontal", :multipart => true }) do |f| %>
<% if @vehicle.errors.any? %>
<div class="alert alert-danger alert-dismissable">
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
@@ -12,6 +12,10 @@
</div>
<% end %>
+ <%#= form_for @vehicle, :url => users_path, :html => { :multipart => true } do |form| %>
+ <%= f.file_field :avatar %>
+ <%# end %>
+
<div class="form-group">
<%= f.label :manufacturer, :class => "col-lg-2 control-label" %>
<div class="col-lg-10">
@@ -36,8 +40,26 @@
<%= f.text_field :color, :class => "form-control" %>
</div>
</div>
+
<div class="form-group">
-
+ <%= f.label "Properties:", :class => "col-lg-2 control-label"%>
+ <div class="col-lg-10">
+
+ <% Property.all.each do |prop| %>
+ <%= label_tag 'prop' do %>
+ <%= prop.name %> <%= text_field_tag "properties[#{prop.name}[propvalue]]" %>
+ <%= hidden_field_tag "properties[#{prop.name}[property_id]]", prop.id %>
+ <% end %>
+ <% end %>
+
+ </div>
+ </div>
+
+ <div class="form-group">
+ <%= f.label "Type:", :class => "col-lg-2 control-label"%>
+ <div class="col-lg-10">
+ <%= f.select :type, ['Car', 'Motorcycle']%>
+ </div>
</div>
<div class="form-group">
<div class="col-lg-offset-2 col-lg-10">
diff --git a/app/views/vehicles/index.html.erb b/app/views/vehicles/index.html.erb
index 3d02b8b..b9f38e7 100644
--- a/app/views/vehicles/index.html.erb
+++ b/app/views/vehicles/index.html.erb
@@ -3,7 +3,8 @@
<span class="glyphicon glyphicon-plus"></span>
New Vehicle
<% end %>
- <h1>Vehicle list</h1>
+ <h1>
+ <%= params[:type] %>s</h1>
</div>
<div class="table-responsive">
diff --git a/app/views/vehicles/show.html.erb b/app/views/vehicles/show.html.erb
index 512791b..a148b00 100644
--- a/app/views/vehicles/show.html.erb
+++ b/app/views/vehicles/show.html.erb
@@ -9,8 +9,14 @@
<% end %>
<h1>Show vehicle</h1>
</div>
-
<dl class="dl-horizontal">
+
+<% if @vehicle.avatar.exists? then %>
+ <%= image_tag @vehicle.avatar.url(:thumb) %></p>
+ <% else %>
+ <p> No photo... </p>
+<% end %>
+
<dt>Manufacturer:</dt>
<dd><%= @vehicle.manufacturer %></dd>
@@ -24,6 +30,18 @@
<dd><%= @vehicle.color %></dd>
<dt>Owner:</dt>
- <dd><%= @vehicle.user %></dd>
+ <dd><%= @vehicle.user.email %></dd>
+ <dt>Type:</dt>
+ <dd><%= @vehicle.type %></dd>
+
+ <dt>Props:</dt>
+ <dd><%= @vehicle.properties.map{|pr| pr.name}.sort.join(', ')%></dd>
+
+ <dt>Prop vals:</dt>
+ <dd>
+ <% @vehicle.vehicleprops.each do |prop| %>
+ <%= prop.get_property_string %>
+ <% end %>
+ </dd>
</dl>
diff --git a/config/environments/development.rb b/config/environments/development.rb
index 3632033..c028697 100644
--- a/config/environments/development.rb
+++ b/config/environments/development.rb
@@ -37,4 +37,6 @@
# Expands the lines which load the assets
config.assets.debug = true
+
+ Paperclip.options[:command_path] = "/usr/local/bin/"
end
diff --git a/config/routes.rb b/config/routes.rb
index 2950878..d89e31e 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -4,16 +4,29 @@
end
root :to => 'home#index'
+ resources :motorcycles, :controller => "vehicles", :type => "Motorcycle"
+ resources :cars, :controller => "vehicles", :type => "Car"
+ resources :vehicles, :controller => "vehicles", :type => "Vehicle"
+
+ #namespace "cars" do
+ # resources :vehicles, :type => "Car"
+ #end
+
+ #namespace "motorcycles" do
+ # resources :vehicles, :type => "Motorcycle"
+ #end
+
devise_for :users
resources :users
resources :properties
resources :vehicles do
resources :users do
-
+ end
+ resources :properties do
end
end
-
+
resources :home
diff --git a/db/development.sqlite3 b/db/development.sqlite3
index 17d758a..41b654c 100644
--- a/db/development.sqlite3
+++ b/db/development.sqlite3
Binary files differ
diff --git a/db/migrate/20131215115333_create_properties_vehicles_join_table.rb b/db/migrate/20131215115333_create_properties_vehicles_join_table.rb
new file mode 100644
index 0000000..45cd393
--- /dev/null
+++ b/db/migrate/20131215115333_create_properties_vehicles_join_table.rb
@@ -0,0 +1,14 @@
+class CreatePropertiesVehiclesJoinTable < ActiveRecord::Migration
+ def self.up
+ create_table :properties_vehicles, :id => false do |t|
+ t.integer :property_id
+ t.integer :vehicle_id
+ end
+
+ add_index :properties_vehicles, [:property_id, :vehicle_id]
+ end
+
+ def self.down
+ drop_table :properties_vehicles
+ end
+end
diff --git a/db/migrate/20131217235045_rename_old_table_to_new_table.rb b/db/migrate/20131217235045_rename_old_table_to_new_table.rb
new file mode 100644
index 0000000..6b5b30c
--- /dev/null
+++ b/db/migrate/20131217235045_rename_old_table_to_new_table.rb
@@ -0,0 +1,8 @@
+class RenameOldTableToNewTable < ActiveRecord::Migration
+ def change
+
+ rename_table :properties_vehicles, :vehicleprop
+
+ end
+
+end
diff --git a/db/migrate/20131217235557_rename_old_table_to_new_table_again.rb b/db/migrate/20131217235557_rename_old_table_to_new_table_again.rb
new file mode 100644
index 0000000..4cf0357
--- /dev/null
+++ b/db/migrate/20131217235557_rename_old_table_to_new_table_again.rb
@@ -0,0 +1,7 @@
+class RenameOldTableToNewTableAgain < ActiveRecord::Migration
+ def change
+
+ rename_table :vehicleprop, :vehicleprops
+
+ end
+end
diff --git a/db/migrate/20131218103356_add_type_to_vehicles.rb b/db/migrate/20131218103356_add_type_to_vehicles.rb
new file mode 100644
index 0000000..745aa14
--- /dev/null
+++ b/db/migrate/20131218103356_add_type_to_vehicles.rb
@@ -0,0 +1,5 @@
+class AddTypeToVehicles < ActiveRecord::Migration
+ def change
+ add_column :vehicles, :type, :string
+ end
+end
diff --git a/db/migrate/20131218112555_add_attachment_avatar_to_vehicles.rb b/db/migrate/20131218112555_add_attachment_avatar_to_vehicles.rb
new file mode 100644
index 0000000..67f7e83
--- /dev/null
+++ b/db/migrate/20131218112555_add_attachment_avatar_to_vehicles.rb
@@ -0,0 +1,9 @@
+class AddAttachmentAvatarToVehicles < ActiveRecord::Migration
+ def self.up
+ add_attachment :vehicles, :avatar
+ end
+
+ def self.down
+ remove_attachment :vehicles, :avatar
+ end
+end
diff --git a/db/migrate/20131218182531_add_value_to_prop_vehicle_assoc.rb b/db/migrate/20131218182531_add_value_to_prop_vehicle_assoc.rb
new file mode 100644
index 0000000..2fdb110
--- /dev/null
+++ b/db/migrate/20131218182531_add_value_to_prop_vehicle_assoc.rb
@@ -0,0 +1,5 @@
+class AddValueToPropVehicleAssoc < ActiveRecord::Migration
+ def change
+ add_column :vehicleprops, :propvalue, :string
+ end
+end
diff --git a/db/migrate/20131218213448_add_pk_to_assoc.rb b/db/migrate/20131218213448_add_pk_to_assoc.rb
new file mode 100644
index 0000000..ac8a3eb
--- /dev/null
+++ b/db/migrate/20131218213448_add_pk_to_assoc.rb
@@ -0,0 +1,5 @@
+class AddPkToAssoc < ActiveRecord::Migration
+ def change
+ add_column :vehicleprops, :id, :primary_key
+ end
+end
diff --git a/db/schema.rb b/db/schema.rb
index 11f8ad8..1083938 100644
--- a/db/schema.rb
+++ b/db/schema.rb
@@ -11,7 +11,7 @@
#
# It's strongly recommended to check this file into your version control system.
-ActiveRecord::Schema.define(:version => 20131212233033) do
+ActiveRecord::Schema.define(:version => 20131218213448) do
create_table "properties", :force => true do |t|
t.string "name"
@@ -57,15 +57,28 @@
add_index "users_roles", ["user_id", "role_id"], :name => "index_users_roles_on_user_id_and_role_id"
+ create_table "vehicleprops", :force => true do |t|
+ t.integer "property_id"
+ t.integer "vehicle_id"
+ t.string "propvalue"
+ end
+
+ add_index "vehicleprops", ["property_id", "vehicle_id"], :name => "index_properties_vehicles_on_property_id_and_vehicle_id"
+
create_table "vehicles", :force => true do |t|
t.string "manufacturer"
t.string "subtype"
t.integer "year"
t.string "color"
t.integer "user"
- t.datetime "created_at", :null => false
- t.datetime "updated_at", :null => false
+ t.datetime "created_at", :null => false
+ t.datetime "updated_at", :null => false
t.integer "user_id"
+ t.string "type"
+ t.string "avatar_file_name"
+ t.string "avatar_content_type"
+ t.integer "avatar_file_size"
+ t.datetime "avatar_updated_at"
end
add_index "vehicles", ["user_id"], :name => "index_vehicles_on_user_id"
diff --git a/log/development.log b/log/development.log
index 1252dc0..292e026 100644
--- a/log/development.log
+++ b/log/development.log
@@ -71045,3 +71045,98651 @@
Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-12-15 11:42:12 +0100
Served asset /application.js - 304 Not Modified (1ms)
+Connecting to database specified by database.yml
+
+
+Started GET "/properties" for 127.0.0.1 at 2013-12-15 11:49:33 +0100
+Processing by PropertiesController#index as HTML
+ [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 4 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 4 AND (((roles.name = 'usr') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))[0m
+ [1m[35mProperty Load (0.1ms)[0m SELECT "properties".* FROM "properties"
+ Rendered properties/index.html.erb within layouts/application (8.1ms)
+Completed 200 OK in 528.4ms (Views: 172.0ms | ActiveRecord: 5.2ms)
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-12-15 11:49:33 +0100
+Served asset /application.css - 304 Not Modified (56ms)
+
+
+Started GET "/assets/bootstrap-generators.css?body=1" for 127.0.0.1 at 2013-12-15 11:49:33 +0100
+Served asset /bootstrap-generators.css - 304 Not Modified (8ms)
+
+
+Started GET "/assets/bootstrap-variables.css?body=1" for 127.0.0.1 at 2013-12-15 11:49:33 +0100
+Served asset /bootstrap-variables.css - 304 Not Modified (1ms)
+
+
+Started GET "/assets/scaffolds.css?body=1" for 127.0.0.1 at 2013-12-15 11:49:33 +0100
+Served asset /scaffolds.css - 304 Not Modified (1ms)
+
+
+Started GET "/assets/vehicles.css?body=1" for 127.0.0.1 at 2013-12-15 11:49:33 +0100
+Served asset /vehicles.css - 304 Not Modified (1ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:33 +0100
+Served asset /jquery.js - 304 Not Modified (53ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:33 +0100
+Served asset /jquery_ujs.js - 304 Not Modified (2ms)
+
+
+Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:33 +0100
+Served asset /bootstrap/affix.js - 304 Not Modified (4ms)
+
+
+Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:33 +0100
+Served asset /bootstrap/scrollspy.js - 304 Not Modified (2ms)
+
+
+Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:34 +0100
+Served asset /bootstrap/collapse.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:34 +0100
+Served asset /bootstrap/alert.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:34 +0100
+Served asset /bootstrap/dropdown.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:34 +0100
+Served asset /bootstrap/button.js - 304 Not Modified (2ms)
+
+
+Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:34 +0100
+Served asset /bootstrap/modal.js - 304 Not Modified (10ms)
+
+
+Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:34 +0100
+Served asset /bootstrap/carousel.js - 304 Not Modified (2ms)
+
+
+Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:34 +0100
+Served asset /bootstrap/tooltip.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:34 +0100
+Served asset /bootstrap/popover.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:34 +0100
+Served asset /bootstrap/transition.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:34 +0100
+Served asset /bootstrap/tab.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:34 +0100
+Served asset /bootstrap.js - 304 Not Modified (14ms)
+
+
+Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:34 +0100
+Served asset /home.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/properties.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:34 +0100
+Served asset /properties.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/vehicles.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:34 +0100
+Served asset /vehicles.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:34 +0100
+Served asset /application.js - 304 Not Modified (21ms)
+
+
+Started GET "/home" for 127.0.0.1 at 2013-12-15 11:49:34 +0100
+Processing by HomeController#index as HTML
+ Rendered home/index.html.erb within layouts/application (0.6ms)
+ [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1[0m
+Completed 200 OK in 83.6ms (Views: 82.5ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-12-15 11:49:34 +0100
+Served asset /application.css - 304 Not Modified (3ms)
+
+
+Started GET "/assets/bootstrap-generators.css?body=1" for 127.0.0.1 at 2013-12-15 11:49:34 +0100
+Served asset /bootstrap-generators.css - 304 Not Modified (2ms)
+
+
+Started GET "/assets/bootstrap-variables.css?body=1" for 127.0.0.1 at 2013-12-15 11:49:34 +0100
+Served asset /bootstrap-variables.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/scaffolds.css?body=1" for 127.0.0.1 at 2013-12-15 11:49:34 +0100
+Served asset /scaffolds.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/vehicles.css?body=1" for 127.0.0.1 at 2013-12-15 11:49:34 +0100
+Served asset /vehicles.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:34 +0100
+Served asset /jquery.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:34 +0100
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:34 +0100
+Served asset /bootstrap/affix.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:34 +0100
+Served asset /bootstrap/scrollspy.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:34 +0100
+Served asset /bootstrap/collapse.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:34 +0100
+Served asset /bootstrap/alert.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:34 +0100
+Served asset /bootstrap/dropdown.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:34 +0100
+Served asset /bootstrap/button.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:34 +0100
+Served asset /bootstrap/modal.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:34 +0100
+Served asset /bootstrap/carousel.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:34 +0100
+Served asset /bootstrap/tooltip.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:34 +0100
+Served asset /bootstrap/popover.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:34 +0100
+Served asset /bootstrap/transition.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:34 +0100
+Served asset /bootstrap/tab.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:34 +0100
+Served asset /bootstrap.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:34 +0100
+Served asset /home.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/properties.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:34 +0100
+Served asset /properties.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/vehicles.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:34 +0100
+Served asset /vehicles.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:34 +0100
+Served asset /application.js - 304 Not Modified (35ms)
+
+
+Started GET "/vehicles" for 127.0.0.1 at 2013-12-15 11:49:35 +0100
+Processing by VehiclesController#index as HTML
+ [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 4 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))[0m
+ [1m[35m (0.5ms)[0m SELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 4 AND (((roles.name = 'usr') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))
+ [1m[36mVehicle Load (0.2ms)[0m [1mSELECT "vehicles".* FROM "vehicles" [0m
+ [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ Rendered vehicles/index.html.erb within layouts/application (13.1ms)
+Completed 200 OK in 97.3ms (Views: 65.3ms | ActiveRecord: 1.7ms)
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-12-15 11:49:35 +0100
+Served asset /application.css - 304 Not Modified (1ms)
+
+
+Started GET "/assets/bootstrap-generators.css?body=1" for 127.0.0.1 at 2013-12-15 11:49:35 +0100
+Served asset /bootstrap-generators.css - 304 Not Modified (2ms)
+
+
+Started GET "/assets/bootstrap-variables.css?body=1" for 127.0.0.1 at 2013-12-15 11:49:35 +0100
+Served asset /bootstrap-variables.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/scaffolds.css?body=1" for 127.0.0.1 at 2013-12-15 11:49:35 +0100
+Served asset /scaffolds.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/vehicles.css?body=1" for 127.0.0.1 at 2013-12-15 11:49:35 +0100
+Served asset /vehicles.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:35 +0100
+Served asset /jquery.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:35 +0100
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:35 +0100
+Served asset /bootstrap/affix.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:35 +0100
+Served asset /bootstrap/scrollspy.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:35 +0100
+Served asset /bootstrap/collapse.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:35 +0100
+Served asset /bootstrap/alert.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:35 +0100
+Served asset /bootstrap/dropdown.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:35 +0100
+Served asset /bootstrap/button.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:35 +0100
+Served asset /bootstrap/modal.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:35 +0100
+Served asset /bootstrap/carousel.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:35 +0100
+Served asset /bootstrap/tooltip.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:35 +0100
+Served asset /bootstrap/popover.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:35 +0100
+Served asset /bootstrap/transition.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:35 +0100
+Served asset /bootstrap/tab.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:35 +0100
+Served asset /bootstrap.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:35 +0100
+Served asset /home.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/properties.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:35 +0100
+Served asset /properties.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/vehicles.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:35 +0100
+Served asset /vehicles.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:35 +0100
+Served asset /application.js - 304 Not Modified (2ms)
+
+
+Started GET "/properties" for 127.0.0.1 at 2013-12-15 11:49:36 +0100
+Processing by PropertiesController#index as HTML
+ [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 4 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 4 AND (((roles.name = 'usr') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))[0m
+ [1m[35mProperty Load (0.1ms)[0m SELECT "properties".* FROM "properties"
+ Rendered properties/index.html.erb within layouts/application (2.0ms)
+Completed 200 OK in 71.1ms (Views: 52.5ms | ActiveRecord: 0.7ms)
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-12-15 11:49:36 +0100
+Served asset /application.css - 304 Not Modified (2ms)
+
+
+Started GET "/assets/bootstrap-generators.css?body=1" for 127.0.0.1 at 2013-12-15 11:49:36 +0100
+Served asset /bootstrap-generators.css - 304 Not Modified (2ms)
+
+
+Started GET "/assets/bootstrap-variables.css?body=1" for 127.0.0.1 at 2013-12-15 11:49:36 +0100
+Served asset /bootstrap-variables.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/scaffolds.css?body=1" for 127.0.0.1 at 2013-12-15 11:49:36 +0100
+Served asset /scaffolds.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/vehicles.css?body=1" for 127.0.0.1 at 2013-12-15 11:49:36 +0100
+Served asset /vehicles.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:36 +0100
+Served asset /jquery.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:36 +0100
+Served asset /jquery_ujs.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:36 +0100
+Served asset /bootstrap/affix.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:36 +0100
+Served asset /bootstrap/scrollspy.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:36 +0100
+Served asset /bootstrap/collapse.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:36 +0100
+Served asset /bootstrap/alert.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:36 +0100
+Served asset /bootstrap/dropdown.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:36 +0100
+Served asset /bootstrap/button.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:36 +0100
+Served asset /bootstrap/modal.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:36 +0100
+Served asset /bootstrap/carousel.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:36 +0100
+Served asset /bootstrap/tooltip.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:36 +0100
+Served asset /bootstrap/popover.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:36 +0100
+Served asset /bootstrap/transition.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:36 +0100
+Served asset /bootstrap/tab.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:36 +0100
+Served asset /bootstrap.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:36 +0100
+Served asset /home.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/properties.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:36 +0100
+Served asset /properties.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/vehicles.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:36 +0100
+Served asset /vehicles.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:36 +0100
+Served asset /application.js - 304 Not Modified (34ms)
+
+
+Started GET "/vehicles" for 127.0.0.1 at 2013-12-15 11:49:38 +0100
+Processing by VehiclesController#index as HTML
+ [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 4 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 4 AND (((roles.name = 'usr') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))[0m
+ [1m[35mVehicle Load (0.2ms)[0m SELECT "vehicles".* FROM "vehicles"
+ [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ Rendered vehicles/index.html.erb within layouts/application (3.9ms)
+Completed 200 OK in 39.9ms (Views: 20.8ms | ActiveRecord: 1.1ms)
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-12-15 11:49:38 +0100
+Served asset /application.css - 304 Not Modified (3ms)
+
+
+Started GET "/assets/bootstrap-generators.css?body=1" for 127.0.0.1 at 2013-12-15 11:49:38 +0100
+Served asset /bootstrap-generators.css - 304 Not Modified (2ms)
+
+
+Started GET "/assets/bootstrap-variables.css?body=1" for 127.0.0.1 at 2013-12-15 11:49:38 +0100
+Served asset /bootstrap-variables.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/scaffolds.css?body=1" for 127.0.0.1 at 2013-12-15 11:49:38 +0100
+Served asset /scaffolds.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/vehicles.css?body=1" for 127.0.0.1 at 2013-12-15 11:49:38 +0100
+Served asset /vehicles.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:38 +0100
+Served asset /jquery.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:38 +0100
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:38 +0100
+Served asset /bootstrap/affix.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:38 +0100
+Served asset /bootstrap/scrollspy.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:38 +0100
+Served asset /bootstrap/collapse.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:38 +0100
+Served asset /bootstrap/alert.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:38 +0100
+Served asset /bootstrap/dropdown.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:38 +0100
+Served asset /bootstrap/button.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:38 +0100
+Served asset /bootstrap/modal.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:38 +0100
+Served asset /bootstrap/carousel.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:38 +0100
+Served asset /bootstrap/tooltip.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:38 +0100
+Served asset /bootstrap/popover.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:38 +0100
+Served asset /bootstrap/transition.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:38 +0100
+Served asset /bootstrap/tab.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:38 +0100
+Served asset /bootstrap.js - 304 Not Modified (10ms)
+
+
+Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:38 +0100
+Served asset /home.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/properties.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:38 +0100
+Served asset /properties.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/vehicles.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:38 +0100
+Served asset /vehicles.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:38 +0100
+Served asset /application.js - 304 Not Modified (1ms)
+
+
+Started GET "/properties" for 127.0.0.1 at 2013-12-15 11:49:46 +0100
+Processing by PropertiesController#index as HTML
+ [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 4 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))[0m
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 4 AND (((roles.name = 'usr') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))
+ [1m[36mProperty Load (0.1ms)[0m [1mSELECT "properties".* FROM "properties" [0m
+ Rendered properties/index.html.erb within layouts/application (2.7ms)
+Completed 200 OK in 33.2ms (Views: 16.8ms | ActiveRecord: 0.7ms)
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-12-15 11:49:46 +0100
+Served asset /application.css - 304 Not Modified (2ms)
+
+
+Started GET "/assets/bootstrap-generators.css?body=1" for 127.0.0.1 at 2013-12-15 11:49:46 +0100
+Served asset /bootstrap-generators.css - 304 Not Modified (40ms)
+
+
+Started GET "/assets/bootstrap-variables.css?body=1" for 127.0.0.1 at 2013-12-15 11:49:46 +0100
+Served asset /bootstrap-variables.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/scaffolds.css?body=1" for 127.0.0.1 at 2013-12-15 11:49:46 +0100
+Served asset /scaffolds.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/vehicles.css?body=1" for 127.0.0.1 at 2013-12-15 11:49:46 +0100
+Served asset /vehicles.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:46 +0100
+Served asset /jquery.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:46 +0100
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:46 +0100
+Served asset /bootstrap/affix.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:46 +0100
+Served asset /bootstrap/scrollspy.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:46 +0100
+Served asset /bootstrap/collapse.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:46 +0100
+Served asset /bootstrap/alert.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:46 +0100
+Served asset /bootstrap/dropdown.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:46 +0100
+Served asset /bootstrap/button.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:46 +0100
+Served asset /bootstrap/modal.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:46 +0100
+Served asset /bootstrap/carousel.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:46 +0100
+Served asset /bootstrap/tooltip.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:46 +0100
+Served asset /bootstrap/popover.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:46 +0100
+Served asset /bootstrap/transition.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:46 +0100
+Served asset /bootstrap/tab.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:46 +0100
+Served asset /bootstrap.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:46 +0100
+Served asset /home.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/properties.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:46 +0100
+Served asset /properties.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/vehicles.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:46 +0100
+Served asset /vehicles.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:46 +0100
+Served asset /application.js - 304 Not Modified (2ms)
+
+
+Started GET "/vehicles" for 127.0.0.1 at 2013-12-15 11:49:47 +0100
+Processing by VehiclesController#index as HTML
+ [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 4 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 4 AND (((roles.name = 'usr') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))
+ [1m[36mVehicle Load (0.2ms)[0m [1mSELECT "vehicles".* FROM "vehicles" [0m
+ [1m[35mUser Load (0.6ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ Rendered vehicles/index.html.erb within layouts/application (4.0ms)
+Completed 200 OK in 39.5ms (Views: 20.6ms | ActiveRecord: 1.4ms)
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-12-15 11:49:47 +0100
+Served asset /application.css - 304 Not Modified (36ms)
+
+
+Started GET "/assets/bootstrap-generators.css?body=1" for 127.0.0.1 at 2013-12-15 11:49:47 +0100
+Served asset /bootstrap-generators.css - 304 Not Modified (2ms)
+
+
+Started GET "/assets/bootstrap-variables.css?body=1" for 127.0.0.1 at 2013-12-15 11:49:47 +0100
+Served asset /bootstrap-variables.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/scaffolds.css?body=1" for 127.0.0.1 at 2013-12-15 11:49:47 +0100
+Served asset /scaffolds.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/vehicles.css?body=1" for 127.0.0.1 at 2013-12-15 11:49:47 +0100
+Served asset /vehicles.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:47 +0100
+Served asset /jquery.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:47 +0100
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:47 +0100
+Served asset /bootstrap/affix.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:47 +0100
+Served asset /bootstrap/scrollspy.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:47 +0100
+Served asset /bootstrap/collapse.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:47 +0100
+Served asset /bootstrap/alert.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:47 +0100
+Served asset /bootstrap/dropdown.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:47 +0100
+Served asset /bootstrap/button.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:47 +0100
+Served asset /bootstrap/modal.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:47 +0100
+Served asset /bootstrap/carousel.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:47 +0100
+Served asset /bootstrap/tooltip.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:47 +0100
+Served asset /bootstrap/popover.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:47 +0100
+Served asset /bootstrap/transition.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:47 +0100
+Served asset /bootstrap/tab.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:47 +0100
+Served asset /bootstrap.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:47 +0100
+Served asset /home.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/properties.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:47 +0100
+Served asset /properties.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/vehicles.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:47 +0100
+Served asset /vehicles.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:47 +0100
+Served asset /application.js - 304 Not Modified (1ms)
+
+
+Started DELETE "/users/sign_out" for 127.0.0.1 at 2013-12-15 11:49:49 +0100
+Processing by Devise::SessionsController#destroy as HTML
+ Parameters: {"authenticity_token"=>"TLfLaopnGA5dbSxCmVBUxr9iruK8uQYXwJ4ErJ7EjU8="}
+ [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 4 LIMIT 1[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+Redirected to http://0.0.0.0:3000/
+Completed 302 Found in 30.6ms (ActiveRecord: 0.5ms)
+
+
+Started GET "/" for 127.0.0.1 at 2013-12-15 11:49:49 +0100
+Processing by HomeController#index as HTML
+ Rendered home/index.html.erb within layouts/application (0.1ms)
+Completed 200 OK in 50.2ms (Views: 50.0ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-12-15 11:49:49 +0100
+Served asset /application.css - 304 Not Modified (2ms)
+
+
+Started GET "/assets/bootstrap-generators.css?body=1" for 127.0.0.1 at 2013-12-15 11:49:49 +0100
+Served asset /bootstrap-generators.css - 304 Not Modified (3ms)
+
+
+Started GET "/assets/bootstrap-variables.css?body=1" for 127.0.0.1 at 2013-12-15 11:49:49 +0100
+Served asset /bootstrap-variables.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/scaffolds.css?body=1" for 127.0.0.1 at 2013-12-15 11:49:49 +0100
+Served asset /scaffolds.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/vehicles.css?body=1" for 127.0.0.1 at 2013-12-15 11:49:49 +0100
+Served asset /vehicles.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:49 +0100
+Served asset /jquery.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:49 +0100
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:49 +0100
+Served asset /bootstrap/affix.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:49 +0100
+Served asset /bootstrap/scrollspy.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:49 +0100
+Served asset /bootstrap/collapse.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:49 +0100
+Served asset /bootstrap/alert.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:49 +0100
+Served asset /bootstrap/dropdown.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:49 +0100
+Served asset /bootstrap/button.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:49 +0100
+Served asset /bootstrap/modal.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:49 +0100
+Served asset /bootstrap/carousel.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:49 +0100
+Served asset /bootstrap/tooltip.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:49 +0100
+Served asset /bootstrap/popover.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:49 +0100
+Served asset /bootstrap/transition.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:49 +0100
+Served asset /bootstrap/tab.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:49 +0100
+Served asset /bootstrap.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:49 +0100
+Served asset /home.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/properties.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:49 +0100
+Served asset /properties.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/vehicles.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:49 +0100
+Served asset /vehicles.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:49 +0100
+Served asset /application.js - 304 Not Modified (1ms)
+
+
+Started GET "/properties" for 127.0.0.1 at 2013-12-15 11:49:50 +0100
+Processing by PropertiesController#index as HTML
+Redirected to http://0.0.0.0:3000/
+Completed 302 Found in 10.3ms (ActiveRecord: 0.0ms)
+
+
+Started GET "/" for 127.0.0.1 at 2013-12-15 11:49:50 +0100
+Processing by HomeController#index as HTML
+ Rendered home/index.html.erb within layouts/application (0.2ms)
+Completed 200 OK in 52.0ms (Views: 51.7ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-12-15 11:49:50 +0100
+Served asset /application.css - 304 Not Modified (2ms)
+
+
+Started GET "/assets/bootstrap-generators.css?body=1" for 127.0.0.1 at 2013-12-15 11:49:50 +0100
+Served asset /bootstrap-generators.css - 304 Not Modified (2ms)
+
+
+Started GET "/assets/bootstrap-variables.css?body=1" for 127.0.0.1 at 2013-12-15 11:49:50 +0100
+Served asset /bootstrap-variables.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/scaffolds.css?body=1" for 127.0.0.1 at 2013-12-15 11:49:50 +0100
+Served asset /scaffolds.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/vehicles.css?body=1" for 127.0.0.1 at 2013-12-15 11:49:50 +0100
+Served asset /vehicles.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:50 +0100
+Served asset /jquery.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:50 +0100
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:50 +0100
+Served asset /bootstrap/affix.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:50 +0100
+Served asset /bootstrap/scrollspy.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:50 +0100
+Served asset /bootstrap/collapse.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:50 +0100
+Served asset /bootstrap/alert.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:50 +0100
+Served asset /bootstrap/dropdown.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:50 +0100
+Served asset /bootstrap/button.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:50 +0100
+Served asset /bootstrap/modal.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:50 +0100
+Served asset /bootstrap/carousel.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:50 +0100
+Served asset /bootstrap/tooltip.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:50 +0100
+Served asset /bootstrap/popover.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:50 +0100
+Served asset /bootstrap/transition.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:50 +0100
+Served asset /bootstrap/tab.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:50 +0100
+Served asset /bootstrap.js - 304 Not Modified (34ms)
+
+
+Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:50 +0100
+Served asset /home.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/properties.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:50 +0100
+Served asset /properties.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/vehicles.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:50 +0100
+Served asset /vehicles.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:50 +0100
+Served asset /application.js - 304 Not Modified (1ms)
+
+
+Started GET "/vehicles" for 127.0.0.1 at 2013-12-15 11:49:51 +0100
+Processing by VehiclesController#index as HTML
+Redirected to http://0.0.0.0:3000/
+Completed 302 Found in 13.8ms (ActiveRecord: 0.0ms)
+
+
+Started GET "/" for 127.0.0.1 at 2013-12-15 11:49:51 +0100
+Processing by HomeController#index as HTML
+ Rendered home/index.html.erb within layouts/application (0.1ms)
+Completed 200 OK in 16.8ms (Views: 16.5ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-12-15 11:49:51 +0100
+Served asset /application.css - 304 Not Modified (3ms)
+
+
+Started GET "/assets/bootstrap-generators.css?body=1" for 127.0.0.1 at 2013-12-15 11:49:51 +0100
+Served asset /bootstrap-generators.css - 304 Not Modified (1ms)
+
+
+Started GET "/assets/bootstrap-variables.css?body=1" for 127.0.0.1 at 2013-12-15 11:49:51 +0100
+Served asset /bootstrap-variables.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/scaffolds.css?body=1" for 127.0.0.1 at 2013-12-15 11:49:51 +0100
+Served asset /scaffolds.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/vehicles.css?body=1" for 127.0.0.1 at 2013-12-15 11:49:51 +0100
+Served asset /vehicles.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:51 +0100
+Served asset /jquery.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:51 +0100
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:51 +0100
+Served asset /bootstrap/affix.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:51 +0100
+Served asset /bootstrap/scrollspy.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:51 +0100
+Served asset /bootstrap/collapse.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:51 +0100
+Served asset /bootstrap/alert.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:51 +0100
+Served asset /bootstrap/dropdown.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:51 +0100
+Served asset /bootstrap/button.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:51 +0100
+Served asset /bootstrap/modal.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:51 +0100
+Served asset /bootstrap/carousel.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:51 +0100
+Served asset /bootstrap/tooltip.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:51 +0100
+Served asset /bootstrap/popover.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:51 +0100
+Served asset /bootstrap/transition.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:51 +0100
+Served asset /bootstrap/tab.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:51 +0100
+Served asset /bootstrap.js - 304 Not Modified (2ms)
+
+
+Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:51 +0100
+Served asset /home.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/properties.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:51 +0100
+Served asset /properties.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/vehicles.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:51 +0100
+Served asset /vehicles.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:51 +0100
+Served asset /application.js - 304 Not Modified (1ms)
+
+
+Started GET "/users/sign_in" for 127.0.0.1 at 2013-12-15 11:49:55 +0100
+Processing by Devise::SessionsController#new as HTML
+ Rendered /root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/devise-3.2.2/app/views/devise/shared/_links.erb (1.4ms)
+ Rendered /root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/devise-3.2.2/app/views/devise/sessions/new.html.erb within layouts/application (12.0ms)
+Completed 200 OK in 81.4ms (Views: 74.8ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-12-15 11:49:55 +0100
+Served asset /application.css - 304 Not Modified (2ms)
+
+
+Started GET "/assets/bootstrap-generators.css?body=1" for 127.0.0.1 at 2013-12-15 11:49:55 +0100
+Served asset /bootstrap-generators.css - 304 Not Modified (2ms)
+
+
+Started GET "/assets/bootstrap-variables.css?body=1" for 127.0.0.1 at 2013-12-15 11:49:55 +0100
+Served asset /bootstrap-variables.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/scaffolds.css?body=1" for 127.0.0.1 at 2013-12-15 11:49:55 +0100
+Served asset /scaffolds.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/vehicles.css?body=1" for 127.0.0.1 at 2013-12-15 11:49:55 +0100
+Served asset /vehicles.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:55 +0100
+Served asset /jquery.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:55 +0100
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:55 +0100
+Served asset /bootstrap/affix.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:55 +0100
+Served asset /bootstrap/scrollspy.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:55 +0100
+Served asset /bootstrap/collapse.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:55 +0100
+Served asset /bootstrap/alert.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:55 +0100
+Served asset /bootstrap/dropdown.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:55 +0100
+Served asset /bootstrap/button.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:55 +0100
+Served asset /bootstrap/modal.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:55 +0100
+Served asset /bootstrap/carousel.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:55 +0100
+Served asset /bootstrap/tooltip.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:55 +0100
+Served asset /bootstrap/popover.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:55 +0100
+Served asset /bootstrap/transition.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:55 +0100
+Served asset /bootstrap/tab.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:55 +0100
+Served asset /bootstrap.js - 304 Not Modified (50ms)
+
+
+Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:55 +0100
+Served asset /home.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/properties.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:55 +0100
+Served asset /properties.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/vehicles.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:55 +0100
+Served asset /vehicles.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-12-15 11:49:55 +0100
+Served asset /application.js - 304 Not Modified (2ms)
+
+
+Started POST "/users/sign_in" for 127.0.0.1 at 2013-12-15 11:50:02 +0100
+Processing by Devise::SessionsController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"p9Hs3cKt2KL7X2Y6DRduJ48+8Sp9TPOiV/XQ8I0w8kM=", "user"=>{"email"=>"m@m.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"}
+ [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'm@m.com' LIMIT 1
+ [1m[36m (0.0ms)[0m [1mbegin transaction[0m
+ [1m[35m (2.2ms)[0m UPDATE "users" SET "last_sign_in_at" = '2013-12-13 10:19:34.271809', "current_sign_in_at" = '2013-12-15 10:50:02.547861', "sign_in_count" = 10, "updated_at" = '2013-12-15 10:50:02.550777' WHERE "users"."id" = 1
+ [1m[36m (36.5ms)[0m [1mcommit transaction[0m
+Redirected to http://0.0.0.0:3000/
+Completed 302 Found in 161.8ms (ActiveRecord: 0.0ms)
+
+
+Started GET "/" for 127.0.0.1 at 2013-12-15 11:50:02 +0100
+ [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+Processing by HomeController#index as HTML
+ Rendered home/index.html.erb within layouts/application (0.1ms)
+Completed 200 OK in 29.9ms (Views: 29.7ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-12-15 11:50:02 +0100
+Served asset /application.css - 304 Not Modified (2ms)
+
+
+Started GET "/assets/bootstrap-generators.css?body=1" for 127.0.0.1 at 2013-12-15 11:50:02 +0100
+Served asset /bootstrap-generators.css - 304 Not Modified (2ms)
+
+
+Started GET "/assets/bootstrap-variables.css?body=1" for 127.0.0.1 at 2013-12-15 11:50:02 +0100
+Served asset /bootstrap-variables.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/scaffolds.css?body=1" for 127.0.0.1 at 2013-12-15 11:50:02 +0100
+Served asset /scaffolds.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/vehicles.css?body=1" for 127.0.0.1 at 2013-12-15 11:50:02 +0100
+Served asset /vehicles.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-12-15 11:50:02 +0100
+Served asset /jquery.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-12-15 11:50:02 +0100
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2013-12-15 11:50:02 +0100
+Served asset /bootstrap/scrollspy.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2013-12-15 11:50:02 +0100
+Served asset /bootstrap/affix.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2013-12-15 11:50:02 +0100
+Served asset /bootstrap/collapse.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2013-12-15 11:50:02 +0100
+Served asset /bootstrap/alert.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2013-12-15 11:50:02 +0100
+Served asset /bootstrap/dropdown.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2013-12-15 11:50:02 +0100
+Served asset /bootstrap/button.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2013-12-15 11:50:02 +0100
+Served asset /bootstrap/modal.js - 304 Not Modified (36ms)
+
+
+Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2013-12-15 11:50:02 +0100
+Served asset /bootstrap/carousel.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2013-12-15 11:50:02 +0100
+Served asset /bootstrap/tooltip.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2013-12-15 11:50:02 +0100
+Served asset /bootstrap/popover.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2013-12-15 11:50:02 +0100
+Served asset /bootstrap/transition.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2013-12-15 11:50:02 +0100
+Served asset /bootstrap/tab.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2013-12-15 11:50:02 +0100
+Served asset /bootstrap.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2013-12-15 11:50:02 +0100
+Served asset /home.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/properties.js?body=1" for 127.0.0.1 at 2013-12-15 11:50:02 +0100
+Served asset /properties.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/vehicles.js?body=1" for 127.0.0.1 at 2013-12-15 11:50:02 +0100
+Served asset /vehicles.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-12-15 11:50:02 +0100
+Served asset /application.js - 304 Not Modified (1ms)
+
+
+Started GET "/properties" for 127.0.0.1 at 2013-12-15 11:50:04 +0100
+Processing by PropertiesController#index as HTML
+ [1m[36mUser Load (0.5ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))
+ [1m[36mProperty Load (0.1ms)[0m [1mSELECT "properties".* FROM "properties" [0m
+ Rendered properties/index.html.erb within layouts/application (2.9ms)
+Completed 200 OK in 31.7ms (Views: 17.2ms | ActiveRecord: 0.9ms)
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-12-15 11:50:04 +0100
+Served asset /application.css - 304 Not Modified (2ms)
+
+
+Started GET "/assets/bootstrap-generators.css?body=1" for 127.0.0.1 at 2013-12-15 11:50:04 +0100
+Served asset /bootstrap-generators.css - 304 Not Modified (58ms)
+
+
+Started GET "/assets/bootstrap-variables.css?body=1" for 127.0.0.1 at 2013-12-15 11:50:04 +0100
+Served asset /bootstrap-variables.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/scaffolds.css?body=1" for 127.0.0.1 at 2013-12-15 11:50:04 +0100
+Served asset /scaffolds.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/vehicles.css?body=1" for 127.0.0.1 at 2013-12-15 11:50:04 +0100
+Served asset /vehicles.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-12-15 11:50:04 +0100
+Served asset /jquery.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-12-15 11:50:04 +0100
+Served asset /jquery_ujs.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2013-12-15 11:50:04 +0100
+Served asset /bootstrap/affix.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2013-12-15 11:50:04 +0100
+Served asset /bootstrap/scrollspy.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2013-12-15 11:50:04 +0100
+Served asset /bootstrap/collapse.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2013-12-15 11:50:04 +0100
+Served asset /bootstrap/alert.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2013-12-15 11:50:04 +0100
+Served asset /bootstrap/dropdown.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2013-12-15 11:50:04 +0100
+Served asset /bootstrap/button.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2013-12-15 11:50:04 +0100
+Served asset /bootstrap/modal.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2013-12-15 11:50:04 +0100
+Served asset /bootstrap/carousel.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2013-12-15 11:50:04 +0100
+Served asset /bootstrap/tooltip.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2013-12-15 11:50:04 +0100
+Served asset /bootstrap/popover.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2013-12-15 11:50:04 +0100
+Served asset /bootstrap/transition.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2013-12-15 11:50:04 +0100
+Served asset /bootstrap/tab.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2013-12-15 11:50:04 +0100
+Served asset /bootstrap.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2013-12-15 11:50:04 +0100
+Served asset /home.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/properties.js?body=1" for 127.0.0.1 at 2013-12-15 11:50:04 +0100
+Served asset /properties.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/vehicles.js?body=1" for 127.0.0.1 at 2013-12-15 11:50:04 +0100
+Served asset /vehicles.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-12-15 11:50:04 +0100
+Served asset /application.js - 304 Not Modified (1ms)
+
+
+Started GET "/vehicles" for 127.0.0.1 at 2013-12-15 11:50:06 +0100
+Processing by VehiclesController#index as HTML
+ [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))[0m
+ [1m[35mVehicle Load (0.2ms)[0m SELECT "vehicles".* FROM "vehicles"
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ Rendered vehicles/index.html.erb within layouts/application (2.6ms)
+Completed 200 OK in 33.5ms (Views: 18.0ms | ActiveRecord: 0.6ms)
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-12-15 11:50:06 +0100
+Served asset /application.css - 304 Not Modified (36ms)
+
+
+Started GET "/assets/bootstrap-generators.css?body=1" for 127.0.0.1 at 2013-12-15 11:50:06 +0100
+Served asset /bootstrap-generators.css - 304 Not Modified (2ms)
+
+
+Started GET "/assets/bootstrap-variables.css?body=1" for 127.0.0.1 at 2013-12-15 11:50:06 +0100
+Served asset /bootstrap-variables.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/scaffolds.css?body=1" for 127.0.0.1 at 2013-12-15 11:50:06 +0100
+Served asset /scaffolds.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/vehicles.css?body=1" for 127.0.0.1 at 2013-12-15 11:50:06 +0100
+Served asset /vehicles.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-12-15 11:50:06 +0100
+Served asset /jquery.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-12-15 11:50:06 +0100
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2013-12-15 11:50:06 +0100
+Served asset /bootstrap/affix.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2013-12-15 11:50:06 +0100
+Served asset /bootstrap/scrollspy.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2013-12-15 11:50:06 +0100
+Served asset /bootstrap/collapse.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2013-12-15 11:50:06 +0100
+Served asset /bootstrap/alert.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2013-12-15 11:50:06 +0100
+Served asset /bootstrap/dropdown.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2013-12-15 11:50:06 +0100
+Served asset /bootstrap/button.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2013-12-15 11:50:06 +0100
+Served asset /bootstrap/modal.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2013-12-15 11:50:06 +0100
+Served asset /bootstrap/carousel.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2013-12-15 11:50:06 +0100
+Served asset /bootstrap/tooltip.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2013-12-15 11:50:06 +0100
+Served asset /bootstrap/popover.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2013-12-15 11:50:06 +0100
+Served asset /bootstrap/transition.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2013-12-15 11:50:06 +0100
+Served asset /bootstrap/tab.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2013-12-15 11:50:06 +0100
+Served asset /bootstrap.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2013-12-15 11:50:06 +0100
+Served asset /home.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/properties.js?body=1" for 127.0.0.1 at 2013-12-15 11:50:06 +0100
+Served asset /properties.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/vehicles.js?body=1" for 127.0.0.1 at 2013-12-15 11:50:06 +0100
+Served asset /vehicles.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-12-15 11:50:06 +0100
+Served asset /application.js - 304 Not Modified (1ms)
+
+
+Started GET "/vehicles" for 127.0.0.1 at 2013-12-15 12:02:22 +0100
+Processing by VehiclesController#index as HTML
+ [1m[35mUser Load (0.4ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))[0m
+ [1m[35mVehicle Load (0.1ms)[0m SELECT "vehicles".* FROM "vehicles"
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ Rendered vehicles/index.html.erb within layouts/application (4.0ms)
+Completed 200 OK in 72.3ms (Views: 54.2ms | ActiveRecord: 0.7ms)
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-12-15 12:02:22 +0100
+Served asset /application.css - 304 Not Modified (2ms)
+
+
+Started GET "/assets/bootstrap-generators.css?body=1" for 127.0.0.1 at 2013-12-15 12:02:22 +0100
+Served asset /bootstrap-generators.css - 304 Not Modified (2ms)
+
+
+Started GET "/assets/bootstrap-variables.css?body=1" for 127.0.0.1 at 2013-12-15 12:02:22 +0100
+Served asset /bootstrap-variables.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/scaffolds.css?body=1" for 127.0.0.1 at 2013-12-15 12:02:22 +0100
+Served asset /scaffolds.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/vehicles.css?body=1" for 127.0.0.1 at 2013-12-15 12:02:22 +0100
+Served asset /vehicles.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-12-15 12:02:22 +0100
+Served asset /jquery.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-12-15 12:02:22 +0100
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2013-12-15 12:02:22 +0100
+Served asset /bootstrap/affix.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2013-12-15 12:02:22 +0100
+Served asset /bootstrap/scrollspy.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2013-12-15 12:02:22 +0100
+Served asset /bootstrap/collapse.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2013-12-15 12:02:22 +0100
+Served asset /bootstrap/alert.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2013-12-15 12:02:22 +0100
+Served asset /bootstrap/dropdown.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2013-12-15 12:02:22 +0100
+Served asset /bootstrap/button.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2013-12-15 12:02:22 +0100
+Served asset /bootstrap/modal.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2013-12-15 12:02:22 +0100
+Served asset /bootstrap/carousel.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2013-12-15 12:02:22 +0100
+Served asset /bootstrap/tooltip.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2013-12-15 12:02:22 +0100
+Served asset /bootstrap/popover.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2013-12-15 12:02:22 +0100
+Served asset /bootstrap/transition.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2013-12-15 12:02:22 +0100
+Served asset /bootstrap/tab.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2013-12-15 12:02:22 +0100
+Served asset /bootstrap.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2013-12-15 12:02:22 +0100
+Served asset /home.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/properties.js?body=1" for 127.0.0.1 at 2013-12-15 12:02:22 +0100
+Served asset /properties.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/vehicles.js?body=1" for 127.0.0.1 at 2013-12-15 12:02:22 +0100
+Served asset /vehicles.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-12-15 12:02:22 +0100
+Served asset /application.js - 304 Not Modified (1ms)
+
+
+Started GET "/vehicles/new" for 127.0.0.1 at 2013-12-15 12:02:23 +0100
+Processing by VehiclesController#new as HTML
+ [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))[0m
+------------
+#<User:0x00000005555208>
+ Rendered vehicles/_form.html.erb (4.3ms)
+ Rendered vehicles/new.html.erb within layouts/application (6.1ms)
+Completed 200 OK in 94.5ms (Views: 80.6ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-12-15 12:02:23 +0100
+Served asset /application.css - 304 Not Modified (2ms)
+
+
+Started GET "/assets/bootstrap-generators.css?body=1" for 127.0.0.1 at 2013-12-15 12:02:23 +0100
+Served asset /bootstrap-generators.css - 304 Not Modified (4ms)
+
+
+Started GET "/assets/bootstrap-variables.css?body=1" for 127.0.0.1 at 2013-12-15 12:02:23 +0100
+Served asset /bootstrap-variables.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/scaffolds.css?body=1" for 127.0.0.1 at 2013-12-15 12:02:23 +0100
+Served asset /scaffolds.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/vehicles.css?body=1" for 127.0.0.1 at 2013-12-15 12:02:23 +0100
+Served asset /vehicles.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-12-15 12:02:23 +0100
+Served asset /jquery.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-12-15 12:02:23 +0100
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2013-12-15 12:02:23 +0100
+Served asset /bootstrap/affix.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2013-12-15 12:02:23 +0100
+Served asset /bootstrap/scrollspy.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2013-12-15 12:02:23 +0100
+Served asset /bootstrap/collapse.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2013-12-15 12:02:23 +0100
+Served asset /bootstrap/alert.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2013-12-15 12:02:23 +0100
+Served asset /bootstrap/dropdown.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2013-12-15 12:02:23 +0100
+Served asset /bootstrap/button.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2013-12-15 12:02:23 +0100
+Served asset /bootstrap/modal.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2013-12-15 12:02:23 +0100
+Served asset /bootstrap/carousel.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2013-12-15 12:02:23 +0100
+Served asset /bootstrap/tooltip.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2013-12-15 12:02:23 +0100
+Served asset /bootstrap/popover.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2013-12-15 12:02:23 +0100
+Served asset /bootstrap/transition.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2013-12-15 12:02:23 +0100
+Served asset /bootstrap/tab.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2013-12-15 12:02:23 +0100
+Served asset /bootstrap.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2013-12-15 12:02:23 +0100
+Served asset /home.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/properties.js?body=1" for 127.0.0.1 at 2013-12-15 12:02:23 +0100
+Served asset /properties.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/vehicles.js?body=1" for 127.0.0.1 at 2013-12-15 12:02:23 +0100
+Served asset /vehicles.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-12-15 12:02:23 +0100
+Served asset /application.js - 304 Not Modified (54ms)
+
+
+Started GET "/vehicles/new" for 127.0.0.1 at 2013-12-15 12:02:48 +0100
+Processing by VehiclesController#new as HTML
+ [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ [1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))[0m
+------------
+#<User:0x00000004c6c628>
+ Rendered vehicles/_form.html.erb (3.6ms)
+ Rendered vehicles/new.html.erb within layouts/application (4.8ms)
+Completed 200 OK in 35.5ms (Views: 20.3ms | ActiveRecord: 0.7ms)
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-12-15 12:02:48 +0100
+Served asset /application.css - 304 Not Modified (2ms)
+
+
+Started GET "/assets/bootstrap-generators.css?body=1" for 127.0.0.1 at 2013-12-15 12:02:48 +0100
+Served asset /bootstrap-generators.css - 304 Not Modified (2ms)
+
+
+Started GET "/assets/bootstrap-variables.css?body=1" for 127.0.0.1 at 2013-12-15 12:02:48 +0100
+Served asset /bootstrap-variables.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/scaffolds.css?body=1" for 127.0.0.1 at 2013-12-15 12:02:48 +0100
+Served asset /scaffolds.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/vehicles.css?body=1" for 127.0.0.1 at 2013-12-15 12:02:48 +0100
+Served asset /vehicles.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-12-15 12:02:48 +0100
+Served asset /jquery.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-12-15 12:02:48 +0100
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2013-12-15 12:02:48 +0100
+Served asset /bootstrap/affix.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2013-12-15 12:02:48 +0100
+Served asset /bootstrap/scrollspy.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2013-12-15 12:02:48 +0100
+Served asset /bootstrap/collapse.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2013-12-15 12:02:48 +0100
+Served asset /bootstrap/alert.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2013-12-15 12:02:48 +0100
+Served asset /bootstrap/dropdown.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2013-12-15 12:02:48 +0100
+Served asset /bootstrap/button.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2013-12-15 12:02:48 +0100
+Served asset /bootstrap/modal.js - 304 Not Modified (5ms)
+
+
+Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2013-12-15 12:02:48 +0100
+Served asset /bootstrap/carousel.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2013-12-15 12:02:48 +0100
+Served asset /bootstrap/tooltip.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2013-12-15 12:02:48 +0100
+Served asset /bootstrap/popover.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2013-12-15 12:02:48 +0100
+Served asset /bootstrap/transition.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2013-12-15 12:02:48 +0100
+Served asset /bootstrap/tab.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2013-12-15 12:02:48 +0100
+Served asset /bootstrap.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2013-12-15 12:02:48 +0100
+Served asset /home.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/properties.js?body=1" for 127.0.0.1 at 2013-12-15 12:02:48 +0100
+Served asset /properties.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/vehicles.js?body=1" for 127.0.0.1 at 2013-12-15 12:02:48 +0100
+Served asset /vehicles.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-12-15 12:02:48 +0100
+Served asset /application.js - 304 Not Modified (1ms)
+
+
+Started GET "/vehicles/new" for 127.0.0.1 at 2013-12-15 12:02:49 +0100
+Processing by VehiclesController#new as HTML
+ [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))[0m
+------------
+#<User:0x00000005526430>
+ Rendered vehicles/_form.html.erb (2.7ms)
+ Rendered vehicles/new.html.erb within layouts/application (4.0ms)
+Completed 200 OK in 33.8ms (Views: 19.6ms | ActiveRecord: 0.5ms)
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-12-15 12:02:49 +0100
+Served asset /application.css - 304 Not Modified (2ms)
+
+
+Started GET "/assets/bootstrap-generators.css?body=1" for 127.0.0.1 at 2013-12-15 12:02:49 +0100
+Served asset /bootstrap-generators.css - 304 Not Modified (36ms)
+
+
+Started GET "/assets/bootstrap-variables.css?body=1" for 127.0.0.1 at 2013-12-15 12:02:49 +0100
+Served asset /bootstrap-variables.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/scaffolds.css?body=1" for 127.0.0.1 at 2013-12-15 12:02:49 +0100
+Served asset /scaffolds.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/vehicles.css?body=1" for 127.0.0.1 at 2013-12-15 12:02:49 +0100
+Served asset /vehicles.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-12-15 12:02:49 +0100
+Served asset /jquery.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-12-15 12:02:49 +0100
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2013-12-15 12:02:49 +0100
+Served asset /bootstrap/affix.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2013-12-15 12:02:49 +0100
+Served asset /bootstrap/scrollspy.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2013-12-15 12:02:49 +0100
+Served asset /bootstrap/collapse.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2013-12-15 12:02:49 +0100
+Served asset /bootstrap/alert.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2013-12-15 12:02:49 +0100
+Served asset /bootstrap/dropdown.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2013-12-15 12:02:49 +0100
+Served asset /bootstrap/button.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2013-12-15 12:02:49 +0100
+Served asset /bootstrap/modal.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2013-12-15 12:02:49 +0100
+Served asset /bootstrap/carousel.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2013-12-15 12:02:49 +0100
+Served asset /bootstrap/tooltip.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2013-12-15 12:02:49 +0100
+Served asset /bootstrap/popover.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2013-12-15 12:02:49 +0100
+Served asset /bootstrap/transition.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2013-12-15 12:02:49 +0100
+Served asset /bootstrap/tab.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2013-12-15 12:02:49 +0100
+Served asset /bootstrap.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2013-12-15 12:02:49 +0100
+Served asset /home.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/properties.js?body=1" for 127.0.0.1 at 2013-12-15 12:02:49 +0100
+Served asset /properties.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/vehicles.js?body=1" for 127.0.0.1 at 2013-12-15 12:02:49 +0100
+Served asset /vehicles.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-12-15 12:02:49 +0100
+Served asset /application.js - 304 Not Modified (1ms)
+
+
+Started GET "/vehicles/new" for 127.0.0.1 at 2013-12-15 12:02:59 +0100
+Processing by VehiclesController#new as HTML
+ [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))[0m
+------------
+#<User:0x0000000555cdc8>
+ Rendered vehicles/_form.html.erb (3.8ms)
+ Rendered vehicles/new.html.erb within layouts/application (5.3ms)
+Completed 200 OK in 34.5ms (Views: 20.0ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-12-15 12:02:59 +0100
+Served asset /application.css - 304 Not Modified (58ms)
+
+
+Started GET "/assets/bootstrap-generators.css?body=1" for 127.0.0.1 at 2013-12-15 12:02:59 +0100
+Served asset /bootstrap-generators.css - 304 Not Modified (1ms)
+
+
+Started GET "/assets/bootstrap-variables.css?body=1" for 127.0.0.1 at 2013-12-15 12:02:59 +0100
+Served asset /bootstrap-variables.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/scaffolds.css?body=1" for 127.0.0.1 at 2013-12-15 12:02:59 +0100
+Served asset /scaffolds.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/vehicles.css?body=1" for 127.0.0.1 at 2013-12-15 12:02:59 +0100
+Served asset /vehicles.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-12-15 12:02:59 +0100
+Served asset /jquery.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-12-15 12:02:59 +0100
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2013-12-15 12:02:59 +0100
+Served asset /bootstrap/affix.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2013-12-15 12:02:59 +0100
+Served asset /bootstrap/scrollspy.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2013-12-15 12:02:59 +0100
+Served asset /bootstrap/collapse.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2013-12-15 12:02:59 +0100
+Served asset /bootstrap/alert.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2013-12-15 12:02:59 +0100
+Served asset /bootstrap/dropdown.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2013-12-15 12:02:59 +0100
+Served asset /bootstrap/button.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2013-12-15 12:02:59 +0100
+Served asset /bootstrap/modal.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2013-12-15 12:02:59 +0100
+Served asset /bootstrap/carousel.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2013-12-15 12:02:59 +0100
+Served asset /bootstrap/tooltip.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2013-12-15 12:02:59 +0100
+Served asset /bootstrap/popover.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2013-12-15 12:02:59 +0100
+Served asset /bootstrap/transition.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2013-12-15 12:02:59 +0100
+Served asset /bootstrap/tab.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2013-12-15 12:02:59 +0100
+Served asset /bootstrap.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2013-12-15 12:02:59 +0100
+Served asset /home.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/properties.js?body=1" for 127.0.0.1 at 2013-12-15 12:03:00 +0100
+Served asset /properties.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/vehicles.js?body=1" for 127.0.0.1 at 2013-12-15 12:03:00 +0100
+Served asset /vehicles.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-12-15 12:03:00 +0100
+Served asset /application.js - 304 Not Modified (1ms)
+
+
+Started GET "/vehicles/new" for 127.0.0.1 at 2013-12-15 12:03:00 +0100
+Processing by VehiclesController#new as HTML
+ [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))[0m
+------------
+#<User:0x00000005849b80>
+ Rendered vehicles/_form.html.erb (3.1ms)
+ Rendered vehicles/new.html.erb within layouts/application (4.4ms)
+Completed 200 OK in 67.6ms (Views: 54.0ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-12-15 12:03:00 +0100
+Served asset /application.css - 304 Not Modified (1ms)
+
+
+Started GET "/assets/bootstrap-generators.css?body=1" for 127.0.0.1 at 2013-12-15 12:03:01 +0100
+Served asset /bootstrap-generators.css - 304 Not Modified (2ms)
+
+
+Started GET "/assets/bootstrap-variables.css?body=1" for 127.0.0.1 at 2013-12-15 12:03:01 +0100
+Served asset /bootstrap-variables.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/scaffolds.css?body=1" for 127.0.0.1 at 2013-12-15 12:03:01 +0100
+Served asset /scaffolds.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/vehicles.css?body=1" for 127.0.0.1 at 2013-12-15 12:03:01 +0100
+Served asset /vehicles.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-12-15 12:03:01 +0100
+Served asset /jquery.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-12-15 12:03:01 +0100
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2013-12-15 12:03:01 +0100
+Served asset /bootstrap/affix.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2013-12-15 12:03:01 +0100
+Served asset /bootstrap/scrollspy.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2013-12-15 12:03:01 +0100
+Served asset /bootstrap/collapse.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2013-12-15 12:03:01 +0100
+Served asset /bootstrap/alert.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2013-12-15 12:03:01 +0100
+Served asset /bootstrap/dropdown.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2013-12-15 12:03:01 +0100
+Served asset /bootstrap/button.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2013-12-15 12:03:01 +0100
+Served asset /bootstrap/modal.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2013-12-15 12:03:01 +0100
+Served asset /bootstrap/carousel.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2013-12-15 12:03:01 +0100
+Served asset /bootstrap/tooltip.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2013-12-15 12:03:01 +0100
+Served asset /bootstrap/popover.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2013-12-15 12:03:01 +0100
+Served asset /bootstrap/transition.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2013-12-15 12:03:01 +0100
+Served asset /bootstrap/tab.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2013-12-15 12:03:01 +0100
+Served asset /bootstrap.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2013-12-15 12:03:01 +0100
+Served asset /home.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/properties.js?body=1" for 127.0.0.1 at 2013-12-15 12:03:01 +0100
+Served asset /properties.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/vehicles.js?body=1" for 127.0.0.1 at 2013-12-15 12:03:01 +0100
+Served asset /vehicles.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-12-15 12:03:01 +0100
+Served asset /application.js - 304 Not Modified (1ms)
+
+
+Started GET "/vehicles/new" for 127.0.0.1 at 2013-12-15 12:03:01 +0100
+Processing by VehiclesController#new as HTML
+ [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))[0m
+------------
+#<User:0x00000005554038>
+ Rendered vehicles/_form.html.erb (3.8ms)
+ Rendered vehicles/new.html.erb within layouts/application (5.1ms)
+Completed 200 OK in 69.8ms (Views: 56.6ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-12-15 12:03:01 +0100
+Served asset /application.css - 304 Not Modified (2ms)
+
+
+Started GET "/assets/bootstrap-generators.css?body=1" for 127.0.0.1 at 2013-12-15 12:03:01 +0100
+Served asset /bootstrap-generators.css - 304 Not Modified (1ms)
+
+
+Started GET "/assets/bootstrap-variables.css?body=1" for 127.0.0.1 at 2013-12-15 12:03:01 +0100
+Served asset /bootstrap-variables.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/scaffolds.css?body=1" for 127.0.0.1 at 2013-12-15 12:03:01 +0100
+Served asset /scaffolds.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/vehicles.css?body=1" for 127.0.0.1 at 2013-12-15 12:03:01 +0100
+Served asset /vehicles.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-12-15 12:03:01 +0100
+Served asset /jquery.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-12-15 12:03:01 +0100
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2013-12-15 12:03:01 +0100
+Served asset /bootstrap/affix.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2013-12-15 12:03:01 +0100
+Served asset /bootstrap/scrollspy.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2013-12-15 12:03:01 +0100
+Served asset /bootstrap/collapse.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2013-12-15 12:03:01 +0100
+Served asset /bootstrap/alert.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2013-12-15 12:03:01 +0100
+Served asset /bootstrap/dropdown.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2013-12-15 12:03:01 +0100
+Served asset /bootstrap/button.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2013-12-15 12:03:01 +0100
+Served asset /bootstrap/modal.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2013-12-15 12:03:01 +0100
+Served asset /bootstrap/carousel.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2013-12-15 12:03:01 +0100
+Served asset /bootstrap/tooltip.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2013-12-15 12:03:01 +0100
+Served asset /bootstrap/popover.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2013-12-15 12:03:01 +0100
+Served asset /bootstrap/transition.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2013-12-15 12:03:01 +0100
+Served asset /bootstrap/tab.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2013-12-15 12:03:01 +0100
+Served asset /bootstrap.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2013-12-15 12:03:01 +0100
+Served asset /home.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/properties.js?body=1" for 127.0.0.1 at 2013-12-15 12:03:01 +0100
+Served asset /properties.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-12-15 12:03:01 +0100
+Served asset /application.js - 304 Not Modified (38ms)
+
+
+Started GET "/assets/vehicles.js?body=1" for 127.0.0.1 at 2013-12-15 12:03:01 +0100
+Served asset /vehicles.js - 304 Not Modified (0ms)
+
+
+Started GET "/vehicles" for 127.0.0.1 at 2013-12-15 12:03:02 +0100
+Processing by VehiclesController#index as HTML
+ [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))[0m
+ [1m[35mVehicle Load (0.2ms)[0m SELECT "vehicles".* FROM "vehicles"
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ Rendered vehicles/index.html.erb within layouts/application (3.5ms)
+Completed 200 OK in 35.8ms (Views: 19.1ms | ActiveRecord: 0.7ms)
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-12-15 12:03:02 +0100
+Served asset /application.css - 304 Not Modified (2ms)
+
+
+Started GET "/assets/bootstrap-generators.css?body=1" for 127.0.0.1 at 2013-12-15 12:03:02 +0100
+Served asset /bootstrap-generators.css - 304 Not Modified (2ms)
+
+
+Started GET "/assets/bootstrap-variables.css?body=1" for 127.0.0.1 at 2013-12-15 12:03:02 +0100
+Served asset /bootstrap-variables.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/scaffolds.css?body=1" for 127.0.0.1 at 2013-12-15 12:03:02 +0100
+Served asset /scaffolds.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/vehicles.css?body=1" for 127.0.0.1 at 2013-12-15 12:03:02 +0100
+Served asset /vehicles.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-12-15 12:03:02 +0100
+Served asset /jquery.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-12-15 12:03:02 +0100
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2013-12-15 12:03:02 +0100
+Served asset /bootstrap/affix.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2013-12-15 12:03:02 +0100
+Served asset /bootstrap/scrollspy.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2013-12-15 12:03:02 +0100
+Served asset /bootstrap/collapse.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2013-12-15 12:03:02 +0100
+Served asset /bootstrap/alert.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2013-12-15 12:03:02 +0100
+Served asset /bootstrap/dropdown.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2013-12-15 12:03:02 +0100
+Served asset /bootstrap/button.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2013-12-15 12:03:02 +0100
+Served asset /bootstrap/modal.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2013-12-15 12:03:02 +0100
+Served asset /bootstrap/carousel.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2013-12-15 12:03:02 +0100
+Served asset /bootstrap/tooltip.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2013-12-15 12:03:02 +0100
+Served asset /bootstrap/popover.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2013-12-15 12:03:02 +0100
+Served asset /bootstrap/transition.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2013-12-15 12:03:02 +0100
+Served asset /bootstrap/tab.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2013-12-15 12:03:02 +0100
+Served asset /bootstrap.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2013-12-15 12:03:02 +0100
+Served asset /home.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/properties.js?body=1" for 127.0.0.1 at 2013-12-15 12:03:02 +0100
+Served asset /properties.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/vehicles.js?body=1" for 127.0.0.1 at 2013-12-15 12:03:02 +0100
+Served asset /vehicles.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-12-15 12:03:02 +0100
+Served asset /application.js - 304 Not Modified (1ms)
+
+
+Started GET "/vehicles/new" for 127.0.0.1 at 2013-12-15 12:03:03 +0100
+Processing by VehiclesController#new as HTML
+ [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))[0m
+------------
+#<User:0x000000057869f0>
+ Rendered vehicles/_form.html.erb (3.3ms)
+ Rendered vehicles/new.html.erb within layouts/application (4.6ms)
+Completed 200 OK in 32.4ms (Views: 18.6ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-12-15 12:03:03 +0100
+Served asset /application.css - 304 Not Modified (2ms)
+
+
+Started GET "/assets/bootstrap-generators.css?body=1" for 127.0.0.1 at 2013-12-15 12:03:03 +0100
+Served asset /bootstrap-generators.css - 304 Not Modified (39ms)
+
+
+Started GET "/assets/bootstrap-variables.css?body=1" for 127.0.0.1 at 2013-12-15 12:03:03 +0100
+Served asset /bootstrap-variables.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/scaffolds.css?body=1" for 127.0.0.1 at 2013-12-15 12:03:03 +0100
+Served asset /scaffolds.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/vehicles.css?body=1" for 127.0.0.1 at 2013-12-15 12:03:03 +0100
+Served asset /vehicles.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-12-15 12:03:03 +0100
+Served asset /jquery.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-12-15 12:03:03 +0100
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2013-12-15 12:03:03 +0100
+Served asset /bootstrap/affix.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2013-12-15 12:03:03 +0100
+Served asset /bootstrap/scrollspy.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2013-12-15 12:03:03 +0100
+Served asset /bootstrap/collapse.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2013-12-15 12:03:03 +0100
+Served asset /bootstrap/alert.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2013-12-15 12:03:03 +0100
+Served asset /bootstrap/dropdown.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2013-12-15 12:03:03 +0100
+Served asset /bootstrap/button.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2013-12-15 12:03:03 +0100
+Served asset /bootstrap/modal.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2013-12-15 12:03:03 +0100
+Served asset /bootstrap/carousel.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2013-12-15 12:03:03 +0100
+Served asset /bootstrap/tooltip.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2013-12-15 12:03:03 +0100
+Served asset /bootstrap/popover.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2013-12-15 12:03:03 +0100
+Served asset /bootstrap/transition.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2013-12-15 12:03:03 +0100
+Served asset /bootstrap/tab.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2013-12-15 12:03:03 +0100
+Served asset /bootstrap.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2013-12-15 12:03:03 +0100
+Served asset /home.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/properties.js?body=1" for 127.0.0.1 at 2013-12-15 12:03:03 +0100
+Served asset /properties.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/vehicles.js?body=1" for 127.0.0.1 at 2013-12-15 12:03:03 +0100
+Served asset /vehicles.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-12-15 12:03:03 +0100
+Served asset /application.js - 304 Not Modified (1ms)
+
+
+Started GET "/vehicles/new" for 127.0.0.1 at 2013-12-15 12:03:37 +0100
+Processing by VehiclesController#new as HTML
+ [1m[35mUser Load (0.4ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))[0m
+------------
+#<User:0x000000055604f0>
+ Rendered vehicles/_form.html.erb (3.2ms)
+ Rendered vehicles/new.html.erb within layouts/application (4.4ms)
+Completed 200 OK in 38.2ms (Views: 19.4ms | ActiveRecord: 0.6ms)
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-12-15 12:03:37 +0100
+Served asset /application.css - 304 Not Modified (37ms)
+
+
+Started GET "/assets/bootstrap-generators.css?body=1" for 127.0.0.1 at 2013-12-15 12:03:37 +0100
+Served asset /bootstrap-generators.css - 304 Not Modified (2ms)
+
+
+Started GET "/assets/bootstrap-variables.css?body=1" for 127.0.0.1 at 2013-12-15 12:03:37 +0100
+Served asset /bootstrap-variables.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/scaffolds.css?body=1" for 127.0.0.1 at 2013-12-15 12:03:37 +0100
+Served asset /scaffolds.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/vehicles.css?body=1" for 127.0.0.1 at 2013-12-15 12:03:37 +0100
+Served asset /vehicles.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-12-15 12:03:37 +0100
+Served asset /jquery.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-12-15 12:03:37 +0100
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2013-12-15 12:03:37 +0100
+Served asset /bootstrap/affix.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2013-12-15 12:03:37 +0100
+Served asset /bootstrap/scrollspy.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2013-12-15 12:03:37 +0100
+Served asset /bootstrap/collapse.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2013-12-15 12:03:37 +0100
+Served asset /bootstrap/alert.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2013-12-15 12:03:37 +0100
+Served asset /bootstrap/dropdown.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2013-12-15 12:03:37 +0100
+Served asset /bootstrap/button.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2013-12-15 12:03:37 +0100
+Served asset /bootstrap/modal.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2013-12-15 12:03:37 +0100
+Served asset /bootstrap/carousel.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2013-12-15 12:03:37 +0100
+Served asset /bootstrap/tooltip.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2013-12-15 12:03:37 +0100
+Served asset /bootstrap/popover.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2013-12-15 12:03:37 +0100
+Served asset /bootstrap/transition.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2013-12-15 12:03:37 +0100
+Served asset /bootstrap/tab.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2013-12-15 12:03:37 +0100
+Served asset /bootstrap.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2013-12-15 12:03:37 +0100
+Served asset /home.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/properties.js?body=1" for 127.0.0.1 at 2013-12-15 12:03:37 +0100
+Served asset /properties.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/vehicles.js?body=1" for 127.0.0.1 at 2013-12-15 12:03:37 +0100
+Served asset /vehicles.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-12-15 12:03:37 +0100
+Served asset /application.js - 304 Not Modified (1ms)
+Connecting to database specified by database.yml
+
+
+Started GET "/vehicles/new" for 127.0.0.1 at 2013-12-15 12:04:30 +0100
+Processing by VehiclesController#new as HTML
+ [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))
+------------
+#<User:0x0000000392ea98>
+ERROR: compiling _app_views_vehicles__form_html_erb___2976255220416232029_27577980 RAISED /home/clinik/App/rails_projects/car_app/app/views/vehicles/_form.html.erb:40: syntax error, unexpected ',', expecting '}'
+...f.collection_select{ :property, :vehicle_id, Property.all, :...
+... ^
+/home/clinik/App/rails_projects/car_app/app/views/vehicles/_form.html.erb:40: syntax error, unexpected ',', expecting tCOLON2 or '[' or '.'
+...:vehicle_id, Property.all, :id, :subtype } );@output_buffer....
+... ^
+Function body: def _app_views_vehicles__form_html_erb___2976255220416232029_27577980(local_assigns, output_buffer)
+ _old_virtual_path, @virtual_path = @virtual_path, "vehicles/_form";_old_output_buffer = @output_buffer;form = local_assigns[:form];;@output_buffer = output_buffer || ActionView::OutputBuffer.new;@output_buffer.append= form_for(@vehicle, :html => { :class => "form-horizontal" }) do |f| @output_buffer.safe_concat('
+'); if @vehicle.errors.any?
+@output_buffer.safe_concat(' <div class="alert alert-danger alert-dismissable">
+ <button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
+ <h4>');@output_buffer.append= ( pluralize(@vehicle.errors.count, "error") );@output_buffer.safe_concat(' prohibited this vehicle from being saved:</h4>
+
+ <ul>
+'); @vehicle.errors.full_messages.each do |msg|
+@output_buffer.safe_concat(' <li>');@output_buffer.append= ( msg );@output_buffer.safe_concat('</li>
+'); end
+@output_buffer.safe_concat(' </ul>
+ </div>
+'); end
+@output_buffer.safe_concat('
+ <div class="form-group">
+ ');@output_buffer.append= ( f.label :manufacturer, :class => "col-lg-2 control-label" );@output_buffer.safe_concat('
+');@output_buffer.safe_concat(' <div class="col-lg-10">
+ ');@output_buffer.append= ( f.text_field :manufacturer, :class => "form-control" );@output_buffer.safe_concat('
+');@output_buffer.safe_concat(' </div>
+ </div>
+ <div class="form-group">
+ ');@output_buffer.append= ( f.label :modell, :class => "col-lg-2 control-label" );@output_buffer.safe_concat('
+');@output_buffer.safe_concat(' <div class="col-lg-10">
+ ');@output_buffer.append= ( f.text_field :subtype, :class => "form-control" );@output_buffer.safe_concat('
+');@output_buffer.safe_concat(' </div>
+ </div>
+ <div class="form-group">
+ ');@output_buffer.append= ( f.label :year, :class => "col-lg-2 control-label" );@output_buffer.safe_concat('
+');@output_buffer.safe_concat(' <div class="col-lg-10">
+ ');@output_buffer.append= ( f.number_field :year, :class => "form-control" );@output_buffer.safe_concat('
+');@output_buffer.safe_concat(' </div>
+ </div>
+ <div class="form-group">
+ ');@output_buffer.append= ( f.label :color, :class => "col-lg-2 control-label" );@output_buffer.safe_concat('
+');@output_buffer.safe_concat(' <div class="col-lg-10">
+ ');@output_buffer.append= ( f.text_field :color, :class => "form-control" );@output_buffer.safe_concat('
+');@output_buffer.safe_concat(' </div>
+ </div>
+ <div class="form-group">
+ ');@output_buffer.append= ( f.collection_select{ :property, :vehicle_id, Property.all, :id, :subtype } );@output_buffer.safe_concat('
+');@output_buffer.safe_concat(' </div>
+ <div class="form-group">
+ <div class="col-lg-offset-2 col-lg-10">
+ ');@output_buffer.append= ( f.submit :class => "btn btn-primary" );@output_buffer.safe_concat('
+');@output_buffer.safe_concat(' </div>
+ </div>
+'); end
+@output_buffer.to_s
+ ensure
+ @virtual_path, @output_buffer = _old_virtual_path, _old_output_buffer
+ end
+
+Backtrace: /root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_view/template.rb:297:in `module_eval'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_view/template.rb:297:in `compile'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_view/template.rb:244:in `block in compile!'
+<internal:prelude>:10:in `synchronize'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_view/template.rb:232:in `compile!'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_view/template.rb:144:in `block in render'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/activesupport-3.2.15/lib/active_support/notifications.rb:125:in `instrument'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_view/template.rb:143:in `render'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_view/renderer/partial_renderer.rb:265:in `render_partial'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_view/renderer/partial_renderer.rb:238:in `block in render'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/activesupport-3.2.15/lib/active_support/notifications.rb:123:in `block in instrument'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/activesupport-3.2.15/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/activesupport-3.2.15/lib/active_support/notifications.rb:123:in `instrument'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_view/renderer/partial_renderer.rb:237:in `render'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_view/renderer/renderer.rb:41:in `render_partial'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_view/helpers/rendering_helper.rb:27:in `render'
+/home/clinik/App/rails_projects/car_app/app/views/vehicles/new.html.erb:9:in `_app_views_vehicles_new_html_erb___2296130266274079150_29991040'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_view/template.rb:145:in `block in render'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/activesupport-3.2.15/lib/active_support/notifications.rb:125:in `instrument'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_view/template.rb:143:in `render'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_view/renderer/template_renderer.rb:47:in `block (2 levels) in render_template'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/activesupport-3.2.15/lib/active_support/notifications.rb:123:in `block in instrument'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/activesupport-3.2.15/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/activesupport-3.2.15/lib/active_support/notifications.rb:123:in `instrument'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_view/renderer/template_renderer.rb:46:in `block in render_template'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_view/renderer/template_renderer.rb:54:in `render_with_layout'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_view/renderer/template_renderer.rb:45:in `render_template'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_view/renderer/template_renderer.rb:18:in `render'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_view/renderer/renderer.rb:36:in `render_template'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_view/renderer/renderer.rb:17:in `render'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/abstract_controller/rendering.rb:110:in `_render_template'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_controller/metal/streaming.rb:225:in `_render_template'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/abstract_controller/rendering.rb:103:in `render_to_body'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_controller/metal/renderers.rb:28:in `render_to_body'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_controller/metal/compatibility.rb:50:in `render_to_body'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/abstract_controller/rendering.rb:88:in `render'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_controller/metal/rendering.rb:16:in `render'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/activesupport-3.2.15/lib/active_support/core_ext/benchmark.rb:5:in `block in ms'
+/root/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/benchmark.rb:295:in `realtime'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/activesupport-3.2.15/lib/active_support/core_ext/benchmark.rb:5:in `ms'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_controller/metal/instrumentation.rb:40:in `block in render'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/activerecord-3.2.15/lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_controller/metal/instrumentation.rb:39:in `render'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_controller/metal/implicit_render.rb:10:in `default_render'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_controller/metal/mime_responds.rb:196:in `respond_to'
+/home/clinik/App/rails_projects/car_app/app/controllers/vehicles_controller.rb:33:in `new'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/abstract_controller/base.rb:167:in `process_action'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_controller/metal/rendering.rb:10:in `process_action'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/abstract_controller/callbacks.rb:18:in `block in process_action'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/activesupport-3.2.15/lib/active_support/callbacks.rb:425:in `_run__4286771329807900612__process_action__1156297021362891616__callbacks'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/activesupport-3.2.15/lib/active_support/callbacks.rb:405:in `__run_callback'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/activesupport-3.2.15/lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/activesupport-3.2.15/lib/active_support/callbacks.rb:81:in `run_callbacks'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/abstract_controller/callbacks.rb:17:in `process_action'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_controller/metal/rescue.rb:29:in `process_action'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/activesupport-3.2.15/lib/active_support/notifications.rb:123:in `block in instrument'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/activesupport-3.2.15/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/activesupport-3.2.15/lib/active_support/notifications.rb:123:in `instrument'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_controller/metal/instrumentation.rb:29:in `process_action'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/activerecord-3.2.15/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/abstract_controller/base.rb:121:in `process'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/abstract_controller/rendering.rb:45:in `process'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_controller/metal.rb:203:in `dispatch'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_controller/metal.rb:246:in `block in action'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/routing/route_set.rb:73:in `call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/routing/route_set.rb:36:in `call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/journey-1.0.4/lib/journey/router.rb:68:in `block in call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/journey-1.0.4/lib/journey/router.rb:56:in `each'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/journey-1.0.4/lib/journey/router.rb:56:in `call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/routing/route_set.rb:608:in `call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/warden-1.2.3/lib/warden/manager.rb:35:in `block in call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/warden-1.2.3/lib/warden/manager.rb:34:in `catch'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/warden-1.2.3/lib/warden/manager.rb:34:in `call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/rack-1.4.5/lib/rack/etag.rb:23:in `call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/rack-1.4.5/lib/rack/conditionalget.rb:25:in `call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/head.rb:14:in `call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/params_parser.rb:21:in `call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/flash.rb:242:in `call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:210:in `context'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:205:in `call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/cookies.rb:341:in `call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/activerecord-3.2.15/lib/active_record/query_cache.rb:64:in `call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/activerecord-3.2.15/lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/activesupport-3.2.15/lib/active_support/callbacks.rb:405:in `_run__3755331985710642944__call__4155005800061394437__callbacks'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/activesupport-3.2.15/lib/active_support/callbacks.rb:405:in `__run_callback'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/activesupport-3.2.15/lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/activesupport-3.2.15/lib/active_support/callbacks.rb:81:in `run_callbacks'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/callbacks.rb:27:in `call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/reloader.rb:65:in `call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/railties-3.2.15/lib/rails/rack/logger.rb:32:in `call_app'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/railties-3.2.15/lib/rails/rack/logger.rb:16:in `block in call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/activesupport-3.2.15/lib/active_support/tagged_logging.rb:22:in `tagged'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/railties-3.2.15/lib/rails/rack/logger.rb:16:in `call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/request_id.rb:22:in `call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/rack-1.4.5/lib/rack/methodoverride.rb:21:in `call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/rack-1.4.5/lib/rack/runtime.rb:17:in `call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/activesupport-3.2.15/lib/active_support/cache/strategy/local_cache.rb:72:in `call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/rack-1.4.5/lib/rack/lock.rb:15:in `call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/static.rb:63:in `call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/railties-3.2.15/lib/rails/engine.rb:484:in `call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/railties-3.2.15/lib/rails/application.rb:231:in `call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/rack-1.4.5/lib/rack/content_length.rb:14:in `call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/railties-3.2.15/lib/rails/rack/log_tailer.rb:17:in `call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/thin-1.6.1/lib/thin/connection.rb:82:in `block in pre_process'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/thin-1.6.1/lib/thin/connection.rb:80:in `catch'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/thin-1.6.1/lib/thin/connection.rb:80:in `pre_process'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/thin-1.6.1/lib/thin/connection.rb:55:in `process'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/thin-1.6.1/lib/thin/connection.rb:41:in `receive_data'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/eventmachine-1.0.3/lib/eventmachine.rb:187:in `run_machine'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/eventmachine-1.0.3/lib/eventmachine.rb:187:in `run'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/thin-1.6.1/lib/thin/backends/base.rb:73:in `start'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/thin-1.6.1/lib/thin/server.rb:162:in `start'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/rack-1.4.5/lib/rack/handler/thin.rb:13:in `run'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/rack-1.4.5/lib/rack/server.rb:268:in `start'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/railties-3.2.15/lib/rails/commands/server.rb:70:in `start'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/railties-3.2.15/lib/rails/commands.rb:55:in `block in <top (required)>'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/railties-3.2.15/lib/rails/commands.rb:50:in `tap'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/railties-3.2.15/lib/rails/commands.rb:50:in `<top (required)>'
+script/rails:6:in `require'
+script/rails:6:in `<main>'
+ Rendered vehicles/_form.html.erb (39.3ms)
+ Rendered vehicles/new.html.erb within layouts/application (46.6ms)
+Completed 500 Internal Server Error in 491.2ms
+
+ActionView::Template::Error (/home/clinik/App/rails_projects/car_app/app/views/vehicles/_form.html.erb:40: syntax error, unexpected ',', expecting '}'
+...f.collection_select{ :property, :vehicle_id, Property.all, :...
+... ^
+/home/clinik/App/rails_projects/car_app/app/views/vehicles/_form.html.erb:40: syntax error, unexpected ',', expecting tCOLON2 or '[' or '.'
+...:vehicle_id, Property.all, :id, :subtype } );@output_buffer....
+... ^):
+ 37: </div>
+ 38: </div>
+ 39: <div class="form-group">
+ 40: <%= f.collection_select{ :property, :vehicle_id, Property.all, :id, :subtype } %>
+ 41: </div>
+ 42: <div class="form-group">
+ 43: <div class="col-lg-offset-2 col-lg-10">
+ app/views/vehicles/new.html.erb:9:in `_app_views_vehicles_new_html_erb___2296130266274079150_29991040'
+ app/controllers/vehicles_controller.rb:33:in `new'
+
+
+ Rendered /root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.1ms)
+ Rendered /root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.2ms)
+ Rendered /root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (10.4ms)
+
+
+Started GET "/vehicles/new" for 127.0.0.1 at 2013-12-15 12:05:35 +0100
+Processing by VehiclesController#new as HTML
+ [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))
+------------
+#<User:0x0000000402b0d0>
+ERROR: compiling _app_views_vehicles__form_html_erb___2976255220416232029_30700080 RAISED /home/clinik/App/rails_projects/car_app/app/views/vehicles/_form.html.erb:40: syntax error, unexpected ',', expecting '}'
+...f.collection_select{ :property, :vehicle_id, Property.all } ...
+... ^
+Function body: def _app_views_vehicles__form_html_erb___2976255220416232029_30700080(local_assigns, output_buffer)
+ _old_virtual_path, @virtual_path = @virtual_path, "vehicles/_form";_old_output_buffer = @output_buffer;form = local_assigns[:form];;@output_buffer = output_buffer || ActionView::OutputBuffer.new;@output_buffer.append= form_for(@vehicle, :html => { :class => "form-horizontal" }) do |f| @output_buffer.safe_concat('
+'); if @vehicle.errors.any?
+@output_buffer.safe_concat(' <div class="alert alert-danger alert-dismissable">
+ <button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
+ <h4>');@output_buffer.append= ( pluralize(@vehicle.errors.count, "error") );@output_buffer.safe_concat(' prohibited this vehicle from being saved:</h4>
+
+ <ul>
+'); @vehicle.errors.full_messages.each do |msg|
+@output_buffer.safe_concat(' <li>');@output_buffer.append= ( msg );@output_buffer.safe_concat('</li>
+'); end
+@output_buffer.safe_concat(' </ul>
+ </div>
+'); end
+@output_buffer.safe_concat('
+ <div class="form-group">
+ ');@output_buffer.append= ( f.label :manufacturer, :class => "col-lg-2 control-label" );@output_buffer.safe_concat('
+');@output_buffer.safe_concat(' <div class="col-lg-10">
+ ');@output_buffer.append= ( f.text_field :manufacturer, :class => "form-control" );@output_buffer.safe_concat('
+');@output_buffer.safe_concat(' </div>
+ </div>
+ <div class="form-group">
+ ');@output_buffer.append= ( f.label :modell, :class => "col-lg-2 control-label" );@output_buffer.safe_concat('
+');@output_buffer.safe_concat(' <div class="col-lg-10">
+ ');@output_buffer.append= ( f.text_field :subtype, :class => "form-control" );@output_buffer.safe_concat('
+');@output_buffer.safe_concat(' </div>
+ </div>
+ <div class="form-group">
+ ');@output_buffer.append= ( f.label :year, :class => "col-lg-2 control-label" );@output_buffer.safe_concat('
+');@output_buffer.safe_concat(' <div class="col-lg-10">
+ ');@output_buffer.append= ( f.number_field :year, :class => "form-control" );@output_buffer.safe_concat('
+');@output_buffer.safe_concat(' </div>
+ </div>
+ <div class="form-group">
+ ');@output_buffer.append= ( f.label :color, :class => "col-lg-2 control-label" );@output_buffer.safe_concat('
+');@output_buffer.safe_concat(' <div class="col-lg-10">
+ ');@output_buffer.append= ( f.text_field :color, :class => "form-control" );@output_buffer.safe_concat('
+');@output_buffer.safe_concat(' </div>
+ </div>
+ <div class="form-group">
+ ');@output_buffer.append= ( f.collection_select{ :property, :vehicle_id, Property.all } );@output_buffer.safe_concat('
+');@output_buffer.safe_concat(' </div>
+ <div class="form-group">
+ <div class="col-lg-offset-2 col-lg-10">
+ ');@output_buffer.append= ( f.submit :class => "btn btn-primary" );@output_buffer.safe_concat('
+');@output_buffer.safe_concat(' </div>
+ </div>
+'); end
+@output_buffer.to_s
+ ensure
+ @virtual_path, @output_buffer = _old_virtual_path, _old_output_buffer
+ end
+
+Backtrace: /root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_view/template.rb:297:in `module_eval'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_view/template.rb:297:in `compile'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_view/template.rb:244:in `block in compile!'
+<internal:prelude>:10:in `synchronize'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_view/template.rb:232:in `compile!'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_view/template.rb:144:in `block in render'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/activesupport-3.2.15/lib/active_support/notifications.rb:125:in `instrument'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_view/template.rb:143:in `render'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_view/renderer/partial_renderer.rb:265:in `render_partial'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_view/renderer/partial_renderer.rb:238:in `block in render'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/activesupport-3.2.15/lib/active_support/notifications.rb:123:in `block in instrument'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/activesupport-3.2.15/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/activesupport-3.2.15/lib/active_support/notifications.rb:123:in `instrument'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_view/renderer/partial_renderer.rb:237:in `render'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_view/renderer/renderer.rb:41:in `render_partial'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_view/helpers/rendering_helper.rb:27:in `render'
+/home/clinik/App/rails_projects/car_app/app/views/vehicles/new.html.erb:9:in `_app_views_vehicles_new_html_erb___2296130266274079150_29991040'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_view/template.rb:145:in `block in render'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/activesupport-3.2.15/lib/active_support/notifications.rb:125:in `instrument'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_view/template.rb:143:in `render'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_view/renderer/template_renderer.rb:47:in `block (2 levels) in render_template'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/activesupport-3.2.15/lib/active_support/notifications.rb:123:in `block in instrument'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/activesupport-3.2.15/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/activesupport-3.2.15/lib/active_support/notifications.rb:123:in `instrument'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_view/renderer/template_renderer.rb:46:in `block in render_template'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_view/renderer/template_renderer.rb:54:in `render_with_layout'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_view/renderer/template_renderer.rb:45:in `render_template'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_view/renderer/template_renderer.rb:18:in `render'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_view/renderer/renderer.rb:36:in `render_template'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_view/renderer/renderer.rb:17:in `render'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/abstract_controller/rendering.rb:110:in `_render_template'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_controller/metal/streaming.rb:225:in `_render_template'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/abstract_controller/rendering.rb:103:in `render_to_body'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_controller/metal/renderers.rb:28:in `render_to_body'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_controller/metal/compatibility.rb:50:in `render_to_body'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/abstract_controller/rendering.rb:88:in `render'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_controller/metal/rendering.rb:16:in `render'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/activesupport-3.2.15/lib/active_support/core_ext/benchmark.rb:5:in `block in ms'
+/root/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/benchmark.rb:295:in `realtime'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/activesupport-3.2.15/lib/active_support/core_ext/benchmark.rb:5:in `ms'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_controller/metal/instrumentation.rb:40:in `block in render'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/activerecord-3.2.15/lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_controller/metal/instrumentation.rb:39:in `render'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_controller/metal/implicit_render.rb:10:in `default_render'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_controller/metal/mime_responds.rb:196:in `respond_to'
+/home/clinik/App/rails_projects/car_app/app/controllers/vehicles_controller.rb:33:in `new'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/abstract_controller/base.rb:167:in `process_action'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_controller/metal/rendering.rb:10:in `process_action'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/abstract_controller/callbacks.rb:18:in `block in process_action'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/activesupport-3.2.15/lib/active_support/callbacks.rb:425:in `_run__4286771329807900612__process_action__1156297021362891616__callbacks'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/activesupport-3.2.15/lib/active_support/callbacks.rb:405:in `__run_callback'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/activesupport-3.2.15/lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/activesupport-3.2.15/lib/active_support/callbacks.rb:81:in `run_callbacks'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/abstract_controller/callbacks.rb:17:in `process_action'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_controller/metal/rescue.rb:29:in `process_action'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/activesupport-3.2.15/lib/active_support/notifications.rb:123:in `block in instrument'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/activesupport-3.2.15/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/activesupport-3.2.15/lib/active_support/notifications.rb:123:in `instrument'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_controller/metal/instrumentation.rb:29:in `process_action'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/activerecord-3.2.15/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/abstract_controller/base.rb:121:in `process'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/abstract_controller/rendering.rb:45:in `process'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_controller/metal.rb:203:in `dispatch'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_controller/metal.rb:246:in `block in action'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/routing/route_set.rb:73:in `call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/routing/route_set.rb:36:in `call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/journey-1.0.4/lib/journey/router.rb:68:in `block in call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/journey-1.0.4/lib/journey/router.rb:56:in `each'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/journey-1.0.4/lib/journey/router.rb:56:in `call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/routing/route_set.rb:608:in `call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/warden-1.2.3/lib/warden/manager.rb:35:in `block in call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/warden-1.2.3/lib/warden/manager.rb:34:in `catch'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/warden-1.2.3/lib/warden/manager.rb:34:in `call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/rack-1.4.5/lib/rack/etag.rb:23:in `call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/rack-1.4.5/lib/rack/conditionalget.rb:25:in `call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/head.rb:14:in `call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/params_parser.rb:21:in `call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/flash.rb:242:in `call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:210:in `context'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:205:in `call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/cookies.rb:341:in `call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/activerecord-3.2.15/lib/active_record/query_cache.rb:64:in `call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/activerecord-3.2.15/lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/activesupport-3.2.15/lib/active_support/callbacks.rb:405:in `_run__3755331985710642944__call__4155005800061394437__callbacks'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/activesupport-3.2.15/lib/active_support/callbacks.rb:405:in `__run_callback'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/activesupport-3.2.15/lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/activesupport-3.2.15/lib/active_support/callbacks.rb:81:in `run_callbacks'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/callbacks.rb:27:in `call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/reloader.rb:65:in `call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/railties-3.2.15/lib/rails/rack/logger.rb:32:in `call_app'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/railties-3.2.15/lib/rails/rack/logger.rb:16:in `block in call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/activesupport-3.2.15/lib/active_support/tagged_logging.rb:22:in `tagged'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/railties-3.2.15/lib/rails/rack/logger.rb:16:in `call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/request_id.rb:22:in `call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/rack-1.4.5/lib/rack/methodoverride.rb:21:in `call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/rack-1.4.5/lib/rack/runtime.rb:17:in `call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/activesupport-3.2.15/lib/active_support/cache/strategy/local_cache.rb:72:in `call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/rack-1.4.5/lib/rack/lock.rb:15:in `call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/static.rb:63:in `call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/railties-3.2.15/lib/rails/engine.rb:484:in `call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/railties-3.2.15/lib/rails/application.rb:231:in `call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/rack-1.4.5/lib/rack/content_length.rb:14:in `call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/railties-3.2.15/lib/rails/rack/log_tailer.rb:17:in `call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/thin-1.6.1/lib/thin/connection.rb:82:in `block in pre_process'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/thin-1.6.1/lib/thin/connection.rb:80:in `catch'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/thin-1.6.1/lib/thin/connection.rb:80:in `pre_process'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/thin-1.6.1/lib/thin/connection.rb:55:in `process'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/thin-1.6.1/lib/thin/connection.rb:41:in `receive_data'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/eventmachine-1.0.3/lib/eventmachine.rb:187:in `run_machine'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/eventmachine-1.0.3/lib/eventmachine.rb:187:in `run'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/thin-1.6.1/lib/thin/backends/base.rb:73:in `start'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/thin-1.6.1/lib/thin/server.rb:162:in `start'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/rack-1.4.5/lib/rack/handler/thin.rb:13:in `run'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/rack-1.4.5/lib/rack/server.rb:268:in `start'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/railties-3.2.15/lib/rails/commands/server.rb:70:in `start'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/railties-3.2.15/lib/rails/commands.rb:55:in `block in <top (required)>'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/railties-3.2.15/lib/rails/commands.rb:50:in `tap'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/railties-3.2.15/lib/rails/commands.rb:50:in `<top (required)>'
+script/rails:6:in `require'
+script/rails:6:in `<main>'
+ Rendered vehicles/_form.html.erb (1.2ms)
+ Rendered vehicles/new.html.erb within layouts/application (2.4ms)
+Completed 500 Internal Server Error in 17.8ms
+
+ActionView::Template::Error (/home/clinik/App/rails_projects/car_app/app/views/vehicles/_form.html.erb:40: syntax error, unexpected ',', expecting '}'
+...f.collection_select{ :property, :vehicle_id, Property.all } ...
+... ^):
+ 37: </div>
+ 38: </div>
+ 39: <div class="form-group">
+ 40: <%= f.collection_select{ :property, :vehicle_id, Property.all } %>
+ 41: </div>
+ 42: <div class="form-group">
+ 43: <div class="col-lg-offset-2 col-lg-10">
+ app/views/vehicles/new.html.erb:9:in `_app_views_vehicles_new_html_erb___2296130266274079150_29991040'
+ app/controllers/vehicles_controller.rb:33:in `new'
+
+
+ Rendered /root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.3ms)
+ Rendered /root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.0ms)
+ Rendered /root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (10.0ms)
+
+
+Started GET "/vehicles/new" for 127.0.0.1 at 2013-12-15 12:06:16 +0100
+Processing by VehiclesController#new as HTML
+ [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ [1m[35m (0.5ms)[0m SELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))
+------------
+#<User:0x000000044ca370>
+ERROR: compiling _app_views_vehicles__form_html_erb___2976255220416232029_35452620 RAISED /home/clinik/App/rails_projects/car_app/app/views/vehicles/_form.html.erb:40: syntax error, unexpected ',', expecting '}'
+...f.collection_select{ :property, :vehicle_id, Property.all, :...
+... ^
+/home/clinik/App/rails_projects/car_app/app/views/vehicles/_form.html.erb:40: syntax error, unexpected ',', expecting tCOLON2 or '[' or '.'
+...ehicle_id, Property.all, :show, :subtype } );@output_buffer....
+... ^
+Function body: def _app_views_vehicles__form_html_erb___2976255220416232029_35452620(local_assigns, output_buffer)
+ _old_virtual_path, @virtual_path = @virtual_path, "vehicles/_form";_old_output_buffer = @output_buffer;form = local_assigns[:form];;@output_buffer = output_buffer || ActionView::OutputBuffer.new;@output_buffer.append= form_for(@vehicle, :html => { :class => "form-horizontal" }) do |f| @output_buffer.safe_concat('
+'); if @vehicle.errors.any?
+@output_buffer.safe_concat(' <div class="alert alert-danger alert-dismissable">
+ <button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
+ <h4>');@output_buffer.append= ( pluralize(@vehicle.errors.count, "error") );@output_buffer.safe_concat(' prohibited this vehicle from being saved:</h4>
+
+ <ul>
+'); @vehicle.errors.full_messages.each do |msg|
+@output_buffer.safe_concat(' <li>');@output_buffer.append= ( msg );@output_buffer.safe_concat('</li>
+'); end
+@output_buffer.safe_concat(' </ul>
+ </div>
+'); end
+@output_buffer.safe_concat('
+ <div class="form-group">
+ ');@output_buffer.append= ( f.label :manufacturer, :class => "col-lg-2 control-label" );@output_buffer.safe_concat('
+');@output_buffer.safe_concat(' <div class="col-lg-10">
+ ');@output_buffer.append= ( f.text_field :manufacturer, :class => "form-control" );@output_buffer.safe_concat('
+');@output_buffer.safe_concat(' </div>
+ </div>
+ <div class="form-group">
+ ');@output_buffer.append= ( f.label :modell, :class => "col-lg-2 control-label" );@output_buffer.safe_concat('
+');@output_buffer.safe_concat(' <div class="col-lg-10">
+ ');@output_buffer.append= ( f.text_field :subtype, :class => "form-control" );@output_buffer.safe_concat('
+');@output_buffer.safe_concat(' </div>
+ </div>
+ <div class="form-group">
+ ');@output_buffer.append= ( f.label :year, :class => "col-lg-2 control-label" );@output_buffer.safe_concat('
+');@output_buffer.safe_concat(' <div class="col-lg-10">
+ ');@output_buffer.append= ( f.number_field :year, :class => "form-control" );@output_buffer.safe_concat('
+');@output_buffer.safe_concat(' </div>
+ </div>
+ <div class="form-group">
+ ');@output_buffer.append= ( f.label :color, :class => "col-lg-2 control-label" );@output_buffer.safe_concat('
+');@output_buffer.safe_concat(' <div class="col-lg-10">
+ ');@output_buffer.append= ( f.text_field :color, :class => "form-control" );@output_buffer.safe_concat('
+');@output_buffer.safe_concat(' </div>
+ </div>
+ <div class="form-group">
+ ');@output_buffer.append= ( f.collection_select{ :property, :vehicle_id, Property.all, :show, :subtype } );@output_buffer.safe_concat('
+');@output_buffer.safe_concat(' </div>
+ <div class="form-group">
+ <div class="col-lg-offset-2 col-lg-10">
+ ');@output_buffer.append= ( f.submit :class => "btn btn-primary" );@output_buffer.safe_concat('
+');@output_buffer.safe_concat(' </div>
+ </div>
+'); end
+@output_buffer.to_s
+ ensure
+ @virtual_path, @output_buffer = _old_virtual_path, _old_output_buffer
+ end
+
+Backtrace: /root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_view/template.rb:297:in `module_eval'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_view/template.rb:297:in `compile'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_view/template.rb:244:in `block in compile!'
+<internal:prelude>:10:in `synchronize'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_view/template.rb:232:in `compile!'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_view/template.rb:144:in `block in render'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/activesupport-3.2.15/lib/active_support/notifications.rb:125:in `instrument'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_view/template.rb:143:in `render'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_view/renderer/partial_renderer.rb:265:in `render_partial'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_view/renderer/partial_renderer.rb:238:in `block in render'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/activesupport-3.2.15/lib/active_support/notifications.rb:123:in `block in instrument'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/activesupport-3.2.15/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/activesupport-3.2.15/lib/active_support/notifications.rb:123:in `instrument'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_view/renderer/partial_renderer.rb:237:in `render'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_view/renderer/renderer.rb:41:in `render_partial'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_view/helpers/rendering_helper.rb:27:in `render'
+/home/clinik/App/rails_projects/car_app/app/views/vehicles/new.html.erb:9:in `_app_views_vehicles_new_html_erb___2296130266274079150_29991040'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_view/template.rb:145:in `block in render'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/activesupport-3.2.15/lib/active_support/notifications.rb:125:in `instrument'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_view/template.rb:143:in `render'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_view/renderer/template_renderer.rb:47:in `block (2 levels) in render_template'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/activesupport-3.2.15/lib/active_support/notifications.rb:123:in `block in instrument'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/activesupport-3.2.15/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/activesupport-3.2.15/lib/active_support/notifications.rb:123:in `instrument'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_view/renderer/template_renderer.rb:46:in `block in render_template'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_view/renderer/template_renderer.rb:54:in `render_with_layout'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_view/renderer/template_renderer.rb:45:in `render_template'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_view/renderer/template_renderer.rb:18:in `render'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_view/renderer/renderer.rb:36:in `render_template'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_view/renderer/renderer.rb:17:in `render'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/abstract_controller/rendering.rb:110:in `_render_template'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_controller/metal/streaming.rb:225:in `_render_template'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/abstract_controller/rendering.rb:103:in `render_to_body'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_controller/metal/renderers.rb:28:in `render_to_body'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_controller/metal/compatibility.rb:50:in `render_to_body'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/abstract_controller/rendering.rb:88:in `render'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_controller/metal/rendering.rb:16:in `render'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/activesupport-3.2.15/lib/active_support/core_ext/benchmark.rb:5:in `block in ms'
+/root/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/benchmark.rb:295:in `realtime'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/activesupport-3.2.15/lib/active_support/core_ext/benchmark.rb:5:in `ms'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_controller/metal/instrumentation.rb:40:in `block in render'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/activerecord-3.2.15/lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_controller/metal/instrumentation.rb:39:in `render'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_controller/metal/implicit_render.rb:10:in `default_render'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_controller/metal/mime_responds.rb:196:in `respond_to'
+/home/clinik/App/rails_projects/car_app/app/controllers/vehicles_controller.rb:33:in `new'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/abstract_controller/base.rb:167:in `process_action'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_controller/metal/rendering.rb:10:in `process_action'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/abstract_controller/callbacks.rb:18:in `block in process_action'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/activesupport-3.2.15/lib/active_support/callbacks.rb:425:in `_run__4286771329807900612__process_action__1156297021362891616__callbacks'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/activesupport-3.2.15/lib/active_support/callbacks.rb:405:in `__run_callback'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/activesupport-3.2.15/lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/activesupport-3.2.15/lib/active_support/callbacks.rb:81:in `run_callbacks'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/abstract_controller/callbacks.rb:17:in `process_action'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_controller/metal/rescue.rb:29:in `process_action'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/activesupport-3.2.15/lib/active_support/notifications.rb:123:in `block in instrument'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/activesupport-3.2.15/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/activesupport-3.2.15/lib/active_support/notifications.rb:123:in `instrument'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_controller/metal/instrumentation.rb:29:in `process_action'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/activerecord-3.2.15/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/abstract_controller/base.rb:121:in `process'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/abstract_controller/rendering.rb:45:in `process'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_controller/metal.rb:203:in `dispatch'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_controller/metal.rb:246:in `block in action'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/routing/route_set.rb:73:in `call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/routing/route_set.rb:36:in `call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/journey-1.0.4/lib/journey/router.rb:68:in `block in call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/journey-1.0.4/lib/journey/router.rb:56:in `each'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/journey-1.0.4/lib/journey/router.rb:56:in `call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/routing/route_set.rb:608:in `call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/warden-1.2.3/lib/warden/manager.rb:35:in `block in call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/warden-1.2.3/lib/warden/manager.rb:34:in `catch'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/warden-1.2.3/lib/warden/manager.rb:34:in `call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/rack-1.4.5/lib/rack/etag.rb:23:in `call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/rack-1.4.5/lib/rack/conditionalget.rb:25:in `call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/head.rb:14:in `call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/params_parser.rb:21:in `call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/flash.rb:242:in `call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:210:in `context'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:205:in `call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/cookies.rb:341:in `call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/activerecord-3.2.15/lib/active_record/query_cache.rb:64:in `call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/activerecord-3.2.15/lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/activesupport-3.2.15/lib/active_support/callbacks.rb:405:in `_run__3755331985710642944__call__4155005800061394437__callbacks'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/activesupport-3.2.15/lib/active_support/callbacks.rb:405:in `__run_callback'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/activesupport-3.2.15/lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/activesupport-3.2.15/lib/active_support/callbacks.rb:81:in `run_callbacks'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/callbacks.rb:27:in `call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/reloader.rb:65:in `call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/railties-3.2.15/lib/rails/rack/logger.rb:32:in `call_app'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/railties-3.2.15/lib/rails/rack/logger.rb:16:in `block in call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/activesupport-3.2.15/lib/active_support/tagged_logging.rb:22:in `tagged'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/railties-3.2.15/lib/rails/rack/logger.rb:16:in `call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/request_id.rb:22:in `call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/rack-1.4.5/lib/rack/methodoverride.rb:21:in `call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/rack-1.4.5/lib/rack/runtime.rb:17:in `call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/activesupport-3.2.15/lib/active_support/cache/strategy/local_cache.rb:72:in `call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/rack-1.4.5/lib/rack/lock.rb:15:in `call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/static.rb:63:in `call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/railties-3.2.15/lib/rails/engine.rb:484:in `call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/railties-3.2.15/lib/rails/application.rb:231:in `call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/rack-1.4.5/lib/rack/content_length.rb:14:in `call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/railties-3.2.15/lib/rails/rack/log_tailer.rb:17:in `call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/thin-1.6.1/lib/thin/connection.rb:82:in `block in pre_process'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/thin-1.6.1/lib/thin/connection.rb:80:in `catch'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/thin-1.6.1/lib/thin/connection.rb:80:in `pre_process'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/thin-1.6.1/lib/thin/connection.rb:55:in `process'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/thin-1.6.1/lib/thin/connection.rb:41:in `receive_data'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/eventmachine-1.0.3/lib/eventmachine.rb:187:in `run_machine'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/eventmachine-1.0.3/lib/eventmachine.rb:187:in `run'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/thin-1.6.1/lib/thin/backends/base.rb:73:in `start'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/thin-1.6.1/lib/thin/server.rb:162:in `start'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/rack-1.4.5/lib/rack/handler/thin.rb:13:in `run'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/rack-1.4.5/lib/rack/server.rb:268:in `start'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/railties-3.2.15/lib/rails/commands/server.rb:70:in `start'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/railties-3.2.15/lib/rails/commands.rb:55:in `block in <top (required)>'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/railties-3.2.15/lib/rails/commands.rb:50:in `tap'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/railties-3.2.15/lib/rails/commands.rb:50:in `<top (required)>'
+script/rails:6:in `require'
+script/rails:6:in `<main>'
+ Rendered vehicles/_form.html.erb (1.7ms)
+ Rendered vehicles/new.html.erb within layouts/application (3.0ms)
+Completed 500 Internal Server Error in 23.3ms
+
+ActionView::Template::Error (/home/clinik/App/rails_projects/car_app/app/views/vehicles/_form.html.erb:40: syntax error, unexpected ',', expecting '}'
+...f.collection_select{ :property, :vehicle_id, Property.all, :...
+... ^
+/home/clinik/App/rails_projects/car_app/app/views/vehicles/_form.html.erb:40: syntax error, unexpected ',', expecting tCOLON2 or '[' or '.'
+...ehicle_id, Property.all, :show, :subtype } );@output_buffer....
+... ^):
+ 37: </div>
+ 38: </div>
+ 39: <div class="form-group">
+ 40: <%= f.collection_select{ :property, :vehicle_id, Property.all, :show, :subtype } %>
+ 41: </div>
+ 42: <div class="form-group">
+ 43: <div class="col-lg-offset-2 col-lg-10">
+ app/views/vehicles/new.html.erb:9:in `_app_views_vehicles_new_html_erb___2296130266274079150_29991040'
+ app/controllers/vehicles_controller.rb:33:in `new'
+
+
+ Rendered /root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.1ms)
+ Rendered /root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (2.0ms)
+ Rendered /root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (26.8ms)
+
+
+Started GET "/vehicles/new" for 127.0.0.1 at 2013-12-15 12:08:01 +0100
+Processing by VehiclesController#new as HTML
+ [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))
+------------
+#<User:0x000000045f5ab0>
+ [1m[36mProperty Load (0.2ms)[0m [1mSELECT "properties".* FROM "properties" [0m
+ Rendered vehicles/_form.html.erb (81.6ms)
+ Rendered vehicles/new.html.erb within layouts/application (83.0ms)
+Completed 500 Internal Server Error in 100.9ms
+
+ActionView::Template::Error (undefined method `vehicle_id' for #<Vehicle:0x0000000461b210>):
+ 37: </div>
+ 38: </div>
+ 39: <div class="form-group">
+ 40: <%= f.collection_select :vehicle_id, Property.all, :id, :subtype %>
+ 41: </div>
+ 42: <div class="form-group">
+ 43: <div class="col-lg-offset-2 col-lg-10">
+ app/views/vehicles/_form.html.erb:40:in `block in _app_views_vehicles__form_html_erb___2976255220416232029_36792960'
+ app/views/vehicles/_form.html.erb:1:in `_app_views_vehicles__form_html_erb___2976255220416232029_36792960'
+ app/views/vehicles/new.html.erb:9:in `_app_views_vehicles_new_html_erb___2296130266274079150_29991040'
+ app/controllers/vehicles_controller.rb:33:in `new'
+
+
+ Rendered /root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/templates/rescues/_trace.erb (3.3ms)
+ Rendered /root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.3ms)
+ Rendered /root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (11.3ms)
+
+
+Started GET "/vehicles/new" for 127.0.0.1 at 2013-12-15 12:08:26 +0100
+Processing by VehiclesController#new as HTML
+ [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))[0m
+------------
+#<User:0x000000041f9718>
+ [1m[35mProperty Load (0.2ms)[0m SELECT "properties".* FROM "properties"
+ Rendered vehicles/_form.html.erb (5.4ms)
+ Rendered vehicles/new.html.erb within layouts/application (6.6ms)
+Completed 500 Internal Server Error in 23.3ms
+
+ActionView::Template::Error (undefined method `subtype' for #<Property:0x000000041bb1e8>):
+ 37: </div>
+ 38: </div>
+ 39: <div class="form-group">
+ 40: <%= f.collection_select :id, Property.all, :id, :subtype %>
+ 41: </div>
+ 42: <div class="form-group">
+ 43: <div class="col-lg-offset-2 col-lg-10">
+ app/views/vehicles/_form.html.erb:40:in `block in _app_views_vehicles__form_html_erb___2976255220416232029_29988040'
+ app/views/vehicles/_form.html.erb:1:in `_app_views_vehicles__form_html_erb___2976255220416232029_29988040'
+ app/views/vehicles/new.html.erb:9:in `_app_views_vehicles_new_html_erb___2296130266274079150_29991040'
+ app/controllers/vehicles_controller.rb:33:in `new'
+
+
+ Rendered /root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.7ms)
+ Rendered /root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.9ms)
+ Rendered /root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (8.8ms)
+
+
+Started GET "/vehicles/new" for 127.0.0.1 at 2013-12-15 12:08:27 +0100
+Processing by VehiclesController#new as HTML
+ [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))
+------------
+#<User:0x0000000430bfe8>
+ [1m[36mProperty Load (0.2ms)[0m [1mSELECT "properties".* FROM "properties" [0m
+ Rendered vehicles/_form.html.erb (5.5ms)
+ Rendered vehicles/new.html.erb within layouts/application (6.9ms)
+Completed 500 Internal Server Error in 23.5ms
+
+ActionView::Template::Error (undefined method `subtype' for #<Property:0x00000004240050>):
+ 37: </div>
+ 38: </div>
+ 39: <div class="form-group">
+ 40: <%= f.collection_select :id, Property.all, :id, :subtype %>
+ 41: </div>
+ 42: <div class="form-group">
+ 43: <div class="col-lg-offset-2 col-lg-10">
+ app/views/vehicles/_form.html.erb:40:in `block in _app_views_vehicles__form_html_erb___2976255220416232029_29988040'
+ app/views/vehicles/_form.html.erb:1:in `_app_views_vehicles__form_html_erb___2976255220416232029_29988040'
+ app/views/vehicles/new.html.erb:9:in `_app_views_vehicles_new_html_erb___2296130266274079150_29991040'
+ app/controllers/vehicles_controller.rb:33:in `new'
+
+
+ Rendered /root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.5ms)
+ Rendered /root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.2ms)
+ Rendered /root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (9.5ms)
+
+
+Started GET "/vehicles/new" for 127.0.0.1 at 2013-12-15 12:09:03 +0100
+Processing by VehiclesController#new as HTML
+ [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))[0m
+------------
+#<User:0x0000000474ec90>
+ [1m[35mProperty Load (0.2ms)[0m SELECT "properties".* FROM "properties"
+ Rendered vehicles/_form.html.erb (8.7ms)
+ Rendered vehicles/new.html.erb within layouts/application (10.0ms)
+Completed 200 OK in 122.9ms (Views: 105.0ms | ActiveRecord: 0.8ms)
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-12-15 12:09:03 +0100
+Served asset /application.css - 304 Not Modified (16ms)
+
+
+Started GET "/assets/bootstrap-generators.css?body=1" for 127.0.0.1 at 2013-12-15 12:09:03 +0100
+Served asset /bootstrap-generators.css - 304 Not Modified (44ms)
+
+
+Started GET "/assets/bootstrap-variables.css?body=1" for 127.0.0.1 at 2013-12-15 12:09:03 +0100
+Served asset /bootstrap-variables.css - 304 Not Modified (2ms)
+
+
+Started GET "/assets/scaffolds.css?body=1" for 127.0.0.1 at 2013-12-15 12:09:03 +0100
+Served asset /scaffolds.css - 304 Not Modified (1ms)
+
+
+Started GET "/assets/vehicles.css?body=1" for 127.0.0.1 at 2013-12-15 12:09:03 +0100
+Served asset /vehicles.css - 304 Not Modified (1ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-12-15 12:09:03 +0100
+Served asset /jquery.js - 304 Not Modified (2ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-12-15 12:09:03 +0100
+Served asset /jquery_ujs.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2013-12-15 12:09:03 +0100
+Served asset /bootstrap/affix.js - 304 Not Modified (3ms)
+
+
+Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2013-12-15 12:09:03 +0100
+Served asset /bootstrap/scrollspy.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2013-12-15 12:09:03 +0100
+Served asset /bootstrap/collapse.js - 304 Not Modified (2ms)
+
+
+Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2013-12-15 12:09:03 +0100
+Served asset /bootstrap/alert.js - 304 Not Modified (2ms)
+
+
+Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2013-12-15 12:09:03 +0100
+Served asset /bootstrap/dropdown.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2013-12-15 12:09:03 +0100
+Served asset /bootstrap/button.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2013-12-15 12:09:03 +0100
+Served asset /bootstrap/modal.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2013-12-15 12:09:03 +0100
+Served asset /bootstrap/carousel.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2013-12-15 12:09:03 +0100
+Served asset /bootstrap/tooltip.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2013-12-15 12:09:03 +0100
+Served asset /bootstrap/popover.js - 304 Not Modified (3ms)
+
+
+Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2013-12-15 12:09:03 +0100
+Served asset /bootstrap/transition.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2013-12-15 12:09:03 +0100
+Served asset /bootstrap/tab.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2013-12-15 12:09:03 +0100
+Served asset /bootstrap.js - 304 Not Modified (14ms)
+
+
+Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2013-12-15 12:09:03 +0100
+Served asset /home.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/properties.js?body=1" for 127.0.0.1 at 2013-12-15 12:09:03 +0100
+Served asset /properties.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/vehicles.js?body=1" for 127.0.0.1 at 2013-12-15 12:09:03 +0100
+Served asset /vehicles.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-12-15 12:09:03 +0100
+Served asset /application.js - 304 Not Modified (83ms)
+
+
+Started GET "/vehicles/new" for 127.0.0.1 at 2013-12-15 12:10:12 +0100
+Processing by VehiclesController#new as HTML
+ [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))
+------------
+#<User:0x00000003ea3f28>
+ [1m[36mProperty Load (0.2ms)[0m [1mSELECT "properties".* FROM "properties" [0m
+ Rendered vehicles/_form.html.erb (5.1ms)
+ Rendered vehicles/new.html.erb within layouts/application (7.8ms)
+Completed 500 Internal Server Error in 24.9ms
+
+ActionView::Template::Error (undefined method `property_id' for #<Vehicle:0x000000037f8d18>):
+ 37: </div>
+ 38: </div>
+ 39: <div class="form-group">
+ 40: <%= f.collection_select :property_id, Property.all, :id, :name %>
+ 41: </div>
+ 42: <div class="form-group">
+ 43: <div class="col-lg-offset-2 col-lg-10">
+ app/views/vehicles/_form.html.erb:40:in `block in _app_views_vehicles__form_html_erb___2976255220416232029_29130340'
+ app/views/vehicles/_form.html.erb:1:in `_app_views_vehicles__form_html_erb___2976255220416232029_29130340'
+ app/views/vehicles/new.html.erb:9:in `_app_views_vehicles_new_html_erb___2296130266274079150_29991040'
+ app/controllers/vehicles_controller.rb:33:in `new'
+
+
+ Rendered /root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.3ms)
+ Rendered /root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms)
+ Rendered /root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (9.8ms)
+
+
+Started GET "/vehicles/new" for 127.0.0.1 at 2013-12-15 12:11:13 +0100
+Processing by VehiclesController#new as HTML
+ [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))[0m
+------------
+#<User:0x00000002e3a380>
+ [1m[35mProperty Load (0.1ms)[0m SELECT "properties".* FROM "properties"
+ Rendered vehicles/_form.html.erb (15.4ms)
+ Rendered vehicles/new.html.erb within layouts/application (16.7ms)
+Completed 500 Internal Server Error in 154.6ms
+
+ActionView::Template::Error (undefined method `property_id' for #<Vehicle:0x000000036de720>):
+ 37: </div>
+ 38: </div>
+ 39: <div class="form-group">
+ 40: <%= f.collection_select :property_id, Property.all, :id, :name %>
+ 41: </div>
+ 42: <div class="form-group">
+ 43: <div class="col-lg-offset-2 col-lg-10">
+ app/views/vehicles/_form.html.erb:40:in `block in _app_views_vehicles__form_html_erb___2976255220416232029_29130340'
+ app/views/vehicles/_form.html.erb:1:in `_app_views_vehicles__form_html_erb___2976255220416232029_29130340'
+ app/views/vehicles/new.html.erb:9:in `_app_views_vehicles_new_html_erb___2296130266274079150_29991040'
+ app/controllers/vehicles_controller.rb:33:in `new'
+
+
+ Rendered /root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.6ms)
+ Rendered /root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.2ms)
+ Rendered /root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (10.0ms)
+
+
+Started GET "/vehicles/new" for 127.0.0.1 at 2013-12-15 12:11:15 +0100
+Processing by VehiclesController#new as HTML
+ [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))
+------------
+#<User:0x0000000427fd90>
+ [1m[36mProperty Load (0.2ms)[0m [1mSELECT "properties".* FROM "properties" [0m
+ Rendered vehicles/_form.html.erb (4.3ms)
+ Rendered vehicles/new.html.erb within layouts/application (6.5ms)
+Completed 500 Internal Server Error in 23.4ms
+
+ActionView::Template::Error (undefined method `property_id' for #<Vehicle:0x000000042b4630>):
+ 37: </div>
+ 38: </div>
+ 39: <div class="form-group">
+ 40: <%= f.collection_select :property_id, Property.all, :id, :name %>
+ 41: </div>
+ 42: <div class="form-group">
+ 43: <div class="col-lg-offset-2 col-lg-10">
+ app/views/vehicles/_form.html.erb:40:in `block in _app_views_vehicles__form_html_erb___2976255220416232029_29130340'
+ app/views/vehicles/_form.html.erb:1:in `_app_views_vehicles__form_html_erb___2976255220416232029_29130340'
+ app/views/vehicles/new.html.erb:9:in `_app_views_vehicles_new_html_erb___2296130266274079150_29991040'
+ app/controllers/vehicles_controller.rb:33:in `new'
+
+
+ Rendered /root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.5ms)
+ Rendered /root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms)
+ Rendered /root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (9.3ms)
+
+
+Started GET "/vehicles" for 127.0.0.1 at 2013-12-15 12:11:21 +0100
+Processing by VehiclesController#index as HTML
+ [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ [1m[36m (2.4ms)[0m [1mSELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))[0m
+ [1m[35mVehicle Load (0.2ms)[0m SELECT "vehicles".* FROM "vehicles"
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ Rendered vehicles/index.html.erb within layouts/application (49.0ms)
+Completed 200 OK in 83.6ms (Views: 65.7ms | ActiveRecord: 2.9ms)
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-12-15 12:11:21 +0100
+Served asset /application.css - 304 Not Modified (2ms)
+
+
+Started GET "/assets/bootstrap-generators.css?body=1" for 127.0.0.1 at 2013-12-15 12:11:21 +0100
+Served asset /bootstrap-generators.css - 304 Not Modified (37ms)
+
+
+Started GET "/assets/bootstrap-variables.css?body=1" for 127.0.0.1 at 2013-12-15 12:11:22 +0100
+Served asset /bootstrap-variables.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/scaffolds.css?body=1" for 127.0.0.1 at 2013-12-15 12:11:22 +0100
+Served asset /scaffolds.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/vehicles.css?body=1" for 127.0.0.1 at 2013-12-15 12:11:22 +0100
+Served asset /vehicles.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-12-15 12:11:22 +0100
+Served asset /jquery.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-12-15 12:11:22 +0100
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2013-12-15 12:11:22 +0100
+Served asset /bootstrap/affix.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2013-12-15 12:11:22 +0100
+Served asset /bootstrap/scrollspy.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2013-12-15 12:11:22 +0100
+Served asset /bootstrap/collapse.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2013-12-15 12:11:22 +0100
+Served asset /bootstrap/alert.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2013-12-15 12:11:22 +0100
+Served asset /bootstrap/dropdown.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2013-12-15 12:11:22 +0100
+Served asset /bootstrap/button.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2013-12-15 12:11:22 +0100
+Served asset /bootstrap/modal.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2013-12-15 12:11:22 +0100
+Served asset /bootstrap/carousel.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2013-12-15 12:11:22 +0100
+Served asset /bootstrap/tooltip.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2013-12-15 12:11:22 +0100
+Served asset /bootstrap/popover.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2013-12-15 12:11:22 +0100
+Served asset /bootstrap/transition.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2013-12-15 12:11:22 +0100
+Served asset /bootstrap/tab.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2013-12-15 12:11:22 +0100
+Served asset /bootstrap.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2013-12-15 12:11:22 +0100
+Served asset /home.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/properties.js?body=1" for 127.0.0.1 at 2013-12-15 12:11:22 +0100
+Served asset /properties.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/vehicles.js?body=1" for 127.0.0.1 at 2013-12-15 12:11:22 +0100
+Served asset /vehicles.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-12-15 12:11:22 +0100
+Served asset /application.js - 304 Not Modified (1ms)
+
+
+Started GET "/vehicles/new" for 127.0.0.1 at 2013-12-15 12:11:22 +0100
+Processing by VehiclesController#new as HTML
+ [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))[0m
+------------
+#<User:0x0000000454e620>
+ [1m[35mProperty Load (0.2ms)[0m SELECT "properties".* FROM "properties"
+ Rendered vehicles/_form.html.erb (4.5ms)
+ Rendered vehicles/new.html.erb within layouts/application (6.0ms)
+Completed 500 Internal Server Error in 22.1ms
+
+ActionView::Template::Error (undefined method `property_id' for #<Vehicle:0x0000000452a428>):
+ 37: </div>
+ 38: </div>
+ 39: <div class="form-group">
+ 40: <%= f.collection_select :property_id, Property.all, :id, :name %>
+ 41: </div>
+ 42: <div class="form-group">
+ 43: <div class="col-lg-offset-2 col-lg-10">
+ app/views/vehicles/_form.html.erb:40:in `block in _app_views_vehicles__form_html_erb___2976255220416232029_29130340'
+ app/views/vehicles/_form.html.erb:1:in `_app_views_vehicles__form_html_erb___2976255220416232029_29130340'
+ app/views/vehicles/new.html.erb:9:in `_app_views_vehicles_new_html_erb___2296130266274079150_29991040'
+ app/controllers/vehicles_controller.rb:33:in `new'
+
+
+ Rendered /root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.4ms)
+ Rendered /root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms)
+ Rendered /root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (9.4ms)
+Connecting to database specified by database.yml
+
+
+Started GET "/vehicles" for 127.0.0.1 at 2013-12-15 12:11:49 +0100
+Processing by VehiclesController#index as HTML
+ [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))
+ [1m[36mVehicle Load (0.2ms)[0m [1mSELECT "vehicles".* FROM "vehicles" [0m
+ [1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ Rendered vehicles/index.html.erb within layouts/application (33.6ms)
+Completed 200 OK in 560.0ms (Views: 165.1ms | ActiveRecord: 6.4ms)
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-12-15 12:11:49 +0100
+Served asset /application.css - 304 Not Modified (58ms)
+
+
+Started GET "/assets/bootstrap-generators.css?body=1" for 127.0.0.1 at 2013-12-15 12:11:49 +0100
+Served asset /bootstrap-generators.css - 304 Not Modified (31ms)
+
+
+Started GET "/assets/bootstrap-variables.css?body=1" for 127.0.0.1 at 2013-12-15 12:11:49 +0100
+Served asset /bootstrap-variables.css - 304 Not Modified (1ms)
+
+
+Started GET "/assets/scaffolds.css?body=1" for 127.0.0.1 at 2013-12-15 12:11:49 +0100
+Served asset /scaffolds.css - 304 Not Modified (1ms)
+
+
+Started GET "/assets/vehicles.css?body=1" for 127.0.0.1 at 2013-12-15 12:11:49 +0100
+Served asset /vehicles.css - 304 Not Modified (1ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-12-15 12:11:49 +0100
+Served asset /jquery.js - 304 Not Modified (2ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-12-15 12:11:49 +0100
+Served asset /jquery_ujs.js - 304 Not Modified (2ms)
+
+
+Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2013-12-15 12:11:49 +0100
+Served asset /bootstrap/affix.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2013-12-15 12:11:50 +0100
+Served asset /bootstrap/scrollspy.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2013-12-15 12:11:50 +0100
+Served asset /bootstrap/collapse.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2013-12-15 12:11:50 +0100
+Served asset /bootstrap/alert.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2013-12-15 12:11:50 +0100
+Served asset /bootstrap/dropdown.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2013-12-15 12:11:50 +0100
+Served asset /bootstrap/button.js - 304 Not Modified (2ms)
+
+
+Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2013-12-15 12:11:50 +0100
+Served asset /bootstrap/modal.js - 304 Not Modified (14ms)
+
+
+Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2013-12-15 12:11:50 +0100
+Served asset /bootstrap/carousel.js - 304 Not Modified (7ms)
+
+
+Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2013-12-15 12:11:50 +0100
+Served asset /bootstrap/tooltip.js - 304 Not Modified (2ms)
+
+
+Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2013-12-15 12:11:50 +0100
+Served asset /bootstrap/popover.js - 304 Not Modified (2ms)
+
+
+Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2013-12-15 12:11:50 +0100
+Served asset /bootstrap/transition.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2013-12-15 12:11:50 +0100
+Served asset /bootstrap/tab.js - 304 Not Modified (2ms)
+
+
+Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2013-12-15 12:11:50 +0100
+Served asset /bootstrap.js - 304 Not Modified (13ms)
+
+
+Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2013-12-15 12:11:50 +0100
+Served asset /home.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/properties.js?body=1" for 127.0.0.1 at 2013-12-15 12:11:50 +0100
+Served asset /properties.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/vehicles.js?body=1" for 127.0.0.1 at 2013-12-15 12:11:50 +0100
+Served asset /vehicles.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-12-15 12:11:50 +0100
+Served asset /application.js - 304 Not Modified (60ms)
+
+
+Started GET "/assets/properties.js?body=1" for 127.0.0.1 at 2013-12-15 12:11:50 +0100
+Served asset /properties.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/vehicles.js?body=1" for 127.0.0.1 at 2013-12-15 12:11:50 +0100
+Served asset /vehicles.js - 200 OK (0ms)
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-12-15 12:11:50 +0100
+Served asset /application.js - 200 OK (1ms)
+
+
+Started GET "/vehicles/new" for 127.0.0.1 at 2013-12-15 12:11:51 +0100
+Processing by VehiclesController#new as HTML
+ [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))
+------------
+#<User:0x000000047909d8>
+ [1m[36mProperty Load (0.1ms)[0m [1mSELECT "properties".* FROM "properties" [0m
+ Rendered vehicles/_form.html.erb (74.9ms)
+ Rendered vehicles/new.html.erb within layouts/application (80.8ms)
+Completed 500 Internal Server Error in 99.5ms
+
+ActionView::Template::Error (undefined method `property_id' for #<Vehicle:0x000000043aff30>):
+ 37: </div>
+ 38: </div>
+ 39: <div class="form-group">
+ 40: <%= f.collection_select :property_id, Property.all, :id, :name %>
+ 41: </div>
+ 42: <div class="form-group">
+ 43: <div class="col-lg-offset-2 col-lg-10">
+ app/views/vehicles/_form.html.erb:40:in `block in _app_views_vehicles__form_html_erb___2929714712435136163_37820300'
+ app/views/vehicles/_form.html.erb:1:in `_app_views_vehicles__form_html_erb___2929714712435136163_37820300'
+ app/views/vehicles/new.html.erb:9:in `_app_views_vehicles_new_html_erb__2632928492221332811_40898160'
+ app/controllers/vehicles_controller.rb:33:in `new'
+
+
+ Rendered /root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.2ms)
+ Rendered /root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms)
+ Rendered /root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (10.7ms)
+
+
+Started GET "/vehicles/new" for 127.0.0.1 at 2013-12-15 12:12:31 +0100
+Processing by VehiclesController#new as HTML
+ [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))[0m
+------------
+#<User:0x00000004850eb8>
+ [1m[35mProperty Load (0.1ms)[0m SELECT "properties".* FROM "properties"
+ Rendered vehicles/_form.html.erb (16.3ms)
+ Rendered vehicles/new.html.erb within layouts/application (18.5ms)
+Completed 500 Internal Server Error in 120.5ms
+
+ActionView::Template::Error (undefined method `property_id' for #<Vehicle:0x000000044bab00>):
+ 37: </div>
+ 38: </div>
+ 39: <div class="form-group">
+ 40: <%= f.collection_select :property_id, Property.all, :id, :name %>
+ 41: </div>
+ 42: <div class="form-group">
+ 43: <div class="col-lg-offset-2 col-lg-10">
+ app/views/vehicles/_form.html.erb:40:in `block in _app_views_vehicles__form_html_erb___2929714712435136163_37820300'
+ app/views/vehicles/_form.html.erb:1:in `_app_views_vehicles__form_html_erb___2929714712435136163_37820300'
+ app/views/vehicles/new.html.erb:9:in `_app_views_vehicles_new_html_erb__2632928492221332811_40898160'
+ app/controllers/vehicles_controller.rb:33:in `new'
+
+
+ Rendered /root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.6ms)
+ Rendered /root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.3ms)
+ Rendered /root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (46.7ms)
+
+
+Started GET "/vehicles/new" for 127.0.0.1 at 2013-12-15 12:12:37 +0100
+Processing by VehiclesController#new as HTML
+ [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))
+------------
+#<User:0x00000004bae6c8>
+ [1m[36mProperty Load (0.1ms)[0m [1mSELECT "properties".* FROM "properties" [0m
+ Rendered vehicles/_form.html.erb (17.8ms)
+ Rendered vehicles/new.html.erb within layouts/application (19.3ms)
+Completed 500 Internal Server Error in 158.6ms
+
+ActionView::Template::Error (undefined method `property_id' for #<Vehicle:0x00000003b39310>):
+ 37: </div>
+ 38: </div>
+ 39: <div class="form-group">
+ 40: <%= f.collection_select :property_id, Property.all, :id, :name %>
+ 41: </div>
+ 42: <div class="form-group">
+ 43: <div class="col-lg-offset-2 col-lg-10">
+ app/views/vehicles/_form.html.erb:40:in `block in _app_views_vehicles__form_html_erb___2929714712435136163_37820300'
+ app/views/vehicles/_form.html.erb:1:in `_app_views_vehicles__form_html_erb___2929714712435136163_37820300'
+ app/views/vehicles/new.html.erb:9:in `_app_views_vehicles_new_html_erb__2632928492221332811_40898160'
+ app/controllers/vehicles_controller.rb:33:in `new'
+
+
+ Rendered /root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.6ms)
+ Rendered /root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms)
+ Rendered /root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (9.6ms)
+
+
+Started GET "/vehicles/new" for 127.0.0.1 at 2013-12-15 12:12:45 +0100
+Processing by VehiclesController#new as HTML
+ [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))[0m
+------------
+#<User:0x00000004c8dfa8>
+ [1m[35mProperty Load (0.1ms)[0m SELECT "properties".* FROM "properties"
+ Rendered vehicles/_form.html.erb (18.1ms)
+ Rendered vehicles/new.html.erb within layouts/application (18.9ms)
+Completed 500 Internal Server Error in 153.6ms
+
+ActionView::Template::Error (undefined method `property_id' for #<Vehicle:0x0000000425f630>):
+ 37: </div>
+ 38: </div>
+ 39: <div class="form-group">
+ 40: <%= f.collection_select :property_id, Property.all, :id, :name %>
+ 41: </div>
+ 42: <div class="form-group">
+ 43: <div class="col-lg-offset-2 col-lg-10">
+ app/views/vehicles/_form.html.erb:40:in `block in _app_views_vehicles__form_html_erb___2929714712435136163_37820300'
+ app/views/vehicles/_form.html.erb:1:in `_app_views_vehicles__form_html_erb___2929714712435136163_37820300'
+ app/views/vehicles/new.html.erb:9:in `_app_views_vehicles_new_html_erb__2632928492221332811_40898160'
+ app/controllers/vehicles_controller.rb:33:in `new'
+
+
+ Rendered /root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.4ms)
+ Rendered /root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.8ms)
+ Rendered /root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (27.0ms)
+
+
+Started GET "/vehicles/new" for 127.0.0.1 at 2013-12-15 12:12:46 +0100
+Processing by VehiclesController#new as HTML
+ [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ [1m[35m (1.2ms)[0m SELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))
+------------
+#<User:0x00000004dda9d8>
+ [1m[36mProperty Load (0.2ms)[0m [1mSELECT "properties".* FROM "properties" [0m
+ Rendered vehicles/_form.html.erb (4.9ms)
+ Rendered vehicles/new.html.erb within layouts/application (6.3ms)
+Completed 500 Internal Server Error in 62.7ms
+
+ActionView::Template::Error (undefined method `property_id' for #<Vehicle:0x00000004da0a58>):
+ 37: </div>
+ 38: </div>
+ 39: <div class="form-group">
+ 40: <%= f.collection_select :property_id, Property.all, :id, :name %>
+ 41: </div>
+ 42: <div class="form-group">
+ 43: <div class="col-lg-offset-2 col-lg-10">
+ app/views/vehicles/_form.html.erb:40:in `block in _app_views_vehicles__form_html_erb___2929714712435136163_37820300'
+ app/views/vehicles/_form.html.erb:1:in `_app_views_vehicles__form_html_erb___2929714712435136163_37820300'
+ app/views/vehicles/new.html.erb:9:in `_app_views_vehicles_new_html_erb__2632928492221332811_40898160'
+ app/controllers/vehicles_controller.rb:33:in `new'
+
+
+ Rendered /root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.7ms)
+ Rendered /root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (2.3ms)
+ Rendered /root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (10.7ms)
+
+
+Started GET "/vehicles/new" for 127.0.0.1 at 2013-12-15 12:12:47 +0100
+Processing by VehiclesController#new as HTML
+ [1m[35mUser Load (1.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))[0m
+------------
+#<User:0x00000004df8938>
+ [1m[35mProperty Load (0.2ms)[0m SELECT "properties".* FROM "properties"
+ Rendered vehicles/_form.html.erb (4.1ms)
+ Rendered vehicles/new.html.erb within layouts/application (5.5ms)
+Completed 500 Internal Server Error in 22.2ms
+
+ActionView::Template::Error (undefined method `property_id' for #<Vehicle:0x00000004f16270>):
+ 37: </div>
+ 38: </div>
+ 39: <div class="form-group">
+ 40: <%= f.collection_select :property_id, Property.all, :id, :name %>
+ 41: </div>
+ 42: <div class="form-group">
+ 43: <div class="col-lg-offset-2 col-lg-10">
+ app/views/vehicles/_form.html.erb:40:in `block in _app_views_vehicles__form_html_erb___2929714712435136163_37820300'
+ app/views/vehicles/_form.html.erb:1:in `_app_views_vehicles__form_html_erb___2929714712435136163_37820300'
+ app/views/vehicles/new.html.erb:9:in `_app_views_vehicles_new_html_erb__2632928492221332811_40898160'
+ app/controllers/vehicles_controller.rb:33:in `new'
+
+
+ Rendered /root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.6ms)
+ Rendered /root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.2ms)
+ Rendered /root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (9.3ms)
+Connecting to database specified by database.yml
+ [1m[36m (2.0ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
+Migrating to CreateVehicles (20131212193158)
+Migrating to CreateProperties (20131212193220)
+Migrating to DeviseCreateUsers (20131212194432)
+Migrating to RolifyCreateRoles (20131212205430)
+ [1m[35m (0.1ms)[0m select sqlite_version(*)
+ [1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
+Connecting to database specified by database.yml
+
+
+Started GET "/vehicles/new" for 127.0.0.1 at 2013-12-15 12:13:38 +0100
+Processing by VehiclesController#new as HTML
+ [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))
+------------
+#<User:0x00000003608468>
+ [1m[36mProperty Load (0.2ms)[0m [1mSELECT "properties".* FROM "properties" [0m
+ Rendered vehicles/_form.html.erb (61.9ms)
+ Rendered vehicles/new.html.erb within layouts/application (89.9ms)
+Completed 500 Internal Server Error in 512.3ms
+
+ActionView::Template::Error (undefined method `property_id' for #<Vehicle:0x00000002a1b880>):
+ 37: </div>
+ 38: </div>
+ 39: <div class="form-group">
+ 40: <%= f.collection_select :property_id, Property.all, :id, :name %>
+ 41: </div>
+ 42: <div class="form-group">
+ 43: <div class="col-lg-offset-2 col-lg-10">
+ app/views/vehicles/_form.html.erb:40:in `block in _app_views_vehicles__form_html_erb___1926669259501761716_28729460'
+ app/views/vehicles/_form.html.erb:1:in `_app_views_vehicles__form_html_erb___1926669259501761716_28729460'
+ app/views/vehicles/new.html.erb:9:in `_app_views_vehicles_new_html_erb__2340034281505488867_32708940'
+ app/controllers/vehicles_controller.rb:33:in `new'
+
+
+ Rendered /root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.0ms)
+ Rendered /root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.0ms)
+ Rendered /root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (8.8ms)
+
+
+Started GET "/vehicles/new" for 127.0.0.1 at 2013-12-15 12:14:16 +0100
+Processing by VehiclesController#new as HTML
+ [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))[0m
+------------
+#<User:0x00000002ba1308>
+ [1m[35mProperty Load (0.3ms)[0m SELECT "properties".* FROM "properties"
+ Rendered vehicles/_form.html.erb (60.2ms)
+ Rendered vehicles/new.html.erb within layouts/application (62.4ms)
+Completed 200 OK in 168.3ms (Views: 153.6ms | ActiveRecord: 0.7ms)
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-12-15 12:14:17 +0100
+Served asset /application.css - 304 Not Modified (20ms)
+
+
+Started GET "/assets/bootstrap-variables.css?body=1" for 127.0.0.1 at 2013-12-15 12:14:17 +0100
+Served asset /bootstrap-variables.css - 304 Not Modified (1ms)
+
+
+Started GET "/assets/scaffolds.css?body=1" for 127.0.0.1 at 2013-12-15 12:14:17 +0100
+Served asset /scaffolds.css - 304 Not Modified (1ms)
+
+
+Started GET "/assets/vehicles.css?body=1" for 127.0.0.1 at 2013-12-15 12:14:17 +0100
+Served asset /vehicles.css - 304 Not Modified (1ms)
+
+
+Started GET "/assets/bootstrap-generators.css?body=1" for 127.0.0.1 at 2013-12-15 12:14:17 +0100
+Served asset /bootstrap-generators.css - 304 Not Modified (6ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-12-15 12:14:17 +0100
+Served asset /jquery.js - 304 Not Modified (2ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-12-15 12:14:17 +0100
+Served asset /jquery_ujs.js - 304 Not Modified (3ms)
+
+
+Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2013-12-15 12:14:17 +0100
+Served asset /bootstrap/affix.js - 304 Not Modified (7ms)
+
+
+Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2013-12-15 12:14:17 +0100
+Served asset /bootstrap/scrollspy.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2013-12-15 12:14:17 +0100
+Served asset /bootstrap/collapse.js - 304 Not Modified (3ms)
+
+
+Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2013-12-15 12:14:17 +0100
+Served asset /bootstrap/alert.js - 304 Not Modified (2ms)
+
+
+Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2013-12-15 12:14:17 +0100
+Served asset /bootstrap/dropdown.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2013-12-15 12:14:17 +0100
+Served asset /bootstrap/button.js - 304 Not Modified (6ms)
+
+
+Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2013-12-15 12:14:17 +0100
+Served asset /bootstrap/modal.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2013-12-15 12:14:17 +0100
+Served asset /bootstrap/carousel.js - 304 Not Modified (3ms)
+
+
+Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2013-12-15 12:14:17 +0100
+Served asset /bootstrap/tooltip.js - 304 Not Modified (56ms)
+
+
+Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2013-12-15 12:14:17 +0100
+Served asset /bootstrap/popover.js - 304 Not Modified (2ms)
+
+
+Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2013-12-15 12:14:17 +0100
+Served asset /bootstrap/transition.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2013-12-15 12:14:17 +0100
+Served asset /bootstrap/tab.js - 304 Not Modified (2ms)
+
+
+Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2013-12-15 12:14:17 +0100
+Served asset /bootstrap.js - 304 Not Modified (14ms)
+
+
+Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2013-12-15 12:14:17 +0100
+Served asset /home.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/properties.js?body=1" for 127.0.0.1 at 2013-12-15 12:14:17 +0100
+Served asset /properties.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/vehicles.js?body=1" for 127.0.0.1 at 2013-12-15 12:14:17 +0100
+Served asset /vehicles.js - 304 Not Modified (1ms)
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-12-15 12:14:17 +0100
+Served asset /application.js - 304 Not Modified (21ms)
+
+
+Started GET "/vehicles/new" for 127.0.0.1 at 2013-12-15 12:15:14 +0100
+Processing by VehiclesController#new as HTML
+ [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ [1m[35m (0.4ms)[0m SELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))
+------------
+#<User:0x00000003993628>
+ [1m[36mProperty Load (0.2ms)[0m [1mSELECT "properties".* FROM "properties" [0m
+ Rendered vehicles/_form.html.erb (4.7ms)
+ Rendered vehicles/new.html.erb within layouts/application (6.2ms)
+Completed 200 OK in 36.2ms (Views: 21.1ms | ActiveRecord: 0.8ms)
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-12-15 12:15:14 +0100
+Served asset /application.css - 304 Not Modified (56ms)
+
+
+Started GET "/assets/bootstrap-generators.css?body=1" for 127.0.0.1 at 2013-12-15 12:15:14 +0100
+Served asset /bootstrap-generators.css - 304 Not Modified (2ms)
+
+
+Started GET "/assets/bootstrap-variables.css?body=1" for 127.0.0.1 at 2013-12-15 12:15:14 +0100
+Served asset /bootstrap-variables.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/scaffolds.css?body=1" for 127.0.0.1 at 2013-12-15 12:15:14 +0100
+Served asset /scaffolds.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/vehicles.css?body=1" for 127.0.0.1 at 2013-12-15 12:15:14 +0100
+Served asset /vehicles.css - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-12-15 12:15:14 +0100
+Served asset /jquery.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-12-15 12:15:14 +0100
+Served asset /jquery_ujs.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/affix.js?body=1" for 127.0.0.1 at 2013-12-15 12:15:14 +0100
+Served asset /bootstrap/affix.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/scrollspy.js?body=1" for 127.0.0.1 at 2013-12-15 12:15:14 +0100
+Served asset /bootstrap/scrollspy.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/collapse.js?body=1" for 127.0.0.1 at 2013-12-15 12:15:14 +0100
+Served asset /bootstrap/collapse.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/alert.js?body=1" for 127.0.0.1 at 2013-12-15 12:15:14 +0100
+Served asset /bootstrap/alert.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/dropdown.js?body=1" for 127.0.0.1 at 2013-12-15 12:15:14 +0100
+Served asset /bootstrap/dropdown.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/button.js?body=1" for 127.0.0.1 at 2013-12-15 12:15:14 +0100
+Served asset /bootstrap/button.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/modal.js?body=1" for 127.0.0.1 at 2013-12-15 12:15:14 +0100
+Served asset /bootstrap/modal.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/carousel.js?body=1" for 127.0.0.1 at 2013-12-15 12:15:14 +0100
+Served asset /bootstrap/carousel.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/tooltip.js?body=1" for 127.0.0.1 at 2013-12-15 12:15:14 +0100
+Served asset /bootstrap/tooltip.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/popover.js?body=1" for 127.0.0.1 at 2013-12-15 12:15:14 +0100
+Served asset /bootstrap/popover.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/transition.js?body=1" for 127.0.0.1 at 2013-12-15 12:15:14 +0100
+Served asset /bootstrap/transition.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap/tab.js?body=1" for 127.0.0.1 at 2013-12-15 12:15:14 +0100
+Served asset /bootstrap/tab.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/bootstrap.js?body=1" for 127.0.0.1 at 2013-12-15 12:15:14 +0100
+Served asset /bootstrap.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/home.js?body=1" for 127.0.0.1 at 2013-12-15 12:15:14 +0100
+Served asset /home.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/properties.js?body=1" for 127.0.0.1 at 2013-12-15 12:15:14 +0100
+Served asset /properties.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/vehicles.js?body=1" for 127.0.0.1 at 2013-12-15 12:15:14 +0100
+Served asset /vehicles.js - 304 Not Modified (0ms)
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-12-15 12:15:14 +0100
+Served asset /application.js - 304 Not Modified (1ms)
+Connecting to database specified by database.yml
+
+
+Started GET "/vehicles/new" for 127.0.0.1 at 2013-12-15 12:15:45 +0100
+Processing by VehiclesController#new as HTML
+ [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))
+------------
+#<User:0x00000005172898>
+ [1m[36mProperty Load (0.1ms)[0m [1mSELECT "properties".* FROM "properties" [0m
+ Rendered vehicles/_form.html.erb (49.6ms)
+ Rendered vehicles/new.html.erb within layouts/application (109.9ms)
+Completed 200 OK in 611.4ms (Views: 275.7ms | ActiveRecord: 7.7ms)
+
+
+Started GET "/vehicles/new" for 127.0.0.1 at 2013-12-15 12:16:58 +0100
+Processing by VehiclesController#new as HTML
+ [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))[0m
+------------
+#<User:0x00000004e83510>
+ERROR: compiling _app_views_vehicles__form_html_erb__75608590977302481_45133240 RAISED /home/clinik/App/rails_projects/car_app/app/views/vehicles/_form.html.erb:40: syntax error, unexpected tASSOC
+...perty.all, :id, :name, class => 'col-lg-10' );@output_buffe...
+... ^
+Function body: def _app_views_vehicles__form_html_erb__75608590977302481_45133240(local_assigns, output_buffer)
+ _old_virtual_path, @virtual_path = @virtual_path, "vehicles/_form";_old_output_buffer = @output_buffer;form = local_assigns[:form];;@output_buffer = output_buffer || ActionView::OutputBuffer.new;@output_buffer.append= form_for(@vehicle, :html => { :class => "form-horizontal" }) do |f| @output_buffer.safe_concat('
+'); if @vehicle.errors.any?
+@output_buffer.safe_concat(' <div class="alert alert-danger alert-dismissable">
+ <button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
+ <h4>');@output_buffer.append= ( pluralize(@vehicle.errors.count, "error") );@output_buffer.safe_concat(' prohibited this vehicle from being saved:</h4>
+
+ <ul>
+'); @vehicle.errors.full_messages.each do |msg|
+@output_buffer.safe_concat(' <li>');@output_buffer.append= ( msg );@output_buffer.safe_concat('</li>
+'); end
+@output_buffer.safe_concat(' </ul>
+ </div>
+'); end
+@output_buffer.safe_concat('
+ <div class="form-group">
+ ');@output_buffer.append= ( f.label :manufacturer, :class => "col-lg-2 control-label" );@output_buffer.safe_concat('
+');@output_buffer.safe_concat(' <div class="col-lg-10">
+ ');@output_buffer.append= ( f.text_field :manufacturer, :class => "form-control" );@output_buffer.safe_concat('
+');@output_buffer.safe_concat(' </div>
+ </div>
+ <div class="form-group">
+ ');@output_buffer.append= ( f.label :modell, :class => "col-lg-2 control-label" );@output_buffer.safe_concat('
+');@output_buffer.safe_concat(' <div class="col-lg-10">
+ ');@output_buffer.append= ( f.text_field :subtype, :class => "form-control" );@output_buffer.safe_concat('
+');@output_buffer.safe_concat(' </div>
+ </div>
+ <div class="form-group">
+ ');@output_buffer.append= ( f.label :year, :class => "col-lg-2 control-label" );@output_buffer.safe_concat('
+');@output_buffer.safe_concat(' <div class="col-lg-10">
+ ');@output_buffer.append= ( f.number_field :year, :class => "form-control" );@output_buffer.safe_concat('
+');@output_buffer.safe_concat(' </div>
+ </div>
+ <div class="form-group">
+ ');@output_buffer.append= ( f.label :color, :class => "col-lg-2 control-label" );@output_buffer.safe_concat('
+');@output_buffer.safe_concat(' <div class="col-lg-10">
+ ');@output_buffer.append= ( f.text_field :color, :class => "form-control" );@output_buffer.safe_concat('
+');@output_buffer.safe_concat(' </div>
+ </div>
+ <div class="form-group">
+ ');@output_buffer.append= ( f.collection_select :property, Property.all, :id, :name, class => 'col-lg-10' );@output_buffer.safe_concat('
+');@output_buffer.safe_concat(' </div>
+ <div class="form-group">
+ <div class="col-lg-offset-2 col-lg-10">
+ ');@output_buffer.append= ( f.submit :class => "btn btn-primary" );@output_buffer.safe_concat('
+');@output_buffer.safe_concat(' </div>
+ </div>
+'); end
+@output_buffer.to_s
+ ensure
+ @virtual_path, @output_buffer = _old_virtual_path, _old_output_buffer
+ end
+
+Backtrace: /root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_view/template.rb:297:in `module_eval'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_view/template.rb:297:in `compile'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_view/template.rb:244:in `block in compile!'
+<internal:prelude>:10:in `synchronize'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_view/template.rb:232:in `compile!'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_view/template.rb:144:in `block in render'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/activesupport-3.2.15/lib/active_support/notifications.rb:125:in `instrument'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_view/template.rb:143:in `render'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_view/renderer/partial_renderer.rb:265:in `render_partial'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_view/renderer/partial_renderer.rb:238:in `block in render'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/activesupport-3.2.15/lib/active_support/notifications.rb:123:in `block in instrument'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/activesupport-3.2.15/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/activesupport-3.2.15/lib/active_support/notifications.rb:123:in `instrument'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_view/renderer/partial_renderer.rb:237:in `render'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_view/renderer/renderer.rb:41:in `render_partial'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_view/helpers/rendering_helper.rb:27:in `render'
+/home/clinik/App/rails_projects/car_app/app/views/vehicles/new.html.erb:9:in `_app_views_vehicles_new_html_erb___4081546337770076575_41008760'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_view/template.rb:145:in `block in render'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/activesupport-3.2.15/lib/active_support/notifications.rb:125:in `instrument'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_view/template.rb:143:in `render'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_view/renderer/template_renderer.rb:47:in `block (2 levels) in render_template'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/activesupport-3.2.15/lib/active_support/notifications.rb:123:in `block in instrument'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/activesupport-3.2.15/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/activesupport-3.2.15/lib/active_support/notifications.rb:123:in `instrument'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_view/renderer/template_renderer.rb:46:in `block in render_template'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_view/renderer/template_renderer.rb:54:in `render_with_layout'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_view/renderer/template_renderer.rb:45:in `render_template'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_view/renderer/template_renderer.rb:18:in `render'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_view/renderer/renderer.rb:36:in `render_template'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_view/renderer/renderer.rb:17:in `render'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/abstract_controller/rendering.rb:110:in `_render_template'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_controller/metal/streaming.rb:225:in `_render_template'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/abstract_controller/rendering.rb:103:in `render_to_body'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_controller/metal/renderers.rb:28:in `render_to_body'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_controller/metal/compatibility.rb:50:in `render_to_body'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/abstract_controller/rendering.rb:88:in `render'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_controller/metal/rendering.rb:16:in `render'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/activesupport-3.2.15/lib/active_support/core_ext/benchmark.rb:5:in `block in ms'
+/root/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/benchmark.rb:295:in `realtime'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/activesupport-3.2.15/lib/active_support/core_ext/benchmark.rb:5:in `ms'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_controller/metal/instrumentation.rb:40:in `block in render'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/activerecord-3.2.15/lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_controller/metal/instrumentation.rb:39:in `render'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_controller/metal/implicit_render.rb:10:in `default_render'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_controller/metal/mime_responds.rb:196:in `respond_to'
+/home/clinik/App/rails_projects/car_app/app/controllers/vehicles_controller.rb:33:in `new'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/abstract_controller/base.rb:167:in `process_action'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_controller/metal/rendering.rb:10:in `process_action'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/abstract_controller/callbacks.rb:18:in `block in process_action'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/activesupport-3.2.15/lib/active_support/callbacks.rb:425:in `_run__1789586899431195464__process_action__3737111243999352493__callbacks'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/activesupport-3.2.15/lib/active_support/callbacks.rb:405:in `__run_callback'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/activesupport-3.2.15/lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/activesupport-3.2.15/lib/active_support/callbacks.rb:81:in `run_callbacks'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/abstract_controller/callbacks.rb:17:in `process_action'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_controller/metal/rescue.rb:29:in `process_action'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/activesupport-3.2.15/lib/active_support/notifications.rb:123:in `block in instrument'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/activesupport-3.2.15/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/activesupport-3.2.15/lib/active_support/notifications.rb:123:in `instrument'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_controller/metal/instrumentation.rb:29:in `process_action'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/activerecord-3.2.15/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/abstract_controller/base.rb:121:in `process'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/abstract_controller/rendering.rb:45:in `process'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_controller/metal.rb:203:in `dispatch'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_controller/metal.rb:246:in `block in action'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/routing/route_set.rb:73:in `call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/routing/route_set.rb:36:in `call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/journey-1.0.4/lib/journey/router.rb:68:in `block in call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/journey-1.0.4/lib/journey/router.rb:56:in `each'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/journey-1.0.4/lib/journey/router.rb:56:in `call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/routing/route_set.rb:608:in `call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/warden-1.2.3/lib/warden/manager.rb:35:in `block in call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/warden-1.2.3/lib/warden/manager.rb:34:in `catch'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/warden-1.2.3/lib/warden/manager.rb:34:in `call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/rack-1.4.5/lib/rack/etag.rb:23:in `call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/rack-1.4.5/lib/rack/conditionalget.rb:25:in `call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/head.rb:14:in `call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/params_parser.rb:21:in `call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/flash.rb:242:in `call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:210:in `context'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/rack-1.4.5/lib/rack/session/abstract/id.rb:205:in `call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/cookies.rb:341:in `call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/activerecord-3.2.15/lib/active_record/query_cache.rb:64:in `call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/activerecord-3.2.15/lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/activesupport-3.2.15/lib/active_support/callbacks.rb:405:in `_run__253337238648658755__call__1398244963985047139__callbacks'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/activesupport-3.2.15/lib/active_support/callbacks.rb:405:in `__run_callback'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/activesupport-3.2.15/lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/activesupport-3.2.15/lib/active_support/callbacks.rb:81:in `run_callbacks'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/callbacks.rb:27:in `call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/reloader.rb:65:in `call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/railties-3.2.15/lib/rails/rack/logger.rb:32:in `call_app'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/railties-3.2.15/lib/rails/rack/logger.rb:16:in `block in call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/activesupport-3.2.15/lib/active_support/tagged_logging.rb:22:in `tagged'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/railties-3.2.15/lib/rails/rack/logger.rb:16:in `call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/quiet_assets-1.0.2/lib/quiet_assets.rb:18:in `call_with_quiet_assets'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/request_id.rb:22:in `call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/rack-1.4.5/lib/rack/methodoverride.rb:21:in `call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/rack-1.4.5/lib/rack/runtime.rb:17:in `call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/activesupport-3.2.15/lib/active_support/cache/strategy/local_cache.rb:72:in `call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/rack-1.4.5/lib/rack/lock.rb:15:in `call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/static.rb:63:in `call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/railties-3.2.15/lib/rails/engine.rb:484:in `call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/railties-3.2.15/lib/rails/application.rb:231:in `call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/rack-1.4.5/lib/rack/content_length.rb:14:in `call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/railties-3.2.15/lib/rails/rack/log_tailer.rb:17:in `call'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/thin-1.6.1/lib/thin/connection.rb:82:in `block in pre_process'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/thin-1.6.1/lib/thin/connection.rb:80:in `catch'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/thin-1.6.1/lib/thin/connection.rb:80:in `pre_process'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/thin-1.6.1/lib/thin/connection.rb:55:in `process'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/thin-1.6.1/lib/thin/connection.rb:41:in `receive_data'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/eventmachine-1.0.3/lib/eventmachine.rb:187:in `run_machine'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/eventmachine-1.0.3/lib/eventmachine.rb:187:in `run'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/thin-1.6.1/lib/thin/backends/base.rb:73:in `start'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/thin-1.6.1/lib/thin/server.rb:162:in `start'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/rack-1.4.5/lib/rack/handler/thin.rb:13:in `run'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/rack-1.4.5/lib/rack/server.rb:268:in `start'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/railties-3.2.15/lib/rails/commands/server.rb:70:in `start'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/railties-3.2.15/lib/rails/commands.rb:55:in `block in <top (required)>'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/railties-3.2.15/lib/rails/commands.rb:50:in `tap'
+/root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/railties-3.2.15/lib/rails/commands.rb:50:in `<top (required)>'
+script/rails:6:in `require'
+script/rails:6:in `<main>'
+ Rendered vehicles/_form.html.erb (10.9ms)
+ Rendered vehicles/new.html.erb within layouts/application (12.7ms)
+Completed 500 Internal Server Error in 30.8ms
+
+ActionView::Template::Error (/home/clinik/App/rails_projects/car_app/app/views/vehicles/_form.html.erb:40: syntax error, unexpected tASSOC
+...perty.all, :id, :name, class => 'col-lg-10' );@output_buffe...
+... ^):
+ 37: </div>
+ 38: </div>
+ 39: <div class="form-group">
+ 40: <%= f.collection_select :property, Property.all, :id, :name, class => 'col-lg-10' %>
+ 41: </div>
+ 42: <div class="form-group">
+ 43: <div class="col-lg-offset-2 col-lg-10">
+ app/views/vehicles/new.html.erb:9:in `_app_views_vehicles_new_html_erb___4081546337770076575_41008760'
+ app/controllers/vehicles_controller.rb:33:in `new'
+
+
+ Rendered /root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/templates/rescues/_trace.erb (13.8ms)
+ Rendered /root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms)
+ Rendered /root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (20.9ms)
+
+
+Started GET "/vehicles/new" for 127.0.0.1 at 2013-12-15 12:17:17 +0100
+Processing by VehiclesController#new as HTML
+ [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))[0m
+------------
+#<User:0x00000005554f38>
+ [1m[35mProperty Load (0.3ms)[0m SELECT "properties".* FROM "properties"
+ Rendered vehicles/_form.html.erb (8.5ms)
+ Rendered vehicles/new.html.erb within layouts/application (9.5ms)
+Completed 200 OK in 41.0ms (Views: 24.5ms | ActiveRecord: 0.8ms)
+
+
+Started GET "/vehicles/new" for 127.0.0.1 at 2013-12-15 12:17:39 +0100
+Processing by VehiclesController#new as HTML
+ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))
+------------
+#<User:0x0000000498b300>
+ [1m[36mProperty Load (0.2ms)[0m [1mSELECT "properties".* FROM "properties" [0m
+ Rendered vehicles/_form.html.erb (7.2ms)
+ Rendered vehicles/new.html.erb within layouts/application (7.7ms)
+Completed 200 OK in 35.7ms (Views: 21.9ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/vehicles/new" for 127.0.0.1 at 2013-12-15 12:17:40 +0100
+Processing by VehiclesController#new as HTML
+ [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))[0m
+------------
+#<User:0x00000004cdbfa0>
+ [1m[35mProperty Load (0.1ms)[0m SELECT "properties".* FROM "properties"
+ Rendered vehicles/_form.html.erb (4.5ms)
+ Rendered vehicles/new.html.erb within layouts/application (6.5ms)
+Completed 200 OK in 35.5ms (Views: 21.0ms | ActiveRecord: 0.5ms)
+
+
+Started GET "/vehicles/new" for 127.0.0.1 at 2013-12-15 12:17:54 +0100
+Processing by VehiclesController#new as HTML
+ [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ [1m[35m (0.4ms)[0m SELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))
+------------
+#<User:0x0000000525e338>
+ [1m[36mProperty Load (0.3ms)[0m [1mSELECT "properties".* FROM "properties" [0m
+ Rendered vehicles/_form.html.erb (5.9ms)
+ Rendered vehicles/new.html.erb within layouts/application (7.3ms)
+Completed 200 OK in 97.2ms (Views: 81.3ms | ActiveRecord: 0.9ms)
+
+
+Started POST "/vehicles" for 127.0.0.1 at 2013-12-15 12:20:25 +0100
+Processing by VehiclesController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"OjUeyVL1IKyXzWflX/9iR1PmDgXLEfYEJmmb1Nb04Xg=", "vehicle"=>{"manufacturer"=>"", "subtype"=>"", "year"=>"", "color"=>"", "property"=>"2"}, "commit"=>"Create Vehicle"}
+Completed 500 Internal Server Error in 31.7ms
+
+ActiveModel::MassAssignmentSecurity::Error (Can't mass-assign protected attributes: property):
+ activemodel (3.2.15) lib/active_model/mass_assignment_security/sanitizer.rb:48:in `process_removed_attributes'
+ activemodel (3.2.15) lib/active_model/mass_assignment_security/sanitizer.rb:20:in `debug_protected_attribute_removal'
+ activemodel (3.2.15) lib/active_model/mass_assignment_security/sanitizer.rb:12:in `sanitize'
+ activemodel (3.2.15) lib/active_model/mass_assignment_security.rb:230:in `sanitize_for_mass_assignment'
+ activerecord (3.2.15) lib/active_record/attribute_assignment.rb:75:in `assign_attributes'
+ activerecord (3.2.15) lib/active_record/base.rb:498:in `initialize'
+ cancan (1.6.10) lib/cancan/controller_resource.rb:85:in `new'
+ cancan (1.6.10) lib/cancan/controller_resource.rb:85:in `build_resource'
+ cancan (1.6.10) lib/cancan/controller_resource.rb:66:in `load_resource_instance'
+ cancan (1.6.10) lib/cancan/controller_resource.rb:32:in `load_resource'
+ cancan (1.6.10) lib/cancan/controller_resource.rb:25:in `load_and_authorize_resource'
+ cancan (1.6.10) lib/cancan/controller_resource.rb:10:in `block in add_before_filter'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:418:in `_run__1789586899431195464__process_action__3221508897273278763__callbacks'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:405:in `__run_callback'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:81:in `run_callbacks'
+ actionpack (3.2.15) lib/abstract_controller/callbacks.rb:17:in `process_action'
+ actionpack (3.2.15) lib/action_controller/metal/rescue.rb:29:in `process_action'
+ actionpack (3.2.15) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
+ activesupport (3.2.15) lib/active_support/notifications.rb:123:in `block in instrument'
+ activesupport (3.2.15) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
+ activesupport (3.2.15) lib/active_support/notifications.rb:123:in `instrument'
+ actionpack (3.2.15) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
+ actionpack (3.2.15) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
+ activerecord (3.2.15) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
+ actionpack (3.2.15) lib/abstract_controller/base.rb:121:in `process'
+ actionpack (3.2.15) lib/abstract_controller/rendering.rb:45:in `process'
+ actionpack (3.2.15) lib/action_controller/metal.rb:203:in `dispatch'
+ actionpack (3.2.15) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
+ actionpack (3.2.15) lib/action_controller/metal.rb:246:in `block in action'
+ actionpack (3.2.15) lib/action_dispatch/routing/route_set.rb:73:in `call'
+ actionpack (3.2.15) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
+ actionpack (3.2.15) lib/action_dispatch/routing/route_set.rb:36:in `call'
+ journey (1.0.4) lib/journey/router.rb:68:in `block in call'
+ journey (1.0.4) lib/journey/router.rb:56:in `each'
+ journey (1.0.4) lib/journey/router.rb:56:in `call'
+ actionpack (3.2.15) lib/action_dispatch/routing/route_set.rb:608:in `call'
+ warden (1.2.3) lib/warden/manager.rb:35:in `block in call'
+ warden (1.2.3) lib/warden/manager.rb:34:in `catch'
+ warden (1.2.3) lib/warden/manager.rb:34:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
+ rack (1.4.5) lib/rack/etag.rb:23:in `call'
+ rack (1.4.5) lib/rack/conditionalget.rb:35:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/head.rb:14:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/flash.rb:242:in `call'
+ rack (1.4.5) lib/rack/session/abstract/id.rb:210:in `context'
+ rack (1.4.5) lib/rack/session/abstract/id.rb:205:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/cookies.rb:341:in `call'
+ activerecord (3.2.15) lib/active_record/query_cache.rb:64:in `call'
+ activerecord (3.2.15) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:405:in `_run__253337238648658755__call__1398244963985047139__callbacks'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:405:in `__run_callback'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:81:in `run_callbacks'
+ actionpack (3.2.15) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/reloader.rb:65:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
+ railties (3.2.15) lib/rails/rack/logger.rb:32:in `call_app'
+ railties (3.2.15) lib/rails/rack/logger.rb:16:in `block in call'
+ activesupport (3.2.15) lib/active_support/tagged_logging.rb:22:in `tagged'
+ railties (3.2.15) lib/rails/rack/logger.rb:16:in `call'
+ quiet_assets (1.0.2) lib/quiet_assets.rb:18:in `call_with_quiet_assets'
+ actionpack (3.2.15) lib/action_dispatch/middleware/request_id.rb:22:in `call'
+ rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
+ rack (1.4.5) lib/rack/runtime.rb:17:in `call'
+ activesupport (3.2.15) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
+ rack (1.4.5) lib/rack/lock.rb:15:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/static.rb:63:in `call'
+ railties (3.2.15) lib/rails/engine.rb:484:in `call'
+ railties (3.2.15) lib/rails/application.rb:231:in `call'
+ rack (1.4.5) lib/rack/content_length.rb:14:in `call'
+ railties (3.2.15) lib/rails/rack/log_tailer.rb:17:in `call'
+ thin (1.6.1) lib/thin/connection.rb:82:in `block in pre_process'
+ thin (1.6.1) lib/thin/connection.rb:80:in `catch'
+ thin (1.6.1) lib/thin/connection.rb:80:in `pre_process'
+ thin (1.6.1) lib/thin/connection.rb:55:in `process'
+ thin (1.6.1) lib/thin/connection.rb:41:in `receive_data'
+ eventmachine (1.0.3) lib/eventmachine.rb:187:in `run_machine'
+ eventmachine (1.0.3) lib/eventmachine.rb:187:in `run'
+ thin (1.6.1) lib/thin/backends/base.rb:73:in `start'
+ thin (1.6.1) lib/thin/server.rb:162:in `start'
+ rack (1.4.5) lib/rack/handler/thin.rb:13:in `run'
+ rack (1.4.5) lib/rack/server.rb:268:in `start'
+ railties (3.2.15) lib/rails/commands/server.rb:70:in `start'
+ railties (3.2.15) lib/rails/commands.rb:55:in `block in <top (required)>'
+ railties (3.2.15) lib/rails/commands.rb:50:in `tap'
+ railties (3.2.15) lib/rails/commands.rb:50:in `<top (required)>'
+ script/rails:6:in `require'
+ script/rails:6:in `<main>'
+
+
+ Rendered /root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.4ms)
+ Rendered /root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.2ms)
+ Rendered /root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (8.3ms)
+
+
+Started POST "/vehicles" for 127.0.0.1 at 2013-12-15 12:21:18 +0100
+Processing by VehiclesController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"OjUeyVL1IKyXzWflX/9iR1PmDgXLEfYEJmmb1Nb04Xg=", "vehicle"=>{"manufacturer"=>"", "subtype"=>"", "year"=>"", "color"=>"", "property"=>"2"}, "commit"=>"Create Vehicle"}
+Completed 500 Internal Server Error in 0.8ms
+
+ActiveModel::MassAssignmentSecurity::Error (Can't mass-assign protected attributes: property):
+ activemodel (3.2.15) lib/active_model/mass_assignment_security/sanitizer.rb:48:in `process_removed_attributes'
+ activemodel (3.2.15) lib/active_model/mass_assignment_security/sanitizer.rb:20:in `debug_protected_attribute_removal'
+ activemodel (3.2.15) lib/active_model/mass_assignment_security/sanitizer.rb:12:in `sanitize'
+ activemodel (3.2.15) lib/active_model/mass_assignment_security.rb:230:in `sanitize_for_mass_assignment'
+ activerecord (3.2.15) lib/active_record/attribute_assignment.rb:75:in `assign_attributes'
+ activerecord (3.2.15) lib/active_record/base.rb:498:in `initialize'
+ cancan (1.6.10) lib/cancan/controller_resource.rb:85:in `new'
+ cancan (1.6.10) lib/cancan/controller_resource.rb:85:in `build_resource'
+ cancan (1.6.10) lib/cancan/controller_resource.rb:66:in `load_resource_instance'
+ cancan (1.6.10) lib/cancan/controller_resource.rb:32:in `load_resource'
+ cancan (1.6.10) lib/cancan/controller_resource.rb:25:in `load_and_authorize_resource'
+ cancan (1.6.10) lib/cancan/controller_resource.rb:10:in `block in add_before_filter'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:418:in `_run__1789586899431195464__process_action__3221508897273278763__callbacks'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:405:in `__run_callback'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:81:in `run_callbacks'
+ actionpack (3.2.15) lib/abstract_controller/callbacks.rb:17:in `process_action'
+ actionpack (3.2.15) lib/action_controller/metal/rescue.rb:29:in `process_action'
+ actionpack (3.2.15) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
+ activesupport (3.2.15) lib/active_support/notifications.rb:123:in `block in instrument'
+ activesupport (3.2.15) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
+ activesupport (3.2.15) lib/active_support/notifications.rb:123:in `instrument'
+ actionpack (3.2.15) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
+ actionpack (3.2.15) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
+ activerecord (3.2.15) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
+ actionpack (3.2.15) lib/abstract_controller/base.rb:121:in `process'
+ actionpack (3.2.15) lib/abstract_controller/rendering.rb:45:in `process'
+ actionpack (3.2.15) lib/action_controller/metal.rb:203:in `dispatch'
+ actionpack (3.2.15) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
+ actionpack (3.2.15) lib/action_controller/metal.rb:246:in `block in action'
+ actionpack (3.2.15) lib/action_dispatch/routing/route_set.rb:73:in `call'
+ actionpack (3.2.15) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
+ actionpack (3.2.15) lib/action_dispatch/routing/route_set.rb:36:in `call'
+ journey (1.0.4) lib/journey/router.rb:68:in `block in call'
+ journey (1.0.4) lib/journey/router.rb:56:in `each'
+ journey (1.0.4) lib/journey/router.rb:56:in `call'
+ actionpack (3.2.15) lib/action_dispatch/routing/route_set.rb:608:in `call'
+ warden (1.2.3) lib/warden/manager.rb:35:in `block in call'
+ warden (1.2.3) lib/warden/manager.rb:34:in `catch'
+ warden (1.2.3) lib/warden/manager.rb:34:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
+ rack (1.4.5) lib/rack/etag.rb:23:in `call'
+ rack (1.4.5) lib/rack/conditionalget.rb:35:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/head.rb:14:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/flash.rb:242:in `call'
+ rack (1.4.5) lib/rack/session/abstract/id.rb:210:in `context'
+ rack (1.4.5) lib/rack/session/abstract/id.rb:205:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/cookies.rb:341:in `call'
+ activerecord (3.2.15) lib/active_record/query_cache.rb:64:in `call'
+ activerecord (3.2.15) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:405:in `_run__253337238648658755__call__1398244963985047139__callbacks'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:405:in `__run_callback'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:81:in `run_callbacks'
+ actionpack (3.2.15) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/reloader.rb:65:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
+ railties (3.2.15) lib/rails/rack/logger.rb:32:in `call_app'
+ railties (3.2.15) lib/rails/rack/logger.rb:16:in `block in call'
+ activesupport (3.2.15) lib/active_support/tagged_logging.rb:22:in `tagged'
+ railties (3.2.15) lib/rails/rack/logger.rb:16:in `call'
+ quiet_assets (1.0.2) lib/quiet_assets.rb:18:in `call_with_quiet_assets'
+ actionpack (3.2.15) lib/action_dispatch/middleware/request_id.rb:22:in `call'
+ rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
+ rack (1.4.5) lib/rack/runtime.rb:17:in `call'
+ activesupport (3.2.15) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
+ rack (1.4.5) lib/rack/lock.rb:15:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/static.rb:63:in `call'
+ railties (3.2.15) lib/rails/engine.rb:484:in `call'
+ railties (3.2.15) lib/rails/application.rb:231:in `call'
+ rack (1.4.5) lib/rack/content_length.rb:14:in `call'
+ railties (3.2.15) lib/rails/rack/log_tailer.rb:17:in `call'
+ thin (1.6.1) lib/thin/connection.rb:82:in `block in pre_process'
+ thin (1.6.1) lib/thin/connection.rb:80:in `catch'
+ thin (1.6.1) lib/thin/connection.rb:80:in `pre_process'
+ thin (1.6.1) lib/thin/connection.rb:55:in `process'
+ thin (1.6.1) lib/thin/connection.rb:41:in `receive_data'
+ eventmachine (1.0.3) lib/eventmachine.rb:187:in `run_machine'
+ eventmachine (1.0.3) lib/eventmachine.rb:187:in `run'
+ thin (1.6.1) lib/thin/backends/base.rb:73:in `start'
+ thin (1.6.1) lib/thin/server.rb:162:in `start'
+ rack (1.4.5) lib/rack/handler/thin.rb:13:in `run'
+ rack (1.4.5) lib/rack/server.rb:268:in `start'
+ railties (3.2.15) lib/rails/commands/server.rb:70:in `start'
+ railties (3.2.15) lib/rails/commands.rb:55:in `block in <top (required)>'
+ railties (3.2.15) lib/rails/commands.rb:50:in `tap'
+ railties (3.2.15) lib/rails/commands.rb:50:in `<top (required)>'
+ script/rails:6:in `require'
+ script/rails:6:in `<main>'
+
+
+ Rendered /root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.4ms)
+ Rendered /root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms)
+ Rendered /root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (8.6ms)
+
+
+Started POST "/vehicles" for 127.0.0.1 at 2013-12-15 12:21:32 +0100
+Processing by VehiclesController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"OjUeyVL1IKyXzWflX/9iR1PmDgXLEfYEJmmb1Nb04Xg=", "vehicle"=>{"manufacturer"=>"", "subtype"=>"", "year"=>"", "color"=>"", "property"=>"2"}, "commit"=>"Create Vehicle"}
+Completed 500 Internal Server Error in 7.9ms
+
+ActiveModel::MassAssignmentSecurity::Error (Can't mass-assign protected attributes: property):
+ activemodel (3.2.15) lib/active_model/mass_assignment_security/sanitizer.rb:48:in `process_removed_attributes'
+ activemodel (3.2.15) lib/active_model/mass_assignment_security/sanitizer.rb:20:in `debug_protected_attribute_removal'
+ activemodel (3.2.15) lib/active_model/mass_assignment_security/sanitizer.rb:12:in `sanitize'
+ activemodel (3.2.15) lib/active_model/mass_assignment_security.rb:230:in `sanitize_for_mass_assignment'
+ activerecord (3.2.15) lib/active_record/attribute_assignment.rb:75:in `assign_attributes'
+ activerecord (3.2.15) lib/active_record/base.rb:498:in `initialize'
+ cancan (1.6.10) lib/cancan/controller_resource.rb:85:in `new'
+ cancan (1.6.10) lib/cancan/controller_resource.rb:85:in `build_resource'
+ cancan (1.6.10) lib/cancan/controller_resource.rb:66:in `load_resource_instance'
+ cancan (1.6.10) lib/cancan/controller_resource.rb:32:in `load_resource'
+ cancan (1.6.10) lib/cancan/controller_resource.rb:25:in `load_and_authorize_resource'
+ cancan (1.6.10) lib/cancan/controller_resource.rb:10:in `block in add_before_filter'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:418:in `_run__1789586899431195464__process_action__3221508897273278763__callbacks'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:405:in `__run_callback'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:81:in `run_callbacks'
+ actionpack (3.2.15) lib/abstract_controller/callbacks.rb:17:in `process_action'
+ actionpack (3.2.15) lib/action_controller/metal/rescue.rb:29:in `process_action'
+ actionpack (3.2.15) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
+ activesupport (3.2.15) lib/active_support/notifications.rb:123:in `block in instrument'
+ activesupport (3.2.15) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
+ activesupport (3.2.15) lib/active_support/notifications.rb:123:in `instrument'
+ actionpack (3.2.15) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
+ actionpack (3.2.15) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
+ activerecord (3.2.15) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
+ actionpack (3.2.15) lib/abstract_controller/base.rb:121:in `process'
+ actionpack (3.2.15) lib/abstract_controller/rendering.rb:45:in `process'
+ actionpack (3.2.15) lib/action_controller/metal.rb:203:in `dispatch'
+ actionpack (3.2.15) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
+ actionpack (3.2.15) lib/action_controller/metal.rb:246:in `block in action'
+ actionpack (3.2.15) lib/action_dispatch/routing/route_set.rb:73:in `call'
+ actionpack (3.2.15) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
+ actionpack (3.2.15) lib/action_dispatch/routing/route_set.rb:36:in `call'
+ journey (1.0.4) lib/journey/router.rb:68:in `block in call'
+ journey (1.0.4) lib/journey/router.rb:56:in `each'
+ journey (1.0.4) lib/journey/router.rb:56:in `call'
+ actionpack (3.2.15) lib/action_dispatch/routing/route_set.rb:608:in `call'
+ warden (1.2.3) lib/warden/manager.rb:35:in `block in call'
+ warden (1.2.3) lib/warden/manager.rb:34:in `catch'
+ warden (1.2.3) lib/warden/manager.rb:34:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
+ rack (1.4.5) lib/rack/etag.rb:23:in `call'
+ rack (1.4.5) lib/rack/conditionalget.rb:35:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/head.rb:14:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/flash.rb:242:in `call'
+ rack (1.4.5) lib/rack/session/abstract/id.rb:210:in `context'
+ rack (1.4.5) lib/rack/session/abstract/id.rb:205:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/cookies.rb:341:in `call'
+ activerecord (3.2.15) lib/active_record/query_cache.rb:64:in `call'
+ activerecord (3.2.15) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:405:in `_run__253337238648658755__call__1398244963985047139__callbacks'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:405:in `__run_callback'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:81:in `run_callbacks'
+ actionpack (3.2.15) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/reloader.rb:65:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
+ railties (3.2.15) lib/rails/rack/logger.rb:32:in `call_app'
+ railties (3.2.15) lib/rails/rack/logger.rb:16:in `block in call'
+ activesupport (3.2.15) lib/active_support/tagged_logging.rb:22:in `tagged'
+ railties (3.2.15) lib/rails/rack/logger.rb:16:in `call'
+ quiet_assets (1.0.2) lib/quiet_assets.rb:18:in `call_with_quiet_assets'
+ actionpack (3.2.15) lib/action_dispatch/middleware/request_id.rb:22:in `call'
+ rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
+ rack (1.4.5) lib/rack/runtime.rb:17:in `call'
+ activesupport (3.2.15) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
+ rack (1.4.5) lib/rack/lock.rb:15:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/static.rb:63:in `call'
+ railties (3.2.15) lib/rails/engine.rb:484:in `call'
+ railties (3.2.15) lib/rails/application.rb:231:in `call'
+ rack (1.4.5) lib/rack/content_length.rb:14:in `call'
+ railties (3.2.15) lib/rails/rack/log_tailer.rb:17:in `call'
+ thin (1.6.1) lib/thin/connection.rb:82:in `block in pre_process'
+ thin (1.6.1) lib/thin/connection.rb:80:in `catch'
+ thin (1.6.1) lib/thin/connection.rb:80:in `pre_process'
+ thin (1.6.1) lib/thin/connection.rb:55:in `process'
+ thin (1.6.1) lib/thin/connection.rb:41:in `receive_data'
+ eventmachine (1.0.3) lib/eventmachine.rb:187:in `run_machine'
+ eventmachine (1.0.3) lib/eventmachine.rb:187:in `run'
+ thin (1.6.1) lib/thin/backends/base.rb:73:in `start'
+ thin (1.6.1) lib/thin/server.rb:162:in `start'
+ rack (1.4.5) lib/rack/handler/thin.rb:13:in `run'
+ rack (1.4.5) lib/rack/server.rb:268:in `start'
+ railties (3.2.15) lib/rails/commands/server.rb:70:in `start'
+ railties (3.2.15) lib/rails/commands.rb:55:in `block in <top (required)>'
+ railties (3.2.15) lib/rails/commands.rb:50:in `tap'
+ railties (3.2.15) lib/rails/commands.rb:50:in `<top (required)>'
+ script/rails:6:in `require'
+ script/rails:6:in `<main>'
+
+
+ Rendered /root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/templates/rescues/_trace.erb (36.4ms)
+ Rendered /root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.5ms)
+ Rendered /root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (45.4ms)
+
+
+Started GET "/vehicles/new" for 127.0.0.1 at 2013-12-15 12:21:40 +0100
+Processing by VehiclesController#new as HTML
+ [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))[0m
+------------
+#<User:0x000000054dacd8>
+ [1m[35mProperty Load (0.1ms)[0m SELECT "properties".* FROM "properties"
+ Rendered vehicles/_form.html.erb (18.5ms)
+ Rendered vehicles/new.html.erb within layouts/application (20.2ms)
+Completed 500 Internal Server Error in 104.9ms
+
+ActionView::Template::Error (undefined method `property_ids' for #<Vehicle:0x00000005084a08>):
+ 38: </div>
+ 39: <div class="form-group">
+ 40: <div class="col-lg-10">
+ 41: <%= f.collection_select :property_ids, Property.all, :id, :name, :class => "form-control" %>
+ 42: </div>
+ 43: </div>
+ 44: <div class="form-group">
+ app/views/vehicles/_form.html.erb:41:in `block in _app_views_vehicles__form_html_erb__75608590977302481_43854480'
+ app/views/vehicles/_form.html.erb:1:in `_app_views_vehicles__form_html_erb__75608590977302481_43854480'
+ app/views/vehicles/new.html.erb:9:in `_app_views_vehicles_new_html_erb___4081546337770076575_41008760'
+ app/controllers/vehicles_controller.rb:33:in `new'
+
+
+ Rendered /root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/templates/rescues/_trace.erb (57.8ms)
+ Rendered /root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.3ms)
+ Rendered /root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (65.2ms)
+
+
+Started GET "/vehicles" for 127.0.0.1 at 2013-12-15 12:22:27 +0100
+Processing by VehiclesController#index as HTML
+ [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))
+ [1m[36mVehicle Load (0.2ms)[0m [1mSELECT "vehicles".* FROM "vehicles" [0m
+ [1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ Rendered vehicles/index.html.erb within layouts/application (11.4ms)
+Completed 200 OK in 180.8ms (Views: 38.7ms | ActiveRecord: 2.4ms)
+
+
+Started GET "/vehicles/new" for 127.0.0.1 at 2013-12-15 12:22:28 +0100
+Processing by VehiclesController#new as HTML
+ [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))
+------------
+#<User:0x0000000544c0a0>
+ [1m[36mProperty Load (0.1ms)[0m [1mSELECT "properties".* FROM "properties" [0m
+ Rendered vehicles/_form.html.erb (20.4ms)
+ Rendered vehicles/new.html.erb within layouts/application (22.7ms)
+Completed 500 Internal Server Error in 40.2ms
+
+ActionView::Template::Error (undefined method `property_id' for #<Vehicle:0x00000005262438>):
+ 38: </div>
+ 39: <div class="form-group">
+ 40: <div class="col-lg-10">
+ 41: <%= f.collection_select :property_id, Property.all, :id, :name, :class => "form-control" %>
+ 42: </div>
+ 43: </div>
+ 44: <div class="form-group">
+ app/views/vehicles/_form.html.erb:41:in `block in _app_views_vehicles__form_html_erb__75608590977302481_45238480'
+ app/views/vehicles/_form.html.erb:1:in `_app_views_vehicles__form_html_erb__75608590977302481_45238480'
+ app/views/vehicles/new.html.erb:9:in `_app_views_vehicles_new_html_erb___4081546337770076575_41008760'
+ app/controllers/vehicles_controller.rb:33:in `new'
+
+
+ Rendered /root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.5ms)
+ Rendered /root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.2ms)
+ Rendered /root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (8.2ms)
+
+
+Started GET "/vehicles" for 127.0.0.1 at 2013-12-15 12:22:52 +0100
+Processing by VehiclesController#index as HTML
+ [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))[0m
+ [1m[35mVehicle Load (0.2ms)[0m SELECT "vehicles".* FROM "vehicles"
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ Rendered vehicles/index.html.erb within layouts/application (3.5ms)
+Completed 200 OK in 75.2ms (Views: 58.2ms | ActiveRecord: 0.6ms)
+
+
+Started GET "/vehicles/new" for 127.0.0.1 at 2013-12-15 12:22:53 +0100
+Processing by VehiclesController#new as HTML
+ [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))[0m
+------------
+#<User:0x00000004b29400>
+ [1m[35mProperty Load (0.2ms)[0m SELECT "properties".* FROM "properties"
+ Rendered vehicles/_form.html.erb (5.5ms)
+ Rendered vehicles/new.html.erb within layouts/application (7.3ms)
+Completed 200 OK in 37.8ms (Views: 22.4ms | ActiveRecord: 0.7ms)
+
+
+Started POST "/vehicles" for 127.0.0.1 at 2013-12-15 12:22:57 +0100
+Processing by VehiclesController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"OjUeyVL1IKyXzWflX/9iR1PmDgXLEfYEJmmb1Nb04Xg=", "vehicle"=>{"manufacturer"=>"", "subtype"=>"", "year"=>"", "color"=>"", "id"=>"2"}, "commit"=>"Create Vehicle"}
+ [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))
+{"utf8"=>"✓", "authenticity_token"=>"OjUeyVL1IKyXzWflX/9iR1PmDgXLEfYEJmmb1Nb04Xg=", "vehicle"=>{"manufacturer"=>"", "subtype"=>"", "year"=>"", "color"=>"", "id"=>"2"}, "commit"=>"Create Vehicle", "action"=>"create", "controller"=>"vehicles"}
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (3.8ms)[0m INSERT INTO "vehicles" ("color", "created_at", "manufacturer", "subtype", "updated_at", "user", "user_id", "year") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["color", ""], ["created_at", Sun, 15 Dec 2013 11:22:57 UTC +00:00], ["manufacturer", ""], ["subtype", ""], ["updated_at", Sun, 15 Dec 2013 11:22:57 UTC +00:00], ["user", nil], ["user_id", 1], ["year", nil]]
+ [1m[36m (26.2ms)[0m [1mcommit transaction[0m
+Redirected to http://0.0.0.0:3000/vehicles/8-
+Completed 302 Found in 63.5ms (ActiveRecord: 30.6ms)
+
+
+Started GET "/vehicles/8-" for 127.0.0.1 at 2013-12-15 12:22:57 +0100
+Processing by VehiclesController#show as HTML
+ Parameters: {"id"=>"8-"}
+ [1m[35mVehicle Load (0.3ms)[0m SELECT "vehicles".* FROM "vehicles" WHERE "vehicles"."id" = ? LIMIT 1 [["id", "8-"]]
+ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT "vehicles".* FROM "vehicles" WHERE "vehicles"."id" = ? LIMIT 1[0m [["id", "8-"]]
+ [1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ Rendered vehicles/show.html.erb within layouts/application (3.7ms)
+Completed 200 OK in 72.8ms (Views: 57.0ms | ActiveRecord: 0.6ms)
+
+
+Started GET "/vehicles" for 127.0.0.1 at 2013-12-15 12:23:46 +0100
+Processing by VehiclesController#index as HTML
+ [1m[36mUser Load (0.5ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))
+ [1m[36mVehicle Load (0.2ms)[0m [1mSELECT "vehicles".* FROM "vehicles" [0m
+ [1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ Rendered vehicles/index.html.erb within layouts/application (5.4ms)
+Completed 200 OK in 93.2ms (Views: 77.1ms | ActiveRecord: 0.9ms)
+
+
+Started GET "/vehicles/8-" for 127.0.0.1 at 2013-12-15 12:23:49 +0100
+Processing by VehiclesController#show as HTML
+ Parameters: {"id"=>"8-"}
+ [1m[35mVehicle Load (0.1ms)[0m SELECT "vehicles".* FROM "vehicles" WHERE "vehicles"."id" = ? LIMIT 1 [["id", "8-"]]
+ [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT "vehicles".* FROM "vehicles" WHERE "vehicles"."id" = ? LIMIT 1[0m [["id", "8-"]]
+ [1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ Rendered vehicles/show.html.erb within layouts/application (2.5ms)
+Completed 200 OK in 32.6ms (Views: 18.4ms | ActiveRecord: 0.6ms)
+
+
+Started GET "/vehicles/new" for 127.0.0.1 at 2013-12-15 12:23:52 +0100
+Processing by VehiclesController#new as HTML
+ [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))
+------------
+#<User:0x0000000527e048>
+ [1m[36mProperty Load (0.2ms)[0m [1mSELECT "properties".* FROM "properties" [0m
+ Rendered vehicles/_form.html.erb (5.4ms)
+ Rendered vehicles/new.html.erb within layouts/application (7.0ms)
+Completed 200 OK in 38.2ms (Views: 23.5ms | ActiveRecord: 0.7ms)
+
+
+Started POST "/vehicles" for 127.0.0.1 at 2013-12-15 12:23:55 +0100
+Processing by VehiclesController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"OjUeyVL1IKyXzWflX/9iR1PmDgXLEfYEJmmb1Nb04Xg=", "vehicle"=>{"manufacturer"=>"", "subtype"=>"", "year"=>"", "color"=>"", "id"=>"2"}, "commit"=>"Create Vehicle"}
+ [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))[0m
+{"utf8"=>"✓", "authenticity_token"=>"OjUeyVL1IKyXzWflX/9iR1PmDgXLEfYEJmmb1Nb04Xg=", "vehicle"=>{"manufacturer"=>"", "subtype"=>"", "year"=>"", "color"=>"", "id"=>"2"}, "commit"=>"Create Vehicle", "action"=>"create", "controller"=>"vehicles"}
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "vehicles" ("color", "created_at", "manufacturer", "subtype", "updated_at", "user", "user_id", "year") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["color", ""], ["created_at", Sun, 15 Dec 2013 11:23:55 UTC +00:00], ["manufacturer", ""], ["subtype", ""], ["updated_at", Sun, 15 Dec 2013 11:23:55 UTC +00:00], ["user", nil], ["user_id", 1], ["year", nil]]
+ [1m[35m (15.3ms)[0m commit transaction
+Redirected to http://0.0.0.0:3000/vehicles/9-
+Completed 302 Found in 35.1ms (ActiveRecord: 16.4ms)
+
+
+Started GET "/vehicles/9-" for 127.0.0.1 at 2013-12-15 12:23:55 +0100
+Processing by VehiclesController#show as HTML
+ Parameters: {"id"=>"9-"}
+ [1m[36mVehicle Load (0.2ms)[0m [1mSELECT "vehicles".* FROM "vehicles" WHERE "vehicles"."id" = ? LIMIT 1[0m [["id", "9-"]]
+ [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ [1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT "vehicles".* FROM "vehicles" WHERE "vehicles"."id" = ? LIMIT 1 [["id", "9-"]]
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ Rendered vehicles/show.html.erb within layouts/application (2.4ms)
+Completed 200 OK in 31.1ms (Views: 17.2ms | ActiveRecord: 0.8ms)
+
+
+Started GET "/vehicles" for 127.0.0.1 at 2013-12-15 12:24:29 +0100
+Processing by VehiclesController#index as HTML
+ [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))[0m
+ [1m[35mVehicle Load (0.4ms)[0m SELECT "vehicles".* FROM "vehicles"
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ Rendered vehicles/index.html.erb within layouts/application (8.3ms)
+Completed 200 OK in 80.6ms (Views: 61.4ms | ActiveRecord: 0.9ms)
+
+
+Started DELETE "/vehicles/8-" for 127.0.0.1 at 2013-12-15 12:24:32 +0100
+Processing by VehiclesController#destroy as HTML
+ Parameters: {"authenticity_token"=>"OjUeyVL1IKyXzWflX/9iR1PmDgXLEfYEJmmb1Nb04Xg=", "id"=>"8-"}
+ [1m[35mVehicle Load (0.2ms)[0m SELECT "vehicles".* FROM "vehicles" WHERE "vehicles"."id" = ? LIMIT 1 [["id", "8-"]]
+ [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ [1m[35m (0.6ms)[0m SELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT "vehicles".* FROM "vehicles" WHERE "vehicles"."id" = ? LIMIT 1[0m [["id", "8-"]]
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (1.4ms)[0m [1mDELETE FROM "vehicles" WHERE "vehicles"."id" = ?[0m [["id", 8]]
+ [1m[35m (34.0ms)[0m commit transaction
+Redirected to http://0.0.0.0:3000/vehicles
+Completed 302 Found in 62.6ms (ActiveRecord: 36.6ms)
+
+
+Started GET "/vehicles" for 127.0.0.1 at 2013-12-15 12:24:32 +0100
+Processing by VehiclesController#index as HTML
+ [1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))
+ [1m[36mVehicle Load (0.3ms)[0m [1mSELECT "vehicles".* FROM "vehicles" [0m
+ [1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ Rendered vehicles/index.html.erb within layouts/application (6.2ms)
+Completed 200 OK in 88.0ms (Views: 70.5ms | ActiveRecord: 0.9ms)
+
+
+Started DELETE "/vehicles/9-" for 127.0.0.1 at 2013-12-15 12:24:34 +0100
+Processing by VehiclesController#destroy as HTML
+ Parameters: {"authenticity_token"=>"OjUeyVL1IKyXzWflX/9iR1PmDgXLEfYEJmmb1Nb04Xg=", "id"=>"9-"}
+ [1m[35mVehicle Load (0.2ms)[0m SELECT "vehicles".* FROM "vehicles" WHERE "vehicles"."id" = ? LIMIT 1 [["id", "9-"]]
+ [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT "vehicles".* FROM "vehicles" WHERE "vehicles"."id" = ? LIMIT 1[0m [["id", "9-"]]
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (1.2ms)[0m [1mDELETE FROM "vehicles" WHERE "vehicles"."id" = ?[0m [["id", 9]]
+ [1m[35m (18.1ms)[0m commit transaction
+Redirected to http://0.0.0.0:3000/vehicles
+Completed 302 Found in 40.0ms (ActiveRecord: 20.1ms)
+
+
+Started GET "/vehicles" for 127.0.0.1 at 2013-12-15 12:24:34 +0100
+Processing by VehiclesController#index as HTML
+ [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ [1m[35m (0.8ms)[0m SELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))
+ [1m[36mVehicle Load (0.2ms)[0m [1mSELECT "vehicles".* FROM "vehicles" [0m
+ [1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ Rendered vehicles/index.html.erb within layouts/application (3.8ms)
+Completed 200 OK in 40.4ms (Views: 24.5ms | ActiveRecord: 1.3ms)
+
+
+Started GET "/vehicles/7-Fabia" for 127.0.0.1 at 2013-12-15 12:26:32 +0100
+Processing by VehiclesController#show as HTML
+ Parameters: {"id"=>"7-Fabia"}
+ [1m[36mVehicle Load (0.2ms)[0m [1mSELECT "vehicles".* FROM "vehicles" WHERE "vehicles"."id" = ? LIMIT 1[0m [["id", "7-Fabia"]]
+ [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT "vehicles".* FROM "vehicles" WHERE "vehicles"."id" = ? LIMIT 1 [["id", "7-Fabia"]]
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ [1m[35mProperty Load (0.4ms)[0m SELECT "properties".* FROM "properties" WHERE "properties"."vehicle_id" = 7 LIMIT 1
+SQLite3::SQLException: no such column: properties.vehicle_id: SELECT "properties".* FROM "properties" WHERE "properties"."vehicle_id" = 7 LIMIT 1
+ Rendered vehicles/show.html.erb within layouts/application (5.7ms)
+Completed 500 Internal Server Error in 23.6ms
+
+ActionView::Template::Error (SQLite3::SQLException: no such column: properties.vehicle_id: SELECT "properties".* FROM "properties" WHERE "properties"."vehicle_id" = 7 LIMIT 1):
+ 27: <dd><%= @vehicle.user.email %></dd>
+ 28:
+ 29: <dt>Props:</dt>
+ 30: <dd><%= @vehicle.property.name %></dd>
+ 31:
+ 32: </dl>
+ app/views/vehicles/show.html.erb:30:in `_app_views_vehicles_show_html_erb___2051488399341051670_41232000'
+ app/controllers/vehicles_controller.rb:21:in `show'
+
+
+ Rendered /root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.6ms)
+ Rendered /root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.1ms)
+ Rendered /root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (9.6ms)
+
+
+Started DELETE "/vehicles/7-Fabia" for 127.0.0.1 at 2013-12-15 12:26:42 +0100
+Processing by VehiclesController#destroy as HTML
+ Parameters: {"authenticity_token"=>"OjUeyVL1IKyXzWflX/9iR1PmDgXLEfYEJmmb1Nb04Xg=", "id"=>"7-Fabia"}
+ [1m[36mVehicle Load (0.1ms)[0m [1mSELECT "vehicles".* FROM "vehicles" WHERE "vehicles"."id" = ? LIMIT 1[0m [["id", "7-Fabia"]]
+ [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT "vehicles".* FROM "vehicles" WHERE "vehicles"."id" = ? LIMIT 1 [["id", "7-Fabia"]]
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.8ms)[0m DELETE FROM "vehicles" WHERE "vehicles"."id" = ? [["id", 7]]
+ [1m[36m (33.3ms)[0m [1mcommit transaction[0m
+Redirected to http://0.0.0.0:3000/vehicles
+Completed 302 Found in 53.4ms (ActiveRecord: 34.8ms)
+
+
+Started GET "/vehicles" for 127.0.0.1 at 2013-12-15 12:26:42 +0100
+Processing by VehiclesController#index as HTML
+ [1m[35mUser Load (0.8ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))[0m
+ [1m[35mVehicle Load (0.0ms)[0m SELECT "vehicles".* FROM "vehicles"
+ Rendered vehicles/index.html.erb within layouts/application (0.7ms)
+Completed 200 OK in 42.3ms (Views: 16.8ms | ActiveRecord: 1.0ms)
+
+
+Started GET "/vehicles/new" for 127.0.0.1 at 2013-12-15 12:26:43 +0100
+Processing by VehiclesController#new as HTML
+ [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))
+------------
+#<User:0x00000004cddeb8>
+ [1m[36mProperty Load (0.2ms)[0m [1mSELECT "properties".* FROM "properties" [0m
+ Rendered vehicles/_form.html.erb (4.9ms)
+ Rendered vehicles/new.html.erb within layouts/application (6.2ms)
+Completed 200 OK in 72.1ms (Views: 58.0ms | ActiveRecord: 0.7ms)
+
+
+Started POST "/vehicles" for 127.0.0.1 at 2013-12-15 12:26:54 +0100
+Processing by VehiclesController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"OjUeyVL1IKyXzWflX/9iR1PmDgXLEfYEJmmb1Nb04Xg=", "vehicle"=>{"manufacturer"=>"Skoda", "subtype"=>"Fabia", "year"=>"2000", "color"=>"Silver", "id"=>"2"}, "commit"=>"Create Vehicle"}
+ [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))[0m
+{"utf8"=>"✓", "authenticity_token"=>"OjUeyVL1IKyXzWflX/9iR1PmDgXLEfYEJmmb1Nb04Xg=", "vehicle"=>{"manufacturer"=>"Skoda", "subtype"=>"Fabia", "year"=>"2000", "color"=>"Silver", "id"=>"2"}, "commit"=>"Create Vehicle", "action"=>"create", "controller"=>"vehicles"}
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "vehicles" ("color", "created_at", "manufacturer", "subtype", "updated_at", "user", "user_id", "year") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["color", "Silver"], ["created_at", Sun, 15 Dec 2013 11:26:54 UTC +00:00], ["manufacturer", "Skoda"], ["subtype", "Fabia"], ["updated_at", Sun, 15 Dec 2013 11:26:54 UTC +00:00], ["user", nil], ["user_id", 1], ["year", 2000]]
+ [1m[35m (10.9ms)[0m commit transaction
+Redirected to http://0.0.0.0:3000/vehicles/10-Fabia
+Completed 302 Found in 30.8ms (ActiveRecord: 11.9ms)
+
+
+Started GET "/vehicles/10-Fabia" for 127.0.0.1 at 2013-12-15 12:26:54 +0100
+Processing by VehiclesController#show as HTML
+ Parameters: {"id"=>"10-Fabia"}
+ [1m[36mVehicle Load (0.1ms)[0m [1mSELECT "vehicles".* FROM "vehicles" WHERE "vehicles"."id" = ? LIMIT 1[0m [["id", "10-Fabia"]]
+ [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT "vehicles".* FROM "vehicles" WHERE "vehicles"."id" = ? LIMIT 1 [["id", "10-Fabia"]]
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ [1m[35mProperty Load (0.4ms)[0m SELECT "properties".* FROM "properties" WHERE "properties"."vehicle_id" = 10 LIMIT 1
+SQLite3::SQLException: no such column: properties.vehicle_id: SELECT "properties".* FROM "properties" WHERE "properties"."vehicle_id" = 10 LIMIT 1
+ Rendered vehicles/show.html.erb within layouts/application (3.7ms)
+Completed 500 Internal Server Error in 19.2ms
+
+ActionView::Template::Error (SQLite3::SQLException: no such column: properties.vehicle_id: SELECT "properties".* FROM "properties" WHERE "properties"."vehicle_id" = 10 LIMIT 1):
+ 27: <dd><%= @vehicle.user.email %></dd>
+ 28:
+ 29: <dt>Props:</dt>
+ 30: <dd><%= @vehicle.property.name %></dd>
+ 31:
+ 32: </dl>
+ app/views/vehicles/show.html.erb:30:in `_app_views_vehicles_show_html_erb___2051488399341051670_41232000'
+ app/controllers/vehicles_controller.rb:21:in `show'
+
+
+ Rendered /root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/templates/rescues/_trace.erb (38.6ms)
+ Rendered /root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.4ms)
+ Rendered /root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (47.2ms)
+
+
+Started GET "/vehicles/10-Fabia" for 127.0.0.1 at 2013-12-15 12:28:00 +0100
+Processing by VehiclesController#show as HTML
+ Parameters: {"id"=>"10-Fabia"}
+ [1m[36mVehicle Load (0.2ms)[0m [1mSELECT "vehicles".* FROM "vehicles" WHERE "vehicles"."id" = ? LIMIT 1[0m [["id", "10-Fabia"]]
+ [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT "vehicles".* FROM "vehicles" WHERE "vehicles"."id" = ? LIMIT 1 [["id", "10-Fabia"]]
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ [1m[35mProperty Load (0.3ms)[0m SELECT "properties".* FROM "properties" WHERE "properties"."vehicle_id" = 10 LIMIT 1
+SQLite3::SQLException: no such column: properties.vehicle_id: SELECT "properties".* FROM "properties" WHERE "properties"."vehicle_id" = 10 LIMIT 1
+ Rendered vehicles/show.html.erb within layouts/application (13.3ms)
+Completed 500 Internal Server Error in 151.0ms
+
+ActionView::Template::Error (SQLite3::SQLException: no such column: properties.vehicle_id: SELECT "properties".* FROM "properties" WHERE "properties"."vehicle_id" = 10 LIMIT 1):
+ 27: <dd><%= @vehicle.user.email %></dd>
+ 28:
+ 29: <dt>Props:</dt>
+ 30: <dd><%= @vehicle.property.name %></dd>
+ 31:
+ 32: </dl>
+ app/views/vehicles/show.html.erb:30:in `_app_views_vehicles_show_html_erb___2051488399341051670_41232000'
+ app/controllers/vehicles_controller.rb:21:in `show'
+
+
+ Rendered /root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.7ms)
+ Rendered /root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.3ms)
+ Rendered /root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (9.9ms)
+
+
+Started POST "/vehicles" for 127.0.0.1 at 2013-12-15 12:28:04 +0100
+Processing by VehiclesController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"OjUeyVL1IKyXzWflX/9iR1PmDgXLEfYEJmmb1Nb04Xg=", "vehicle"=>{"manufacturer"=>"Skoda", "subtype"=>"Fabia", "year"=>"2000", "color"=>"Silver", "id"=>"2"}, "commit"=>"Create Vehicle"}
+ [1m[36mUser Load (0.5ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))
+{"utf8"=>"✓", "authenticity_token"=>"OjUeyVL1IKyXzWflX/9iR1PmDgXLEfYEJmmb1Nb04Xg=", "vehicle"=>{"manufacturer"=>"Skoda", "subtype"=>"Fabia", "year"=>"2000", "color"=>"Silver", "id"=>"2"}, "commit"=>"Create Vehicle", "action"=>"create", "controller"=>"vehicles"}
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.6ms)[0m INSERT INTO "vehicles" ("color", "created_at", "manufacturer", "subtype", "updated_at", "user", "user_id", "year") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["color", "Silver"], ["created_at", Sun, 15 Dec 2013 11:28:04 UTC +00:00], ["manufacturer", "Skoda"], ["subtype", "Fabia"], ["updated_at", Sun, 15 Dec 2013 11:28:04 UTC +00:00], ["user", nil], ["user_id", 1], ["year", 2000]]
+ [1m[36m (16.6ms)[0m [1mcommit transaction[0m
+Redirected to http://0.0.0.0:3000/vehicles/11
+Completed 302 Found in 43.4ms (ActiveRecord: 17.9ms)
+
+
+Started GET "/vehicles/11" for 127.0.0.1 at 2013-12-15 12:28:04 +0100
+Processing by VehiclesController#show as HTML
+ Parameters: {"id"=>"11"}
+ [1m[35mVehicle Load (0.2ms)[0m SELECT "vehicles".* FROM "vehicles" WHERE "vehicles"."id" = ? LIMIT 1 [["id", "11"]]
+ [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT "vehicles".* FROM "vehicles" WHERE "vehicles"."id" = ? LIMIT 1[0m [["id", "11"]]
+ [1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ [1m[36mProperty Load (0.4ms)[0m [1mSELECT "properties".* FROM "properties" WHERE "properties"."vehicle_id" = 11 LIMIT 1[0m
+SQLite3::SQLException: no such column: properties.vehicle_id: SELECT "properties".* FROM "properties" WHERE "properties"."vehicle_id" = 11 LIMIT 1
+ Rendered vehicles/show.html.erb within layouts/application (5.1ms)
+Completed 500 Internal Server Error in 23.3ms
+
+ActionView::Template::Error (SQLite3::SQLException: no such column: properties.vehicle_id: SELECT "properties".* FROM "properties" WHERE "properties"."vehicle_id" = 11 LIMIT 1):
+ 27: <dd><%= @vehicle.user.email %></dd>
+ 28:
+ 29: <dt>Props:</dt>
+ 30: <dd><%= @vehicle.property.name %></dd>
+ 31:
+ 32: </dl>
+ app/views/vehicles/show.html.erb:30:in `_app_views_vehicles_show_html_erb___2051488399341051670_41232000'
+ app/controllers/vehicles_controller.rb:21:in `show'
+
+
+ Rendered /root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.1ms)
+ Rendered /root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.4ms)
+ Rendered /root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (9.0ms)
+
+
+Started GET "/vehicles" for 127.0.0.1 at 2013-12-15 12:28:19 +0100
+Processing by VehiclesController#index as HTML
+ [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))[0m
+ [1m[35mVehicle Load (0.2ms)[0m SELECT "vehicles".* FROM "vehicles"
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ Rendered vehicles/index.html.erb within layouts/application (4.8ms)
+Completed 200 OK in 79.9ms (Views: 62.3ms | ActiveRecord: 0.7ms)
+
+
+Started GET "/vehicles" for 127.0.0.1 at 2013-12-15 12:28:20 +0100
+Processing by VehiclesController#index as HTML
+ [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))
+ [1m[36mVehicle Load (0.2ms)[0m [1mSELECT "vehicles".* FROM "vehicles" [0m
+ [1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ Rendered vehicles/index.html.erb within layouts/application (5.5ms)
+Completed 200 OK in 39.9ms (Views: 22.4ms | ActiveRecord: 0.7ms)
+
+
+Started GET "/vehicles/10" for 127.0.0.1 at 2013-12-15 12:28:24 +0100
+Processing by VehiclesController#show as HTML
+ Parameters: {"id"=>"10"}
+ [1m[35mVehicle Load (0.2ms)[0m SELECT "vehicles".* FROM "vehicles" WHERE "vehicles"."id" = ? LIMIT 1 [["id", "10"]]
+ [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ [1m[35m (0.9ms)[0m SELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT "vehicles".* FROM "vehicles" WHERE "vehicles"."id" = ? LIMIT 1[0m [["id", "10"]]
+ [1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ [1m[36mProperty Load (0.4ms)[0m [1mSELECT "properties".* FROM "properties" WHERE "properties"."vehicle_id" = 10 LIMIT 1[0m
+SQLite3::SQLException: no such column: properties.vehicle_id: SELECT "properties".* FROM "properties" WHERE "properties"."vehicle_id" = 10 LIMIT 1
+ Rendered vehicles/show.html.erb within layouts/application (3.7ms)
+Completed 500 Internal Server Error in 20.4ms
+
+ActionView::Template::Error (SQLite3::SQLException: no such column: properties.vehicle_id: SELECT "properties".* FROM "properties" WHERE "properties"."vehicle_id" = 10 LIMIT 1):
+ 27: <dd><%= @vehicle.user.email %></dd>
+ 28:
+ 29: <dt>Props:</dt>
+ 30: <dd><%= @vehicle.property.name %></dd>
+ 31:
+ 32: </dl>
+ app/views/vehicles/show.html.erb:30:in `_app_views_vehicles_show_html_erb___2051488399341051670_41232000'
+ app/controllers/vehicles_controller.rb:21:in `show'
+
+
+ Rendered /root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.5ms)
+ Rendered /root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.7ms)
+ Rendered /root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/actionpack-3.2.15/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (8.7ms)
+
+
+Started DELETE "/vehicles/10" for 127.0.0.1 at 2013-12-15 12:28:33 +0100
+Processing by VehiclesController#destroy as HTML
+ Parameters: {"authenticity_token"=>"OjUeyVL1IKyXzWflX/9iR1PmDgXLEfYEJmmb1Nb04Xg=", "id"=>"10"}
+ [1m[35mVehicle Load (0.2ms)[0m SELECT "vehicles".* FROM "vehicles" WHERE "vehicles"."id" = ? LIMIT 1 [["id", "10"]]
+ [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ [1m[35m (1.8ms)[0m SELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT "vehicles".* FROM "vehicles" WHERE "vehicles"."id" = ? LIMIT 1[0m [["id", "10"]]
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.9ms)[0m [1mDELETE FROM "vehicles" WHERE "vehicles"."id" = ?[0m [["id", 10]]
+ [1m[35m (28.9ms)[0m commit transaction
+Redirected to http://0.0.0.0:3000/vehicles
+Completed 302 Found in 53.7ms (ActiveRecord: 32.1ms)
+
+
+Started GET "/vehicles" for 127.0.0.1 at 2013-12-15 12:28:33 +0100
+Processing by VehiclesController#index as HTML
+ [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))
+ [1m[36mVehicle Load (0.2ms)[0m [1mSELECT "vehicles".* FROM "vehicles" [0m
+ [1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ Rendered vehicles/index.html.erb within layouts/application (4.0ms)
+Completed 200 OK in 47.1ms (Views: 22.4ms | ActiveRecord: 0.7ms)
+
+
+Started DELETE "/vehicles/11" for 127.0.0.1 at 2013-12-15 12:28:34 +0100
+Processing by VehiclesController#destroy as HTML
+ Parameters: {"authenticity_token"=>"OjUeyVL1IKyXzWflX/9iR1PmDgXLEfYEJmmb1Nb04Xg=", "id"=>"11"}
+ [1m[36mVehicle Load (1.5ms)[0m [1mSELECT "vehicles".* FROM "vehicles" WHERE "vehicles"."id" = ? LIMIT 1[0m [["id", "11"]]
+ [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))[0m
+ [1m[35mCACHE (3.7ms)[0m SELECT "vehicles".* FROM "vehicles" WHERE "vehicles"."id" = ? LIMIT 1 [["id", "11"]]
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (1.4ms)[0m DELETE FROM "vehicles" WHERE "vehicles"."id" = ? [["id", 11]]
+ [1m[36m (36.8ms)[0m [1mcommit transaction[0m
+Redirected to http://0.0.0.0:3000/vehicles
+Completed 302 Found in 63.5ms (ActiveRecord: 43.8ms)
+
+
+Started GET "/vehicles" for 127.0.0.1 at 2013-12-15 12:28:34 +0100
+Processing by VehiclesController#index as HTML
+ [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))[0m
+ [1m[35mVehicle Load (0.2ms)[0m SELECT "vehicles".* FROM "vehicles"
+ Rendered vehicles/index.html.erb within layouts/application (0.7ms)
+Completed 200 OK in 73.7ms (Views: 53.7ms | ActiveRecord: 0.6ms)
+
+
+Started GET "/vehicles/new" for 127.0.0.1 at 2013-12-15 12:28:37 +0100
+Processing by VehiclesController#new as HTML
+ [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))
+------------
+#<User:0x000000051da1f0>
+ [1m[36mProperty Load (0.2ms)[0m [1mSELECT "properties".* FROM "properties" [0m
+ Rendered vehicles/_form.html.erb (63.8ms)
+ Rendered vehicles/new.html.erb within layouts/application (65.4ms)
+Completed 200 OK in 97.4ms (Views: 81.6ms | ActiveRecord: 0.7ms)
+Connecting to database specified by database.yml
+
+
+Started GET "/vehicles/new" for 127.0.0.1 at 2013-12-15 12:30:18 +0100
+Processing by VehiclesController#new as HTML
+ [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))
+------------
+#<User:0x00000002df1d38>
+ [1m[36mProperty Load (0.2ms)[0m [1mSELECT "properties".* FROM "properties" [0m
+ Rendered vehicles/_form.html.erb (25.1ms)
+ Rendered vehicles/new.html.erb within layouts/application (77.2ms)
+Completed 200 OK in 606.0ms (Views: 231.6ms | ActiveRecord: 4.7ms)
+
+
+Started POST "/vehicles" for 127.0.0.1 at 2013-12-15 12:30:28 +0100
+Processing by VehiclesController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"OjUeyVL1IKyXzWflX/9iR1PmDgXLEfYEJmmb1Nb04Xg=", "vehicle"=>{"manufacturer"=>"Skoda", "subtype"=>"Fabia", "year"=>"2000", "color"=>"Silver", "id"=>"2"}, "commit"=>"Create Vehicle"}
+ [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ [1m[36m (1.5ms)[0m [1mSELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))[0m
+{"utf8"=>"✓", "authenticity_token"=>"OjUeyVL1IKyXzWflX/9iR1PmDgXLEfYEJmmb1Nb04Xg=", "vehicle"=>{"manufacturer"=>"Skoda", "subtype"=>"Fabia", "year"=>"2000", "color"=>"Silver", "id"=>"2"}, "commit"=>"Create Vehicle", "action"=>"create", "controller"=>"vehicles"}
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (4.6ms)[0m [1mINSERT INTO "vehicles" ("color", "created_at", "manufacturer", "subtype", "updated_at", "user", "user_id", "year") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["color", "Silver"], ["created_at", Sun, 15 Dec 2013 11:30:28 UTC +00:00], ["manufacturer", "Skoda"], ["subtype", "Fabia"], ["updated_at", Sun, 15 Dec 2013 11:30:28 UTC +00:00], ["user", nil], ["user_id", 1], ["year", 2000]]
+ [1m[35m (28.7ms)[0m commit transaction
+Redirected to http://0.0.0.0:3000/vehicles/12
+Completed 302 Found in 60.5ms (ActiveRecord: 35.1ms)
+
+
+Started GET "/vehicles/12" for 127.0.0.1 at 2013-12-15 12:30:28 +0100
+Processing by VehiclesController#show as HTML
+ Parameters: {"id"=>"12"}
+ [1m[36mVehicle Load (1.0ms)[0m [1mSELECT "vehicles".* FROM "vehicles" WHERE "vehicles"."id" = ? LIMIT 1[0m [["id", "12"]]
+ [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT "vehicles".* FROM "vehicles" WHERE "vehicles"."id" = ? LIMIT 1 [["id", "12"]]
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ [1m[35mProperty Load (0.5ms)[0m SELECT "properties".* FROM "properties" WHERE "properties"."vehicle_id" = 12 LIMIT 1
+SQLite3::SQLException: no such column: properties.vehicle_id: SELECT "properties".* FROM "properties" WHERE "properties"."vehicle_id" = 12 LIMIT 1
+ Rendered vehicles/show.html.erb within layouts/application (90.4ms)
+Completed 500 Internal Server Error in 109.4ms
+
+ActiveRecord::StatementInvalid - SQLite3::SQLException: no such column: properties.vehicle_id: SELECT "properties".* FROM "properties" WHERE "properties"."vehicle_id" = 12 LIMIT 1:
+ sqlite3 (1.3.8) lib/sqlite3/database.rb:91:in `initialize'
+ sqlite3 (1.3.8) lib/sqlite3/database.rb:91:in `new'
+ sqlite3 (1.3.8) lib/sqlite3/database.rb:91:in `prepare'
+ activerecord (3.2.15) lib/active_record/connection_adapters/sqlite_adapter.rb:246:in `block in exec_query'
+ activerecord (3.2.15) lib/active_record/connection_adapters/abstract_adapter.rb:280:in `block in log'
+ activesupport (3.2.15) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
+ activerecord (3.2.15) lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log'
+ activerecord (3.2.15) lib/active_record/connection_adapters/sqlite_adapter.rb:242:in `exec_query'
+ activerecord (3.2.15) lib/active_record/connection_adapters/sqlite_adapter.rb:467:in `select'
+ activerecord (3.2.15) lib/active_record/connection_adapters/abstract/database_statements.rb:18:in `select_all'
+ activerecord (3.2.15) lib/active_record/connection_adapters/abstract/query_cache.rb:61:in `block in select_all'
+ activerecord (3.2.15) lib/active_record/connection_adapters/abstract/query_cache.rb:75:in `cache_sql'
+ activerecord (3.2.15) lib/active_record/connection_adapters/abstract/query_cache.rb:61:in `select_all'
+ activerecord (3.2.15) lib/active_record/querying.rb:38:in `block in find_by_sql'
+ activerecord (3.2.15) lib/active_record/explain.rb:41:in `logging_query_plan'
+ activerecord (3.2.15) lib/active_record/querying.rb:37:in `find_by_sql'
+ activerecord (3.2.15) lib/active_record/relation.rb:171:in `exec_queries'
+ activerecord (3.2.15) lib/active_record/relation.rb:160:in `block in to_a'
+ activerecord (3.2.15) lib/active_record/explain.rb:34:in `logging_query_plan'
+ activerecord (3.2.15) lib/active_record/relation.rb:159:in `to_a'
+ activerecord (3.2.15) lib/active_record/relation/finder_methods.rb:381:in `find_first'
+ activerecord (3.2.15) lib/active_record/relation/finder_methods.rb:122:in `first'
+ activerecord (3.2.15) lib/active_record/associations/singular_association.rb:42:in `find_target'
+ activerecord (3.2.15) lib/active_record/associations/association.rb:151:in `load_target'
+ activerecord (3.2.15) lib/active_record/associations/association.rb:56:in `reload'
+ activerecord (3.2.15) lib/active_record/associations/singular_association.rb:9:in `reader'
+ activerecord (3.2.15) lib/active_record/associations/builder/association.rb:44:in `block in define_readers'
+ app/views/vehicles/show.html.erb:30:in `_app_views_vehicles_show_html_erb__2386703444456091837_28552240'
+ actionpack (3.2.15) lib/action_view/template.rb:145:in `block in render'
+ activesupport (3.2.15) lib/active_support/notifications.rb:125:in `instrument'
+ actionpack (3.2.15) lib/action_view/template.rb:143:in `render'
+ actionpack (3.2.15) lib/action_view/renderer/template_renderer.rb:47:in `block (2 levels) in render_template'
+ actionpack (3.2.15) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
+ activesupport (3.2.15) lib/active_support/notifications.rb:123:in `block in instrument'
+ activesupport (3.2.15) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
+ activesupport (3.2.15) lib/active_support/notifications.rb:123:in `instrument'
+ actionpack (3.2.15) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
+ actionpack (3.2.15) lib/action_view/renderer/template_renderer.rb:46:in `block in render_template'
+ actionpack (3.2.15) lib/action_view/renderer/template_renderer.rb:54:in `render_with_layout'
+ actionpack (3.2.15) lib/action_view/renderer/template_renderer.rb:45:in `render_template'
+ actionpack (3.2.15) lib/action_view/renderer/template_renderer.rb:18:in `render'
+ actionpack (3.2.15) lib/action_view/renderer/renderer.rb:36:in `render_template'
+ actionpack (3.2.15) lib/action_view/renderer/renderer.rb:17:in `render'
+ actionpack (3.2.15) lib/abstract_controller/rendering.rb:110:in `_render_template'
+ actionpack (3.2.15) lib/action_controller/metal/streaming.rb:225:in `_render_template'
+ actionpack (3.2.15) lib/abstract_controller/rendering.rb:103:in `render_to_body'
+ actionpack (3.2.15) lib/action_controller/metal/renderers.rb:28:in `render_to_body'
+ actionpack (3.2.15) lib/action_controller/metal/compatibility.rb:50:in `render_to_body'
+ actionpack (3.2.15) lib/abstract_controller/rendering.rb:88:in `render'
+ actionpack (3.2.15) lib/action_controller/metal/rendering.rb:16:in `render'
+ actionpack (3.2.15) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render'
+ activesupport (3.2.15) lib/active_support/core_ext/benchmark.rb:5:in `block in ms'
+ /root/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/benchmark.rb:295:in `realtime'
+ activesupport (3.2.15) lib/active_support/core_ext/benchmark.rb:5:in `ms'
+ actionpack (3.2.15) lib/action_controller/metal/instrumentation.rb:40:in `block in render'
+ actionpack (3.2.15) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime'
+ activerecord (3.2.15) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime'
+ actionpack (3.2.15) lib/action_controller/metal/instrumentation.rb:39:in `render'
+ actionpack (3.2.15) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
+ actionpack (3.2.15) lib/action_controller/metal/mime_responds.rb:196:in `respond_to'
+ app/controllers/vehicles_controller.rb:21:in `show'
+ actionpack (3.2.15) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
+ actionpack (3.2.15) lib/abstract_controller/base.rb:167:in `process_action'
+ actionpack (3.2.15) lib/action_controller/metal/rendering.rb:10:in `process_action'
+ actionpack (3.2.15) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:425:in `_run__1711178373525184638__process_action__1725381708194927530__callbacks'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:405:in `__run_callback'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:81:in `run_callbacks'
+ actionpack (3.2.15) lib/abstract_controller/callbacks.rb:17:in `process_action'
+ actionpack (3.2.15) lib/action_controller/metal/rescue.rb:29:in `process_action'
+ actionpack (3.2.15) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
+ activesupport (3.2.15) lib/active_support/notifications.rb:123:in `block in instrument'
+ activesupport (3.2.15) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
+ activesupport (3.2.15) lib/active_support/notifications.rb:123:in `instrument'
+ actionpack (3.2.15) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
+ actionpack (3.2.15) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
+ activerecord (3.2.15) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
+ actionpack (3.2.15) lib/abstract_controller/base.rb:121:in `process'
+ actionpack (3.2.15) lib/abstract_controller/rendering.rb:45:in `process'
+ actionpack (3.2.15) lib/action_controller/metal.rb:203:in `dispatch'
+ actionpack (3.2.15) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
+ actionpack (3.2.15) lib/action_controller/metal.rb:246:in `block in action'
+ actionpack (3.2.15) lib/action_dispatch/routing/route_set.rb:73:in `call'
+ actionpack (3.2.15) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
+ actionpack (3.2.15) lib/action_dispatch/routing/route_set.rb:36:in `call'
+ journey (1.0.4) lib/journey/router.rb:68:in `block in call'
+ journey (1.0.4) lib/journey/router.rb:56:in `each'
+ journey (1.0.4) lib/journey/router.rb:56:in `call'
+ actionpack (3.2.15) lib/action_dispatch/routing/route_set.rb:608:in `call'
+ warden (1.2.3) lib/warden/manager.rb:35:in `block in call'
+ warden (1.2.3) lib/warden/manager.rb:34:in `catch'
+ warden (1.2.3) lib/warden/manager.rb:34:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
+ rack (1.4.5) lib/rack/etag.rb:23:in `call'
+ rack (1.4.5) lib/rack/conditionalget.rb:25:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/head.rb:14:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/flash.rb:242:in `call'
+ rack (1.4.5) lib/rack/session/abstract/id.rb:210:in `context'
+ rack (1.4.5) lib/rack/session/abstract/id.rb:205:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/cookies.rb:341:in `call'
+ activerecord (3.2.15) lib/active_record/query_cache.rb:64:in `call'
+ activerecord (3.2.15) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:405:in `_run__3629661919442928652__call__2708177118949331700__callbacks'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:405:in `__run_callback'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:81:in `run_callbacks'
+ actionpack (3.2.15) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/reloader.rb:65:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
+ better_errors (1.0.1) lib/better_errors/middleware.rb:84:in `protected_app_call'
+ better_errors (1.0.1) lib/better_errors/middleware.rb:79:in `better_errors_call'
+ better_errors (1.0.1) lib/better_errors/middleware.rb:56:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
+ railties (3.2.15) lib/rails/rack/logger.rb:32:in `call_app'
+ railties (3.2.15) lib/rails/rack/logger.rb:16:in `block in call'
+ activesupport (3.2.15) lib/active_support/tagged_logging.rb:22:in `tagged'
+ railties (3.2.15) lib/rails/rack/logger.rb:16:in `call'
+ quiet_assets (1.0.2) lib/quiet_assets.rb:18:in `call_with_quiet_assets'
+ actionpack (3.2.15) lib/action_dispatch/middleware/request_id.rb:22:in `call'
+ rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
+ rack (1.4.5) lib/rack/runtime.rb:17:in `call'
+ activesupport (3.2.15) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
+ rack (1.4.5) lib/rack/lock.rb:15:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/static.rb:63:in `call'
+ railties (3.2.15) lib/rails/engine.rb:484:in `call'
+ railties (3.2.15) lib/rails/application.rb:231:in `call'
+ rack (1.4.5) lib/rack/content_length.rb:14:in `call'
+ railties (3.2.15) lib/rails/rack/log_tailer.rb:17:in `call'
+ thin (1.6.1) lib/thin/connection.rb:82:in `block in pre_process'
+ thin (1.6.1) lib/thin/connection.rb:80:in `catch'
+ thin (1.6.1) lib/thin/connection.rb:80:in `pre_process'
+ thin (1.6.1) lib/thin/connection.rb:55:in `process'
+ thin (1.6.1) lib/thin/connection.rb:41:in `receive_data'
+ eventmachine (1.0.3) lib/eventmachine.rb:187:in `run_machine'
+ eventmachine (1.0.3) lib/eventmachine.rb:187:in `run'
+ thin (1.6.1) lib/thin/backends/base.rb:73:in `start'
+ thin (1.6.1) lib/thin/server.rb:162:in `start'
+ rack (1.4.5) lib/rack/handler/thin.rb:13:in `run'
+ rack (1.4.5) lib/rack/server.rb:268:in `start'
+ railties (3.2.15) lib/rails/commands/server.rb:70:in `start'
+ railties (3.2.15) lib/rails/commands.rb:55:in `block in <top (required)>'
+ railties (3.2.15) lib/rails/commands.rb:50:in `tap'
+ railties (3.2.15) lib/rails/commands.rb:50:in `<top (required)>'
+ script/rails:6:in `require'
+ script/rails:6:in `<main>'
+
+
+
+Started POST "/__better_errors/7292640/variables" for 127.0.0.1 at 2013-12-15 12:30:28 +0100
+
+
+Started POST "/__better_errors/7292640/variables" for 127.0.0.1 at 2013-12-15 12:30:52 +0100
+Connecting to database specified by database.yml
+
+
+Started POST "/vehicles" for 127.0.0.1 at 2013-12-15 12:45:37 +0100
+Processing by VehiclesController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"OjUeyVL1IKyXzWflX/9iR1PmDgXLEfYEJmmb1Nb04Xg=", "vehicle"=>{"manufacturer"=>"Skoda", "subtype"=>"Fabia", "year"=>"2000", "color"=>"Silver", "id"=>"2"}, "commit"=>"Create Vehicle"}
+ [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))
+{"utf8"=>"✓", "authenticity_token"=>"OjUeyVL1IKyXzWflX/9iR1PmDgXLEfYEJmmb1Nb04Xg=", "vehicle"=>{"manufacturer"=>"Skoda", "subtype"=>"Fabia", "year"=>"2000", "color"=>"Silver", "id"=>"2"}, "commit"=>"Create Vehicle", "action"=>"create", "controller"=>"vehicles"}
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (3.7ms)[0m INSERT INTO "vehicles" ("color", "created_at", "manufacturer", "subtype", "updated_at", "user", "user_id", "year") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["color", "Silver"], ["created_at", Sun, 15 Dec 2013 11:45:38 UTC +00:00], ["manufacturer", "Skoda"], ["subtype", "Fabia"], ["updated_at", Sun, 15 Dec 2013 11:45:38 UTC +00:00], ["user", nil], ["user_id", 1], ["year", 2000]]
+ [1m[36m (27.1ms)[0m [1mcommit transaction[0m
+Redirected to http://0.0.0.0:3000/vehicles/13
+Completed 302 Found in 442.6ms (ActiveRecord: 35.8ms)
+
+
+Started GET "/vehicles/13" for 127.0.0.1 at 2013-12-15 12:45:38 +0100
+Processing by VehiclesController#show as HTML
+ Parameters: {"id"=>"13"}
+ [1m[35mVehicle Load (0.3ms)[0m SELECT "vehicles".* FROM "vehicles" WHERE "vehicles"."id" = ? LIMIT 1 [["id", "13"]]
+ [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT "vehicles".* FROM "vehicles" WHERE "vehicles"."id" = ? LIMIT 1[0m [["id", "13"]]
+ [1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ [1m[36mProperty Load (1.8ms)[0m [1mSELECT "properties".* FROM "properties" WHERE "properties"."vehicle_id" = 13 LIMIT 1[0m
+SQLite3::SQLException: no such column: properties.vehicle_id: SELECT "properties".* FROM "properties" WHERE "properties"."vehicle_id" = 13 LIMIT 1
+ Rendered vehicles/show.html.erb within layouts/application (143.7ms)
+Completed 500 Internal Server Error in 208.4ms
+
+ActiveRecord::StatementInvalid - SQLite3::SQLException: no such column: properties.vehicle_id: SELECT "properties".* FROM "properties" WHERE "properties"."vehicle_id" = 13 LIMIT 1:
+ activerecord (3.2.15) lib/active_record/connection_adapters/abstract_adapter.rb:285:in `rescue in log'
+ activerecord (3.2.15) lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log'
+ activerecord (3.2.15) lib/active_record/connection_adapters/sqlite_adapter.rb:242:in `exec_query'
+ activerecord (3.2.15) lib/active_record/connection_adapters/sqlite_adapter.rb:467:in `select'
+ activerecord (3.2.15) lib/active_record/connection_adapters/abstract/database_statements.rb:18:in `select_all'
+ activerecord (3.2.15) lib/active_record/connection_adapters/abstract/query_cache.rb:61:in `block in select_all'
+ activerecord (3.2.15) lib/active_record/connection_adapters/abstract/query_cache.rb:75:in `cache_sql'
+ activerecord (3.2.15) lib/active_record/connection_adapters/abstract/query_cache.rb:61:in `select_all'
+ activerecord (3.2.15) lib/active_record/querying.rb:38:in `block in find_by_sql'
+ activerecord (3.2.15) lib/active_record/explain.rb:41:in `logging_query_plan'
+ activerecord (3.2.15) lib/active_record/querying.rb:37:in `find_by_sql'
+ activerecord (3.2.15) lib/active_record/relation.rb:171:in `exec_queries'
+ activerecord (3.2.15) lib/active_record/relation.rb:160:in `block in to_a'
+ activerecord (3.2.15) lib/active_record/explain.rb:34:in `logging_query_plan'
+ activerecord (3.2.15) lib/active_record/relation.rb:159:in `to_a'
+ activerecord (3.2.15) lib/active_record/relation/finder_methods.rb:381:in `find_first'
+ activerecord (3.2.15) lib/active_record/relation/finder_methods.rb:122:in `first'
+ activerecord (3.2.15) lib/active_record/associations/singular_association.rb:42:in `find_target'
+ activerecord (3.2.15) lib/active_record/associations/association.rb:151:in `load_target'
+ activerecord (3.2.15) lib/active_record/associations/association.rb:56:in `reload'
+ activerecord (3.2.15) lib/active_record/associations/singular_association.rb:9:in `reader'
+ activerecord (3.2.15) lib/active_record/associations/builder/association.rb:44:in `block in define_readers'
+ app/views/vehicles/show.html.erb:30:in `_app_views_vehicles_show_html_erb___2780849537953512925_37711980'
+ actionpack (3.2.15) lib/action_view/template.rb:145:in `block in render'
+ activesupport (3.2.15) lib/active_support/notifications.rb:125:in `instrument'
+ actionpack (3.2.15) lib/action_view/template.rb:143:in `render'
+ actionpack (3.2.15) lib/action_view/renderer/template_renderer.rb:47:in `block (2 levels) in render_template'
+ actionpack (3.2.15) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
+ activesupport (3.2.15) lib/active_support/notifications.rb:123:in `block in instrument'
+ activesupport (3.2.15) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
+ activesupport (3.2.15) lib/active_support/notifications.rb:123:in `instrument'
+ actionpack (3.2.15) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
+ actionpack (3.2.15) lib/action_view/renderer/template_renderer.rb:46:in `block in render_template'
+ actionpack (3.2.15) lib/action_view/renderer/template_renderer.rb:54:in `render_with_layout'
+ actionpack (3.2.15) lib/action_view/renderer/template_renderer.rb:45:in `render_template'
+ actionpack (3.2.15) lib/action_view/renderer/template_renderer.rb:18:in `render'
+ actionpack (3.2.15) lib/action_view/renderer/renderer.rb:36:in `render_template'
+ actionpack (3.2.15) lib/action_view/renderer/renderer.rb:17:in `render'
+ actionpack (3.2.15) lib/abstract_controller/rendering.rb:110:in `_render_template'
+ actionpack (3.2.15) lib/action_controller/metal/streaming.rb:225:in `_render_template'
+ actionpack (3.2.15) lib/abstract_controller/rendering.rb:103:in `render_to_body'
+ actionpack (3.2.15) lib/action_controller/metal/renderers.rb:28:in `render_to_body'
+ actionpack (3.2.15) lib/action_controller/metal/compatibility.rb:50:in `render_to_body'
+ actionpack (3.2.15) lib/abstract_controller/rendering.rb:88:in `render'
+ actionpack (3.2.15) lib/action_controller/metal/rendering.rb:16:in `render'
+ actionpack (3.2.15) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render'
+ activesupport (3.2.15) lib/active_support/core_ext/benchmark.rb:5:in `block in ms'
+ /root/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/benchmark.rb:295:in `realtime'
+ activesupport (3.2.15) lib/active_support/core_ext/benchmark.rb:5:in `ms'
+ actionpack (3.2.15) lib/action_controller/metal/instrumentation.rb:40:in `block in render'
+ actionpack (3.2.15) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime'
+ activerecord (3.2.15) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime'
+ actionpack (3.2.15) lib/action_controller/metal/instrumentation.rb:39:in `render'
+ actionpack (3.2.15) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
+ actionpack (3.2.15) lib/action_controller/metal/mime_responds.rb:196:in `respond_to'
+ app/controllers/vehicles_controller.rb:21:in `show'
+ actionpack (3.2.15) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
+ actionpack (3.2.15) lib/abstract_controller/base.rb:167:in `process_action'
+ actionpack (3.2.15) lib/action_controller/metal/rendering.rb:10:in `process_action'
+ actionpack (3.2.15) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:425:in `_run__4042227401405009180__process_action__1506497044237690341__callbacks'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:405:in `__run_callback'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:81:in `run_callbacks'
+ actionpack (3.2.15) lib/abstract_controller/callbacks.rb:17:in `process_action'
+ actionpack (3.2.15) lib/action_controller/metal/rescue.rb:29:in `process_action'
+ actionpack (3.2.15) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
+ activesupport (3.2.15) lib/active_support/notifications.rb:123:in `block in instrument'
+ activesupport (3.2.15) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
+ activesupport (3.2.15) lib/active_support/notifications.rb:123:in `instrument'
+ actionpack (3.2.15) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
+ actionpack (3.2.15) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
+ activerecord (3.2.15) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
+ actionpack (3.2.15) lib/abstract_controller/base.rb:121:in `process'
+ actionpack (3.2.15) lib/abstract_controller/rendering.rb:45:in `process'
+ actionpack (3.2.15) lib/action_controller/metal.rb:203:in `dispatch'
+ actionpack (3.2.15) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
+ actionpack (3.2.15) lib/action_controller/metal.rb:246:in `block in action'
+ actionpack (3.2.15) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
+ actionpack (3.2.15) lib/action_dispatch/routing/route_set.rb:36:in `call'
+ journey (1.0.4) lib/journey/router.rb:68:in `block in call'
+ journey (1.0.4) lib/journey/router.rb:56:in `call'
+ actionpack (3.2.15) lib/action_dispatch/routing/route_set.rb:608:in `call'
+ warden (1.2.3) lib/warden/manager.rb:35:in `block in call'
+ warden (1.2.3) lib/warden/manager.rb:34:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
+ rack (1.4.5) lib/rack/etag.rb:23:in `call'
+ rack (1.4.5) lib/rack/conditionalget.rb:25:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/head.rb:14:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/flash.rb:242:in `call'
+ rack (1.4.5) lib/rack/session/abstract/id.rb:210:in `context'
+ rack (1.4.5) lib/rack/session/abstract/id.rb:205:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/cookies.rb:341:in `call'
+ activerecord (3.2.15) lib/active_record/query_cache.rb:64:in `call'
+ activerecord (3.2.15) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:405:in `_run__2140433795895027808__call__399001893310231477__callbacks'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:405:in `__run_callback'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:81:in `run_callbacks'
+ actionpack (3.2.15) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/reloader.rb:65:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
+ better_errors (1.0.1) lib/better_errors/middleware.rb:84:in `protected_app_call'
+ better_errors (1.0.1) lib/better_errors/middleware.rb:79:in `better_errors_call'
+ better_errors (1.0.1) lib/better_errors/middleware.rb:56:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
+ railties (3.2.15) lib/rails/rack/logger.rb:32:in `call_app'
+ railties (3.2.15) lib/rails/rack/logger.rb:16:in `block in call'
+ activesupport (3.2.15) lib/active_support/tagged_logging.rb:22:in `tagged'
+ railties (3.2.15) lib/rails/rack/logger.rb:16:in `call'
+ quiet_assets (1.0.2) lib/quiet_assets.rb:18:in `call_with_quiet_assets'
+ actionpack (3.2.15) lib/action_dispatch/middleware/request_id.rb:22:in `call'
+ rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
+ rack (1.4.5) lib/rack/runtime.rb:17:in `call'
+ activesupport (3.2.15) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
+ rack (1.4.5) lib/rack/lock.rb:15:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/static.rb:63:in `call'
+ railties (3.2.15) lib/rails/engine.rb:484:in `call'
+ railties (3.2.15) lib/rails/application.rb:231:in `call'
+ rack (1.4.5) lib/rack/content_length.rb:14:in `call'
+ railties (3.2.15) lib/rails/rack/log_tailer.rb:17:in `call'
+ thin (1.6.1) lib/thin/connection.rb:82:in `block in pre_process'
+ thin (1.6.1) lib/thin/connection.rb:80:in `pre_process'
+ thin (1.6.1) lib/thin/connection.rb:55:in `process'
+ thin (1.6.1) lib/thin/connection.rb:41:in `receive_data'
+ eventmachine (1.0.3) lib/eventmachine.rb:187:in `run'
+ thin (1.6.1) lib/thin/backends/base.rb:73:in `start'
+ thin (1.6.1) lib/thin/server.rb:162:in `start'
+ rack (1.4.5) lib/rack/handler/thin.rb:13:in `run'
+ rack (1.4.5) lib/rack/server.rb:268:in `start'
+ railties (3.2.15) lib/rails/commands/server.rb:70:in `start'
+ railties (3.2.15) lib/rails/commands.rb:55:in `block in <top (required)>'
+ railties (3.2.15) lib/rails/commands.rb:50:in `<top (required)>'
+ script/rails:6:in `<main>'
+ script/rails:0:in `<main>'
+
+
+
+Started POST "/__better_errors/19829680/variables" for 127.0.0.1 at 2013-12-15 12:45:38 +0100
+
+
+Started POST "/__better_errors/19829680/eval" for 127.0.0.1 at 2013-12-15 12:45:46 +0100
+
+
+Started POST "/__better_errors/19829680/eval" for 127.0.0.1 at 2013-12-15 12:46:16 +0100
+ [1m[35mProperty Load (0.5ms)[0m SELECT "properties".* FROM "properties" WHERE "properties"."vehicle_id" = 13 LIMIT 1
+SQLite3::SQLException: no such column: properties.vehicle_id: SELECT "properties".* FROM "properties" WHERE "properties"."vehicle_id" = 13 LIMIT 1
+Connecting to database specified by database.yml
+Connecting to database specified by database.yml
+Connecting to database specified by database.yml
+Connecting to database specified by database.yml
+Connecting to database specified by database.yml
+ [1m[36m (1.8ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
+Migrating to CreateVehicles (20131212193158)
+Migrating to CreateProperties (20131212193220)
+Migrating to DeviseCreateUsers (20131212194432)
+Migrating to RolifyCreateRoles (20131212205430)
+Migrating to CreatePropertiesVehiclesJoinTable (20131215115333)
+ [1m[35m (0.1ms)[0m select sqlite_version(*)
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.7ms)[0m CREATE TABLE "properties_vehicles" ("property_id" integer, "vehicle_id" integer)
+ [1m[36m (0.2ms)[0m [1mCREATE INDEX "index_properties_vehicles_on_property_id_and_vehicle_id" ON "properties_vehicles" ("property_id", "vehicle_id")[0m
+ [1m[35m (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20131215115333')
+ [1m[36m (34.9ms)[0m [1mcommit transaction[0m
+ [1m[35m (0.2ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
+Connecting to database specified by database.yml
+
+
+Started GET "/vehicles/new" for 127.0.0.1 at 2013-12-15 12:56:53 +0100
+Processing by VehiclesController#new as HTML
+ [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))
+------------
+#<User:0x00000003239e68>
+ [1m[36mProperty Load (0.2ms)[0m [1mSELECT "properties".* FROM "properties" [0m
+ Rendered vehicles/_form.html.erb (71.2ms)
+ Rendered vehicles/new.html.erb within layouts/application (88.6ms)
+Completed 200 OK in 645.4ms (Views: 232.7ms | ActiveRecord: 5.5ms)
+
+
+Started POST "/vehicles" for 127.0.0.1 at 2013-12-15 12:57:01 +0100
+Processing by VehiclesController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"OjUeyVL1IKyXzWflX/9iR1PmDgXLEfYEJmmb1Nb04Xg=", "vehicle"=>{"manufacturer"=>"Skoda", "subtype"=>"Fabia", "year"=>"2000", "color"=>"Silver", "id"=>"1"}, "commit"=>"Create Vehicle"}
+ [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))[0m
+{"utf8"=>"✓", "authenticity_token"=>"OjUeyVL1IKyXzWflX/9iR1PmDgXLEfYEJmmb1Nb04Xg=", "vehicle"=>{"manufacturer"=>"Skoda", "subtype"=>"Fabia", "year"=>"2000", "color"=>"Silver", "id"=>"1"}, "commit"=>"Create Vehicle", "action"=>"create", "controller"=>"vehicles"}
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (60.7ms)[0m [1mINSERT INTO "vehicles" ("color", "created_at", "manufacturer", "subtype", "updated_at", "user", "user_id", "year") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["color", "Silver"], ["created_at", Sun, 15 Dec 2013 11:57:02 UTC +00:00], ["manufacturer", "Skoda"], ["subtype", "Fabia"], ["updated_at", Sun, 15 Dec 2013 11:57:02 UTC +00:00], ["user", nil], ["user_id", 1], ["year", 2000]]
+ [1m[35m (25.3ms)[0m commit transaction
+Redirected to http://0.0.0.0:3000/vehicles/14
+Completed 302 Found in 112.6ms (ActiveRecord: 86.6ms)
+
+
+Started GET "/vehicles/14" for 127.0.0.1 at 2013-12-15 12:57:02 +0100
+Processing by VehiclesController#show as HTML
+ Parameters: {"id"=>"14"}
+ [1m[36mVehicle Load (0.3ms)[0m [1mSELECT "vehicles".* FROM "vehicles" WHERE "vehicles"."id" = ? LIMIT 1[0m [["id", "14"]]
+ [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ [1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT "vehicles".* FROM "vehicles" WHERE "vehicles"."id" = ? LIMIT 1 [["id", "14"]]
+ [1m[36mCACHE (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ Rendered vehicles/show.html.erb within layouts/application (69.9ms)
+Completed 500 Internal Server Error in 88.1ms
+
+NoMethodError - undefined method `property' for #<Vehicle:0x0000000289bc58>:
+ activemodel (3.2.15) lib/active_model/attribute_methods.rb:407:in `method_missing'
+ activerecord (3.2.15) lib/active_record/attribute_methods.rb:149:in `method_missing'
+ app/views/vehicles/show.html.erb:30:in `_app_views_vehicles_show_html_erb___835383221955560962_23578280'
+ actionpack (3.2.15) lib/action_view/template.rb:145:in `block in render'
+ activesupport (3.2.15) lib/active_support/notifications.rb:125:in `instrument'
+ actionpack (3.2.15) lib/action_view/template.rb:143:in `render'
+ actionpack (3.2.15) lib/action_view/renderer/template_renderer.rb:47:in `block (2 levels) in render_template'
+ actionpack (3.2.15) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
+ activesupport (3.2.15) lib/active_support/notifications.rb:123:in `block in instrument'
+ activesupport (3.2.15) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
+ activesupport (3.2.15) lib/active_support/notifications.rb:123:in `instrument'
+ actionpack (3.2.15) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
+ actionpack (3.2.15) lib/action_view/renderer/template_renderer.rb:46:in `block in render_template'
+ actionpack (3.2.15) lib/action_view/renderer/template_renderer.rb:54:in `render_with_layout'
+ actionpack (3.2.15) lib/action_view/renderer/template_renderer.rb:45:in `render_template'
+ actionpack (3.2.15) lib/action_view/renderer/template_renderer.rb:18:in `render'
+ actionpack (3.2.15) lib/action_view/renderer/renderer.rb:36:in `render_template'
+ actionpack (3.2.15) lib/action_view/renderer/renderer.rb:17:in `render'
+ actionpack (3.2.15) lib/abstract_controller/rendering.rb:110:in `_render_template'
+ actionpack (3.2.15) lib/action_controller/metal/streaming.rb:225:in `_render_template'
+ actionpack (3.2.15) lib/abstract_controller/rendering.rb:103:in `render_to_body'
+ actionpack (3.2.15) lib/action_controller/metal/renderers.rb:28:in `render_to_body'
+ actionpack (3.2.15) lib/action_controller/metal/compatibility.rb:50:in `render_to_body'
+ actionpack (3.2.15) lib/abstract_controller/rendering.rb:88:in `render'
+ actionpack (3.2.15) lib/action_controller/metal/rendering.rb:16:in `render'
+ actionpack (3.2.15) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render'
+ activesupport (3.2.15) lib/active_support/core_ext/benchmark.rb:5:in `block in ms'
+ /root/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/benchmark.rb:295:in `realtime'
+ activesupport (3.2.15) lib/active_support/core_ext/benchmark.rb:5:in `ms'
+ actionpack (3.2.15) lib/action_controller/metal/instrumentation.rb:40:in `block in render'
+ actionpack (3.2.15) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime'
+ activerecord (3.2.15) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime'
+ actionpack (3.2.15) lib/action_controller/metal/instrumentation.rb:39:in `render'
+ actionpack (3.2.15) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
+ actionpack (3.2.15) lib/action_controller/metal/mime_responds.rb:196:in `respond_to'
+ app/controllers/vehicles_controller.rb:21:in `show'
+ actionpack (3.2.15) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
+ actionpack (3.2.15) lib/abstract_controller/base.rb:167:in `process_action'
+ actionpack (3.2.15) lib/action_controller/metal/rendering.rb:10:in `process_action'
+ actionpack (3.2.15) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:425:in `_run__2966998893705821021__process_action__877562438002914068__callbacks'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:405:in `__run_callback'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:81:in `run_callbacks'
+ actionpack (3.2.15) lib/abstract_controller/callbacks.rb:17:in `process_action'
+ actionpack (3.2.15) lib/action_controller/metal/rescue.rb:29:in `process_action'
+ actionpack (3.2.15) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
+ activesupport (3.2.15) lib/active_support/notifications.rb:123:in `block in instrument'
+ activesupport (3.2.15) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
+ activesupport (3.2.15) lib/active_support/notifications.rb:123:in `instrument'
+ actionpack (3.2.15) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
+ actionpack (3.2.15) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
+ activerecord (3.2.15) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
+ actionpack (3.2.15) lib/abstract_controller/base.rb:121:in `process'
+ actionpack (3.2.15) lib/abstract_controller/rendering.rb:45:in `process'
+ actionpack (3.2.15) lib/action_controller/metal.rb:203:in `dispatch'
+ actionpack (3.2.15) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
+ actionpack (3.2.15) lib/action_controller/metal.rb:246:in `block in action'
+ actionpack (3.2.15) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
+ actionpack (3.2.15) lib/action_dispatch/routing/route_set.rb:36:in `call'
+ journey (1.0.4) lib/journey/router.rb:68:in `block in call'
+ journey (1.0.4) lib/journey/router.rb:56:in `call'
+ actionpack (3.2.15) lib/action_dispatch/routing/route_set.rb:608:in `call'
+ warden (1.2.3) lib/warden/manager.rb:35:in `block in call'
+ warden (1.2.3) lib/warden/manager.rb:34:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
+ rack (1.4.5) lib/rack/etag.rb:23:in `call'
+ rack (1.4.5) lib/rack/conditionalget.rb:25:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/head.rb:14:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/flash.rb:242:in `call'
+ rack (1.4.5) lib/rack/session/abstract/id.rb:210:in `context'
+ rack (1.4.5) lib/rack/session/abstract/id.rb:205:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/cookies.rb:341:in `call'
+ activerecord (3.2.15) lib/active_record/query_cache.rb:64:in `call'
+ activerecord (3.2.15) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:405:in `_run__185646223256115191__call__746831440737217878__callbacks'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:405:in `__run_callback'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:81:in `run_callbacks'
+ actionpack (3.2.15) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/reloader.rb:65:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
+ better_errors (1.0.1) lib/better_errors/middleware.rb:84:in `protected_app_call'
+ better_errors (1.0.1) lib/better_errors/middleware.rb:79:in `better_errors_call'
+ better_errors (1.0.1) lib/better_errors/middleware.rb:56:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
+ railties (3.2.15) lib/rails/rack/logger.rb:32:in `call_app'
+ railties (3.2.15) lib/rails/rack/logger.rb:16:in `block in call'
+ activesupport (3.2.15) lib/active_support/tagged_logging.rb:22:in `tagged'
+ railties (3.2.15) lib/rails/rack/logger.rb:16:in `call'
+ quiet_assets (1.0.2) lib/quiet_assets.rb:18:in `call_with_quiet_assets'
+ actionpack (3.2.15) lib/action_dispatch/middleware/request_id.rb:22:in `call'
+ rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
+ rack (1.4.5) lib/rack/runtime.rb:17:in `call'
+ activesupport (3.2.15) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
+ rack (1.4.5) lib/rack/lock.rb:15:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/static.rb:63:in `call'
+ railties (3.2.15) lib/rails/engine.rb:484:in `call'
+ railties (3.2.15) lib/rails/application.rb:231:in `call'
+ rack (1.4.5) lib/rack/content_length.rb:14:in `call'
+ railties (3.2.15) lib/rails/rack/log_tailer.rb:17:in `call'
+ thin (1.6.1) lib/thin/connection.rb:82:in `block in pre_process'
+ thin (1.6.1) lib/thin/connection.rb:80:in `pre_process'
+ thin (1.6.1) lib/thin/connection.rb:55:in `process'
+ thin (1.6.1) lib/thin/connection.rb:41:in `receive_data'
+ eventmachine (1.0.3) lib/eventmachine.rb:187:in `run'
+ thin (1.6.1) lib/thin/backends/base.rb:73:in `start'
+ thin (1.6.1) lib/thin/server.rb:162:in `start'
+ rack (1.4.5) lib/rack/handler/thin.rb:13:in `run'
+ rack (1.4.5) lib/rack/server.rb:268:in `start'
+ railties (3.2.15) lib/rails/commands/server.rb:70:in `start'
+ railties (3.2.15) lib/rails/commands.rb:55:in `block in <top (required)>'
+ railties (3.2.15) lib/rails/commands.rb:50:in `<top (required)>'
+ script/rails:6:in `<main>'
+ script/rails:0:in `<main>'
+
+
+
+Started POST "/__better_errors/21682940/variables" for 127.0.0.1 at 2013-12-15 12:57:02 +0100
+
+
+Started POST "/__better_errors/21682940/eval" for 127.0.0.1 at 2013-12-15 12:57:10 +0100
+
+
+Started POST "/__better_errors/21682940/eval" for 127.0.0.1 at 2013-12-15 12:57:15 +0100
+
+
+Started POST "/__better_errors/21682940/eval" for 127.0.0.1 at 2013-12-15 12:57:21 +0100
+ [1m[35mProperty Load (0.1ms)[0m SELECT "properties".* FROM "properties" INNER JOIN "properties_vehicles" ON "properties"."id" = "properties_vehicles"."property_id" WHERE "properties_vehicles"."vehicle_id" = 14
+
+
+Started GET "/vehicles" for 127.0.0.1 at 2013-12-15 12:58:01 +0100
+Processing by VehiclesController#index as HTML
+ [1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ [1m[35m (0.4ms)[0m SELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))
+ [1m[36mVehicle Load (0.3ms)[0m [1mSELECT "vehicles".* FROM "vehicles" [0m
+ [1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ Rendered vehicles/index.html.erb within layouts/application (8.6ms)
+Completed 200 OK in 41.4ms (Views: 24.1ms | ActiveRecord: 1.2ms)
+
+
+Started GET "/vehicles/14" for 127.0.0.1 at 2013-12-15 12:58:03 +0100
+Processing by VehiclesController#show as HTML
+ Parameters: {"id"=>"14"}
+ [1m[36mVehicle Load (0.1ms)[0m [1mSELECT "vehicles".* FROM "vehicles" WHERE "vehicles"."id" = ? LIMIT 1[0m [["id", "14"]]
+ [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT "vehicles".* FROM "vehicles" WHERE "vehicles"."id" = ? LIMIT 1 [["id", "14"]]
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ [1m[35mProperty Load (0.2ms)[0m SELECT "properties".* FROM "properties" INNER JOIN "properties_vehicles" ON "properties"."id" = "properties_vehicles"."property_id" WHERE "properties_vehicles"."vehicle_id" = 14
+ Rendered vehicles/show.html.erb within layouts/application (4.1ms)
+Completed 200 OK in 68.4ms (Views: 54.5ms | ActiveRecord: 0.8ms)
+
+
+Started GET "/vehicles" for 127.0.0.1 at 2013-12-15 12:58:10 +0100
+Processing by VehiclesController#index as HTML
+ [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))
+ [1m[36mVehicle Load (0.2ms)[0m [1mSELECT "vehicles".* FROM "vehicles" [0m
+ [1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ Rendered vehicles/index.html.erb within layouts/application (6.5ms)
+Completed 200 OK in 86.8ms (Views: 70.5ms | ActiveRecord: 0.5ms)
+
+
+Started DELETE "/vehicles/12" for 127.0.0.1 at 2013-12-15 12:58:14 +0100
+Processing by VehiclesController#destroy as HTML
+ Parameters: {"authenticity_token"=>"OjUeyVL1IKyXzWflX/9iR1PmDgXLEfYEJmmb1Nb04Xg=", "id"=>"12"}
+ [1m[36mVehicle Load (0.1ms)[0m [1mSELECT "vehicles".* FROM "vehicles" WHERE "vehicles"."id" = ? LIMIT 1[0m [["id", "12"]]
+ [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT "vehicles".* FROM "vehicles" WHERE "vehicles"."id" = ? LIMIT 1 [["id", "12"]]
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mProperty Load (0.5ms)[0m SELECT "properties".* FROM "properties" INNER JOIN "properties_vehicles" ON "properties"."id" = "properties_vehicles"."property_id" WHERE "properties_vehicles"."vehicle_id" = 12
+ [1m[36mSQL (1.9ms)[0m [1mDELETE FROM "vehicles" WHERE "vehicles"."id" = ?[0m [["id", 12]]
+ [1m[35m (45.3ms)[0m commit transaction
+Redirected to http://0.0.0.0:3000/vehicles
+Completed 302 Found in 69.7ms (ActiveRecord: 48.3ms)
+
+
+Started GET "/vehicles" for 127.0.0.1 at 2013-12-15 12:58:14 +0100
+Processing by VehiclesController#index as HTML
+ [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))
+ [1m[36mVehicle Load (0.2ms)[0m [1mSELECT "vehicles".* FROM "vehicles" [0m
+ [1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ Rendered vehicles/index.html.erb within layouts/application (5.4ms)
+Completed 200 OK in 45.1ms (Views: 27.8ms | ActiveRecord: 0.8ms)
+
+
+Started DELETE "/vehicles/13" for 127.0.0.1 at 2013-12-15 12:58:15 +0100
+Processing by VehiclesController#destroy as HTML
+ Parameters: {"authenticity_token"=>"OjUeyVL1IKyXzWflX/9iR1PmDgXLEfYEJmmb1Nb04Xg=", "id"=>"13"}
+ [1m[35mVehicle Load (0.2ms)[0m SELECT "vehicles".* FROM "vehicles" WHERE "vehicles"."id" = ? LIMIT 1 [["id", "13"]]
+ [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT "vehicles".* FROM "vehicles" WHERE "vehicles"."id" = ? LIMIT 1[0m [["id", "13"]]
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mProperty Load (0.1ms)[0m [1mSELECT "properties".* FROM "properties" INNER JOIN "properties_vehicles" ON "properties"."id" = "properties_vehicles"."property_id" WHERE "properties_vehicles"."vehicle_id" = 13[0m
+ [1m[35mSQL (1.2ms)[0m DELETE FROM "vehicles" WHERE "vehicles"."id" = ? [["id", 13]]
+ [1m[36m (41.8ms)[0m [1mcommit transaction[0m
+Redirected to http://0.0.0.0:3000/vehicles
+Completed 302 Found in 69.1ms (ActiveRecord: 43.8ms)
+
+
+Started GET "/vehicles" for 127.0.0.1 at 2013-12-15 12:58:15 +0100
+Processing by VehiclesController#index as HTML
+ [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))[0m
+ [1m[35mVehicle Load (0.2ms)[0m SELECT "vehicles".* FROM "vehicles"
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ Rendered vehicles/index.html.erb within layouts/application (3.6ms)
+Completed 200 OK in 36.0ms (Views: 19.5ms | ActiveRecord: 0.4ms)
+
+
+Started DELETE "/vehicles/14" for 127.0.0.1 at 2013-12-15 12:58:17 +0100
+Processing by VehiclesController#destroy as HTML
+ Parameters: {"authenticity_token"=>"OjUeyVL1IKyXzWflX/9iR1PmDgXLEfYEJmmb1Nb04Xg=", "id"=>"14"}
+ [1m[35mVehicle Load (0.2ms)[0m SELECT "vehicles".* FROM "vehicles" WHERE "vehicles"."id" = ? LIMIT 1 [["id", "14"]]
+ [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT "vehicles".* FROM "vehicles" WHERE "vehicles"."id" = ? LIMIT 1[0m [["id", "14"]]
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mProperty Load (0.2ms)[0m [1mSELECT "properties".* FROM "properties" INNER JOIN "properties_vehicles" ON "properties"."id" = "properties_vehicles"."property_id" WHERE "properties_vehicles"."vehicle_id" = 14[0m
+ [1m[35mSQL (1.9ms)[0m DELETE FROM "vehicles" WHERE "vehicles"."id" = ? [["id", 14]]
+ [1m[36m (74.6ms)[0m [1mcommit transaction[0m
+Redirected to http://0.0.0.0:3000/vehicles
+Completed 302 Found in 96.5ms (ActiveRecord: 77.5ms)
+
+
+Started GET "/vehicles" for 127.0.0.1 at 2013-12-15 12:58:17 +0100
+Processing by VehiclesController#index as HTML
+ [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))[0m
+ [1m[35mVehicle Load (0.5ms)[0m SELECT "vehicles".* FROM "vehicles"
+ Rendered vehicles/index.html.erb within layouts/application (0.8ms)
+Completed 200 OK in 100.5ms (Views: 81.8ms | ActiveRecord: 1.1ms)
+
+
+Started GET "/vehicles/new" for 127.0.0.1 at 2013-12-15 12:58:18 +0100
+Processing by VehiclesController#new as HTML
+ [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ [1m[35m (0.6ms)[0m SELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))
+------------
+#<User:0x000000025098d8>
+ [1m[36mProperty Load (0.1ms)[0m [1mSELECT "properties".* FROM "properties" [0m
+ Rendered vehicles/_form.html.erb (5.4ms)
+ Rendered vehicles/new.html.erb within layouts/application (8.0ms)
+Completed 200 OK in 77.7ms (Views: 59.1ms | ActiveRecord: 1.0ms)
+
+
+Started GET "/vehicles" for 127.0.0.1 at 2013-12-15 12:59:52 +0100
+Processing by VehiclesController#index as HTML
+ [1m[35mUser Load (0.4ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))[0m
+ [1m[35mVehicle Load (1.4ms)[0m SELECT "vehicles".* FROM "vehicles"
+ Rendered vehicles/index.html.erb within layouts/application (0.8ms)
+Completed 200 OK in 70.4ms (Views: 19.1ms | ActiveRecord: 1.9ms)
+
+
+Started GET "/vehicles/new" for 127.0.0.1 at 2013-12-15 12:59:53 +0100
+Processing by VehiclesController#new as HTML
+ [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))
+------------
+#<User:0x000000031281f0>
+ [1m[36mProperty Load (0.2ms)[0m [1mSELECT "properties".* FROM "properties" [0m
+ Rendered vehicles/_form.html.erb (4.4ms)
+ Rendered vehicles/new.html.erb within layouts/application (5.7ms)
+Completed 200 OK in 37.8ms (Views: 22.4ms | ActiveRecord: 0.6ms)
+
+
+Started POST "/vehicles" for 127.0.0.1 at 2013-12-15 13:00:32 +0100
+Processing by VehiclesController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"OjUeyVL1IKyXzWflX/9iR1PmDgXLEfYEJmmb1Nb04Xg=", "vehicle"=>{"manufacturer"=>"Skoda", "subtype"=>"Fabia", "year"=>"2000", "color"=>"Silver", "id"=>"2"}, "commit"=>"Create Vehicle"}
+ [1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))[0m
+{"utf8"=>"✓", "authenticity_token"=>"OjUeyVL1IKyXzWflX/9iR1PmDgXLEfYEJmmb1Nb04Xg=", "vehicle"=>{"manufacturer"=>"Skoda", "subtype"=>"Fabia", "year"=>"2000", "color"=>"Silver", "id"=>"2"}, "commit"=>"Create Vehicle", "action"=>"create", "controller"=>"vehicles"}
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (1.2ms)[0m [1mINSERT INTO "vehicles" ("color", "created_at", "manufacturer", "subtype", "updated_at", "user", "user_id", "year") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["color", "Silver"], ["created_at", Sun, 15 Dec 2013 12:00:32 UTC +00:00], ["manufacturer", "Skoda"], ["subtype", "Fabia"], ["updated_at", Sun, 15 Dec 2013 12:00:32 UTC +00:00], ["user", nil], ["user_id", 1], ["year", 2000]]
+ [1m[35m (18.9ms)[0m commit transaction
+Redirected to http://0.0.0.0:3000/vehicles/15
+Completed 302 Found in 196.2ms (ActiveRecord: 22.2ms)
+
+
+Started GET "/vehicles/15" for 127.0.0.1 at 2013-12-15 13:00:32 +0100
+Processing by VehiclesController#show as HTML
+ Parameters: {"id"=>"15"}
+ [1m[36mVehicle Load (0.2ms)[0m [1mSELECT "vehicles".* FROM "vehicles" WHERE "vehicles"."id" = ? LIMIT 1[0m [["id", "15"]]
+ [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT "vehicles".* FROM "vehicles" WHERE "vehicles"."id" = ? LIMIT 1 [["id", "15"]]
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ Rendered vehicles/show.html.erb within layouts/application (7.1ms)
+Completed 500 Internal Server Error in 27.0ms
+
+NoMethodError - undefined method `property' for #<Vehicle:0x000000017c86b0>:
+ activemodel (3.2.15) lib/active_model/attribute_methods.rb:407:in `method_missing'
+ activerecord (3.2.15) lib/active_record/attribute_methods.rb:149:in `method_missing'
+ app/views/vehicles/show.html.erb:30:in `_app_views_vehicles_show_html_erb___835383221955560962_23472920'
+ actionpack (3.2.15) lib/action_view/template.rb:145:in `block in render'
+ activesupport (3.2.15) lib/active_support/notifications.rb:125:in `instrument'
+ actionpack (3.2.15) lib/action_view/template.rb:143:in `render'
+ actionpack (3.2.15) lib/action_view/renderer/template_renderer.rb:47:in `block (2 levels) in render_template'
+ actionpack (3.2.15) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
+ activesupport (3.2.15) lib/active_support/notifications.rb:123:in `block in instrument'
+ activesupport (3.2.15) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
+ activesupport (3.2.15) lib/active_support/notifications.rb:123:in `instrument'
+ actionpack (3.2.15) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
+ actionpack (3.2.15) lib/action_view/renderer/template_renderer.rb:46:in `block in render_template'
+ actionpack (3.2.15) lib/action_view/renderer/template_renderer.rb:54:in `render_with_layout'
+ actionpack (3.2.15) lib/action_view/renderer/template_renderer.rb:45:in `render_template'
+ actionpack (3.2.15) lib/action_view/renderer/template_renderer.rb:18:in `render'
+ actionpack (3.2.15) lib/action_view/renderer/renderer.rb:36:in `render_template'
+ actionpack (3.2.15) lib/action_view/renderer/renderer.rb:17:in `render'
+ actionpack (3.2.15) lib/abstract_controller/rendering.rb:110:in `_render_template'
+ actionpack (3.2.15) lib/action_controller/metal/streaming.rb:225:in `_render_template'
+ actionpack (3.2.15) lib/abstract_controller/rendering.rb:103:in `render_to_body'
+ actionpack (3.2.15) lib/action_controller/metal/renderers.rb:28:in `render_to_body'
+ actionpack (3.2.15) lib/action_controller/metal/compatibility.rb:50:in `render_to_body'
+ actionpack (3.2.15) lib/abstract_controller/rendering.rb:88:in `render'
+ actionpack (3.2.15) lib/action_controller/metal/rendering.rb:16:in `render'
+ actionpack (3.2.15) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render'
+ activesupport (3.2.15) lib/active_support/core_ext/benchmark.rb:5:in `block in ms'
+ /root/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/benchmark.rb:295:in `realtime'
+ activesupport (3.2.15) lib/active_support/core_ext/benchmark.rb:5:in `ms'
+ actionpack (3.2.15) lib/action_controller/metal/instrumentation.rb:40:in `block in render'
+ actionpack (3.2.15) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime'
+ activerecord (3.2.15) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime'
+ actionpack (3.2.15) lib/action_controller/metal/instrumentation.rb:39:in `render'
+ actionpack (3.2.15) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
+ actionpack (3.2.15) lib/action_controller/metal/mime_responds.rb:196:in `respond_to'
+ app/controllers/vehicles_controller.rb:21:in `show'
+ actionpack (3.2.15) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
+ actionpack (3.2.15) lib/abstract_controller/base.rb:167:in `process_action'
+ actionpack (3.2.15) lib/action_controller/metal/rendering.rb:10:in `process_action'
+ actionpack (3.2.15) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:425:in `_run__2966998893705821021__process_action__877562438002914068__callbacks'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:405:in `__run_callback'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:81:in `run_callbacks'
+ actionpack (3.2.15) lib/abstract_controller/callbacks.rb:17:in `process_action'
+ actionpack (3.2.15) lib/action_controller/metal/rescue.rb:29:in `process_action'
+ actionpack (3.2.15) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
+ activesupport (3.2.15) lib/active_support/notifications.rb:123:in `block in instrument'
+ activesupport (3.2.15) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
+ activesupport (3.2.15) lib/active_support/notifications.rb:123:in `instrument'
+ actionpack (3.2.15) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
+ actionpack (3.2.15) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
+ activerecord (3.2.15) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
+ actionpack (3.2.15) lib/abstract_controller/base.rb:121:in `process'
+ actionpack (3.2.15) lib/abstract_controller/rendering.rb:45:in `process'
+ actionpack (3.2.15) lib/action_controller/metal.rb:203:in `dispatch'
+ actionpack (3.2.15) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
+ actionpack (3.2.15) lib/action_controller/metal.rb:246:in `block in action'
+ actionpack (3.2.15) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
+ actionpack (3.2.15) lib/action_dispatch/routing/route_set.rb:36:in `call'
+ journey (1.0.4) lib/journey/router.rb:68:in `block in call'
+ journey (1.0.4) lib/journey/router.rb:56:in `call'
+ actionpack (3.2.15) lib/action_dispatch/routing/route_set.rb:608:in `call'
+ warden (1.2.3) lib/warden/manager.rb:35:in `block in call'
+ warden (1.2.3) lib/warden/manager.rb:34:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
+ rack (1.4.5) lib/rack/etag.rb:23:in `call'
+ rack (1.4.5) lib/rack/conditionalget.rb:25:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/head.rb:14:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/flash.rb:242:in `call'
+ rack (1.4.5) lib/rack/session/abstract/id.rb:210:in `context'
+ rack (1.4.5) lib/rack/session/abstract/id.rb:205:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/cookies.rb:341:in `call'
+ activerecord (3.2.15) lib/active_record/query_cache.rb:64:in `call'
+ activerecord (3.2.15) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:405:in `_run__185646223256115191__call__746831440737217878__callbacks'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:405:in `__run_callback'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:81:in `run_callbacks'
+ actionpack (3.2.15) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/reloader.rb:65:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
+ better_errors (1.0.1) lib/better_errors/middleware.rb:84:in `protected_app_call'
+ better_errors (1.0.1) lib/better_errors/middleware.rb:79:in `better_errors_call'
+ better_errors (1.0.1) lib/better_errors/middleware.rb:56:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
+ railties (3.2.15) lib/rails/rack/logger.rb:32:in `call_app'
+ railties (3.2.15) lib/rails/rack/logger.rb:16:in `block in call'
+ activesupport (3.2.15) lib/active_support/tagged_logging.rb:22:in `tagged'
+ railties (3.2.15) lib/rails/rack/logger.rb:16:in `call'
+ quiet_assets (1.0.2) lib/quiet_assets.rb:18:in `call_with_quiet_assets'
+ actionpack (3.2.15) lib/action_dispatch/middleware/request_id.rb:22:in `call'
+ rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
+ rack (1.4.5) lib/rack/runtime.rb:17:in `call'
+ activesupport (3.2.15) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
+ rack (1.4.5) lib/rack/lock.rb:15:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/static.rb:63:in `call'
+ railties (3.2.15) lib/rails/engine.rb:484:in `call'
+ railties (3.2.15) lib/rails/application.rb:231:in `call'
+ rack (1.4.5) lib/rack/content_length.rb:14:in `call'
+ railties (3.2.15) lib/rails/rack/log_tailer.rb:17:in `call'
+ thin (1.6.1) lib/thin/connection.rb:82:in `block in pre_process'
+ thin (1.6.1) lib/thin/connection.rb:80:in `pre_process'
+ thin (1.6.1) lib/thin/connection.rb:55:in `process'
+ thin (1.6.1) lib/thin/connection.rb:41:in `receive_data'
+ eventmachine (1.0.3) lib/eventmachine.rb:187:in `run'
+ thin (1.6.1) lib/thin/backends/base.rb:73:in `start'
+ thin (1.6.1) lib/thin/server.rb:162:in `start'
+ rack (1.4.5) lib/rack/handler/thin.rb:13:in `run'
+ rack (1.4.5) lib/rack/server.rb:268:in `start'
+ railties (3.2.15) lib/rails/commands/server.rb:70:in `start'
+ railties (3.2.15) lib/rails/commands.rb:55:in `block in <top (required)>'
+ railties (3.2.15) lib/rails/commands.rb:50:in `<top (required)>'
+ script/rails:6:in `<main>'
+ script/rails:0:in `<main>'
+
+
+
+Started POST "/__better_errors/28425520/variables" for 127.0.0.1 at 2013-12-15 13:00:32 +0100
+
+
+Started POST "/__better_errors/28425520/eval" for 127.0.0.1 at 2013-12-15 13:02:00 +0100
+ [1m[35mProperty Load (0.2ms)[0m SELECT "properties".* FROM "properties" INNER JOIN "properties_vehicles" ON "properties"."id" = "properties_vehicles"."property_id" WHERE "properties_vehicles"."vehicle_id" = 15
+
+
+Started POST "/__better_errors/28425520/eval" for 127.0.0.1 at 2013-12-15 13:02:07 +0100
+
+
+Started POST "/__better_errors/28425520/eval" for 127.0.0.1 at 2013-12-15 13:02:21 +0100
+ [1m[36mProperty Load (0.2ms)[0m [1mSELECT "properties".* FROM "properties" [0m
+
+
+Started POST "/__better_errors/28425520/eval" for 127.0.0.1 at 2013-12-15 13:02:28 +0100
+ [1m[35mProperty Load (0.3ms)[0m SELECT "properties".* FROM "properties" WHERE "properties"."id" = ? LIMIT 1 [["id", 1]]
+
+
+Started POST "/__better_errors/28425520/eval" for 127.0.0.1 at 2013-12-15 13:02:33 +0100
+ [1m[36mProperty Load (0.2ms)[0m [1mSELECT "properties".* FROM "properties" WHERE "properties"."id" = ? LIMIT 1[0m [["id", 1]]
+ [1m[35mVehicle Load (0.2ms)[0m SELECT "vehicles".* FROM "vehicles" INNER JOIN "properties_vehicles" ON "vehicles"."id" = "properties_vehicles"."vehicle_id" WHERE "properties_vehicles"."property_id" = 1
+
+
+Started POST "/__better_errors/28425520/variables" for 127.0.0.1 at 2013-12-15 13:07:41 +0100
+
+
+Started POST "/__better_errors/28425520/variables" for 127.0.0.1 at 2013-12-15 13:07:43 +0100
+
+
+Started POST "/__better_errors/28425520/variables" for 127.0.0.1 at 2013-12-15 13:07:50 +0100
+
+
+Started POST "/__better_errors/28425520/variables" for 127.0.0.1 at 2013-12-15 13:07:54 +0100
+
+
+Started GET "/vehicles/new" for 127.0.0.1 at 2013-12-15 13:10:35 +0100
+Processing by VehiclesController#new as HTML
+ [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))
+------------
+#<User:0x00000003abdc38>
+ [1m[36mProperty Load (0.1ms)[0m [1mSELECT "properties".* FROM "properties" [0m
+ Rendered vehicles/_form.html.erb (90.6ms)
+ Rendered vehicles/new.html.erb within layouts/application (93.2ms)
+Completed 200 OK in 238.0ms (Views: 111.3ms | ActiveRecord: 2.9ms)
+
+
+Started POST "/vehicles" for 127.0.0.1 at 2013-12-15 13:10:38 +0100
+Processing by VehiclesController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"OjUeyVL1IKyXzWflX/9iR1PmDgXLEfYEJmmb1Nb04Xg=", "vehicle"=>{"manufacturer"=>"", "subtype"=>"", "year"=>"", "color"=>"", "id"=>"2"}, "commit"=>"Create Vehicle"}
+ [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))[0m
+Completed 500 Internal Server Error in 22.0ms
+
+NameError - undefined local variable or method `asdasd' for #<VehiclesController:0x000000031c5518>:
+ app/controllers/vehicles_controller.rb:49:in `create'
+ actionpack (3.2.15) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
+ actionpack (3.2.15) lib/abstract_controller/base.rb:167:in `process_action'
+ actionpack (3.2.15) lib/action_controller/metal/rendering.rb:10:in `process_action'
+ actionpack (3.2.15) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:425:in `_run__2966998893705821021__process_action__2771750864844349564__callbacks'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:405:in `__run_callback'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:81:in `run_callbacks'
+ actionpack (3.2.15) lib/abstract_controller/callbacks.rb:17:in `process_action'
+ actionpack (3.2.15) lib/action_controller/metal/rescue.rb:29:in `process_action'
+ actionpack (3.2.15) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
+ activesupport (3.2.15) lib/active_support/notifications.rb:123:in `block in instrument'
+ activesupport (3.2.15) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
+ activesupport (3.2.15) lib/active_support/notifications.rb:123:in `instrument'
+ actionpack (3.2.15) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
+ actionpack (3.2.15) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
+ activerecord (3.2.15) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
+ actionpack (3.2.15) lib/abstract_controller/base.rb:121:in `process'
+ actionpack (3.2.15) lib/abstract_controller/rendering.rb:45:in `process'
+ actionpack (3.2.15) lib/action_controller/metal.rb:203:in `dispatch'
+ actionpack (3.2.15) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
+ actionpack (3.2.15) lib/action_controller/metal.rb:246:in `block in action'
+ actionpack (3.2.15) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
+ actionpack (3.2.15) lib/action_dispatch/routing/route_set.rb:36:in `call'
+ journey (1.0.4) lib/journey/router.rb:68:in `block in call'
+ journey (1.0.4) lib/journey/router.rb:56:in `call'
+ actionpack (3.2.15) lib/action_dispatch/routing/route_set.rb:608:in `call'
+ warden (1.2.3) lib/warden/manager.rb:35:in `block in call'
+ warden (1.2.3) lib/warden/manager.rb:34:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
+ rack (1.4.5) lib/rack/etag.rb:23:in `call'
+ rack (1.4.5) lib/rack/conditionalget.rb:35:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/head.rb:14:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/flash.rb:242:in `call'
+ rack (1.4.5) lib/rack/session/abstract/id.rb:210:in `context'
+ rack (1.4.5) lib/rack/session/abstract/id.rb:205:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/cookies.rb:341:in `call'
+ activerecord (3.2.15) lib/active_record/query_cache.rb:64:in `call'
+ activerecord (3.2.15) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:405:in `_run__185646223256115191__call__746831440737217878__callbacks'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:405:in `__run_callback'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:81:in `run_callbacks'
+ actionpack (3.2.15) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/reloader.rb:65:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
+ better_errors (1.0.1) lib/better_errors/middleware.rb:84:in `protected_app_call'
+ better_errors (1.0.1) lib/better_errors/middleware.rb:79:in `better_errors_call'
+ better_errors (1.0.1) lib/better_errors/middleware.rb:56:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
+ railties (3.2.15) lib/rails/rack/logger.rb:32:in `call_app'
+ railties (3.2.15) lib/rails/rack/logger.rb:16:in `block in call'
+ activesupport (3.2.15) lib/active_support/tagged_logging.rb:22:in `tagged'
+ railties (3.2.15) lib/rails/rack/logger.rb:16:in `call'
+ quiet_assets (1.0.2) lib/quiet_assets.rb:18:in `call_with_quiet_assets'
+ actionpack (3.2.15) lib/action_dispatch/middleware/request_id.rb:22:in `call'
+ rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
+ rack (1.4.5) lib/rack/runtime.rb:17:in `call'
+ activesupport (3.2.15) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
+ rack (1.4.5) lib/rack/lock.rb:15:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/static.rb:63:in `call'
+ railties (3.2.15) lib/rails/engine.rb:484:in `call'
+ railties (3.2.15) lib/rails/application.rb:231:in `call'
+ rack (1.4.5) lib/rack/content_length.rb:14:in `call'
+ railties (3.2.15) lib/rails/rack/log_tailer.rb:17:in `call'
+ thin (1.6.1) lib/thin/connection.rb:82:in `block in pre_process'
+ thin (1.6.1) lib/thin/connection.rb:80:in `pre_process'
+ thin (1.6.1) lib/thin/connection.rb:55:in `process'
+ thin (1.6.1) lib/thin/connection.rb:41:in `receive_data'
+ eventmachine (1.0.3) lib/eventmachine.rb:187:in `run'
+ thin (1.6.1) lib/thin/backends/base.rb:73:in `start'
+ thin (1.6.1) lib/thin/server.rb:162:in `start'
+ rack (1.4.5) lib/rack/handler/thin.rb:13:in `run'
+ rack (1.4.5) lib/rack/server.rb:268:in `start'
+ railties (3.2.15) lib/rails/commands/server.rb:70:in `start'
+ railties (3.2.15) lib/rails/commands.rb:55:in `block in <top (required)>'
+ railties (3.2.15) lib/rails/commands.rb:50:in `<top (required)>'
+ script/rails:6:in `<main>'
+ script/rails:0:in `<main>'
+
+
+
+Started POST "/__better_errors/25899180/variables" for 127.0.0.1 at 2013-12-15 13:10:39 +0100
+
+
+Started POST "/__better_errors/25899180/eval" for 127.0.0.1 at 2013-12-15 13:10:49 +0100
+
+
+Started POST "/__better_errors/25899180/eval" for 127.0.0.1 at 2013-12-15 13:10:58 +0100
+
+
+Started POST "/__better_errors/25899180/eval" for 127.0.0.1 at 2013-12-15 13:11:01 +0100
+
+
+Started POST "/__better_errors/25899180/eval" for 127.0.0.1 at 2013-12-15 13:11:05 +0100
+
+
+Started POST "/__better_errors/25899180/eval" for 127.0.0.1 at 2013-12-15 13:11:11 +0100
+
+
+Started POST "/__better_errors/25899180/eval" for 127.0.0.1 at 2013-12-15 13:11:17 +0100
+
+
+Started POST "/__better_errors/25899180/eval" for 127.0.0.1 at 2013-12-15 13:11:35 +0100
+
+
+Started POST "/__better_errors/25899180/eval" for 127.0.0.1 at 2013-12-15 13:11:44 +0100
+
+
+Started POST "/__better_errors/25899180/eval" for 127.0.0.1 at 2013-12-15 13:11:57 +0100
+
+
+Started POST "/__better_errors/25899180/eval" for 127.0.0.1 at 2013-12-15 13:12:21 +0100
+
+
+Started POST "/__better_errors/25899180/eval" for 127.0.0.1 at 2013-12-15 13:12:28 +0100
+
+
+Started POST "/__better_errors/25899180/eval" for 127.0.0.1 at 2013-12-15 13:12:39 +0100
+
+
+Started POST "/__better_errors/25899180/eval" for 127.0.0.1 at 2013-12-15 13:12:45 +0100
+Connecting to database specified by database.yml
+
+
+Started GET "/" for 127.0.0.1 at 2013-12-17 20:05:13 +0100
+Processing by HomeController#index as HTML
+ Rendered home/index.html.erb within layouts/application (4.1ms)
+Completed 200 OK in 527.4ms (Views: 526.8ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/properties" for 127.0.0.1 at 2013-12-17 20:05:16 +0100
+Processing by PropertiesController#index as HTML
+Redirected to http://0.0.0.0:3000/
+Completed 302 Found in 310.0ms (ActiveRecord: 5.1ms)
+
+
+Started GET "/" for 127.0.0.1 at 2013-12-17 20:05:16 +0100
+Processing by HomeController#index as HTML
+ Rendered home/index.html.erb within layouts/application (0.1ms)
+Completed 200 OK in 21.2ms (Views: 20.8ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/vehicles" for 127.0.0.1 at 2013-12-17 20:05:17 +0100
+Processing by VehiclesController#index as HTML
+Redirected to http://0.0.0.0:3000/
+Completed 302 Found in 13.8ms (ActiveRecord: 0.0ms)
+
+
+Started GET "/" for 127.0.0.1 at 2013-12-17 20:05:17 +0100
+Processing by HomeController#index as HTML
+ Rendered home/index.html.erb within layouts/application (1.3ms)
+Completed 200 OK in 16.4ms (Views: 16.1ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/users/sign_up" for 127.0.0.1 at 2013-12-17 20:05:19 +0100
+Processing by Devise::RegistrationsController#new as HTML
+ Rendered /root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/devise-3.2.2/app/views/devise/shared/_links.erb (1.6ms)
+ Rendered /root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/devise-3.2.2/app/views/devise/registrations/new.html.erb within layouts/application (21.7ms)
+Completed 200 OK in 60.7ms (Views: 58.4ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/properties" for 127.0.0.1 at 2013-12-17 20:06:53 +0100
+Processing by PropertiesController#index as HTML
+Redirected to http://0.0.0.0:3000/
+Completed 302 Found in 92.5ms (ActiveRecord: 1.0ms)
+
+
+Started GET "/" for 127.0.0.1 at 2013-12-17 20:06:53 +0100
+Processing by HomeController#index as HTML
+ Rendered home/index.html.erb within layouts/application (0.1ms)
+Completed 200 OK in 77.6ms (Views: 76.9ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/properties" for 127.0.0.1 at 2013-12-17 20:06:55 +0100
+Processing by PropertiesController#index as HTML
+Redirected to http://0.0.0.0:3000/
+Completed 302 Found in 12.2ms (ActiveRecord: 0.0ms)
+
+
+Started GET "/" for 127.0.0.1 at 2013-12-17 20:06:55 +0100
+Processing by HomeController#index as HTML
+ Rendered home/index.html.erb within layouts/application (0.1ms)
+Completed 200 OK in 64.6ms (Views: 64.2ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/users/sign_in" for 127.0.0.1 at 2013-12-17 20:06:56 +0100
+Processing by Devise::SessionsController#new as HTML
+ Rendered /root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/devise-3.2.2/app/views/devise/shared/_links.erb (1.3ms)
+ Rendered /root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/devise-3.2.2/app/views/devise/sessions/new.html.erb within layouts/application (6.3ms)
+Completed 200 OK in 105.2ms (Views: 97.9ms | ActiveRecord: 0.0ms)
+
+
+Started POST "/users/sign_in" for 127.0.0.1 at 2013-12-17 20:07:02 +0100
+Processing by Devise::SessionsController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"sLbywIbS+QtR93qBMULVYM3I9yIVJmV52zmPTAxwpIc=", "user"=>{"email"=>"m@m.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"}
+ [1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'm@m.com' LIMIT 1[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (52.7ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2013-12-15 10:50:02.547861', "current_sign_in_at" = '2013-12-17 19:07:02.241855', "sign_in_count" = 11, "updated_at" = '2013-12-17 19:07:02.346477' WHERE "users"."id" = 1[0m
+ [1m[35m (357.6ms)[0m commit transaction
+Redirected to http://0.0.0.0:3000/
+Completed 302 Found in 759.6ms (ActiveRecord: 0.0ms)
+
+
+Started GET "/" for 127.0.0.1 at 2013-12-17 20:07:02 +0100
+ [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+Processing by HomeController#index as HTML
+ Rendered home/index.html.erb within layouts/application (0.1ms)
+Completed 200 OK in 18.4ms (Views: 17.3ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/properties" for 127.0.0.1 at 2013-12-17 20:07:04 +0100
+Processing by PropertiesController#index as HTML
+ [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))[0m
+ [1m[35mProperty Load (0.2ms)[0m SELECT "properties".* FROM "properties"
+ Rendered properties/index.html.erb within layouts/application (5.0ms)
+Completed 200 OK in 416.4ms (Views: 54.0ms | ActiveRecord: 1.7ms)
+
+
+Started GET "/vehicles" for 127.0.0.1 at 2013-12-17 20:07:09 +0100
+Processing by VehiclesController#index as HTML
+ [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))
+ [1m[36mVehicle Load (0.3ms)[0m [1mSELECT "vehicles".* FROM "vehicles" [0m
+ [1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ Rendered vehicles/index.html.erb within layouts/application (105.7ms)
+Completed 200 OK in 199.2ms (Views: 168.9ms | ActiveRecord: 1.2ms)
+
+
+Started GET "/properties" for 127.0.0.1 at 2013-12-17 20:07:10 +0100
+Processing by PropertiesController#index as HTML
+ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))
+ [1m[36mProperty Load (0.1ms)[0m [1mSELECT "properties".* FROM "properties" [0m
+ Rendered properties/index.html.erb within layouts/application (2.9ms)
+Completed 200 OK in 34.5ms (Views: 18.5ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/properties" for 127.0.0.1 at 2013-12-17 20:07:16 +0100
+Processing by PropertiesController#index as HTML
+ [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))[0m
+ [1m[35mProperty Load (0.1ms)[0m SELECT "properties".* FROM "properties"
+ Rendered properties/index.html.erb within layouts/application (3.8ms)
+Completed 200 OK in 191.5ms (Views: 79.6ms | ActiveRecord: 2.2ms)
+
+
+Started GET "/properties" for 127.0.0.1 at 2013-12-17 20:07:19 +0100
+Processing by PropertiesController#index as HTML
+ [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))
+ [1m[36mProperty Load (0.2ms)[0m [1mSELECT "properties".* FROM "properties" [0m
+ Rendered properties/index.html.erb within layouts/application (2.4ms)
+Completed 200 OK in 71.6ms (Views: 55.8ms | ActiveRecord: 0.8ms)
+
+
+Started DELETE "/users/sign_out" for 127.0.0.1 at 2013-12-17 20:07:21 +0100
+Processing by Devise::SessionsController#destroy as HTML
+ Parameters: {"authenticity_token"=>"z0zcxFequIEHzQUE7sW15QHWewFUPWnVEUfx3rsIfCg="}
+ [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ [1m[36m (0.2ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.2ms)[0m commit transaction
+Redirected to http://0.0.0.0:3000/
+Completed 302 Found in 114.7ms (ActiveRecord: 0.6ms)
+
+
+Started GET "/" for 127.0.0.1 at 2013-12-17 20:07:21 +0100
+Processing by HomeController#index as HTML
+ Rendered home/index.html.erb within layouts/application (0.1ms)
+Completed 200 OK in 62.6ms (Views: 61.7ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/users/sign_up" for 127.0.0.1 at 2013-12-17 20:07:22 +0100
+Processing by Devise::RegistrationsController#new as HTML
+ Rendered /root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/devise-3.2.2/app/views/devise/shared/_links.erb (0.5ms)
+ Rendered /root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/devise-3.2.2/app/views/devise/registrations/new.html.erb within layouts/application (5.0ms)
+Completed 200 OK in 25.1ms (Views: 23.5ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/users/sign_in" for 127.0.0.1 at 2013-12-17 20:07:23 +0100
+Processing by Devise::SessionsController#new as HTML
+ Rendered /root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/devise-3.2.2/app/views/devise/shared/_links.erb (0.5ms)
+ Rendered /root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/devise-3.2.2/app/views/devise/sessions/new.html.erb within layouts/application (4.7ms)
+Completed 200 OK in 25.1ms (Views: 23.9ms | ActiveRecord: 0.0ms)
+
+
+Started POST "/users/sign_in" for 127.0.0.1 at 2013-12-17 20:07:28 +0100
+Processing by Devise::SessionsController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"v9jc5A129y4aMckzuWdunMR/LrCy+NaIu33FeKCOhko=", "user"=>{"email"=>"fff@ggg.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"}
+ [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'fff@ggg.com' LIMIT 1[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2013-12-13 09:43:58.731743', "current_sign_in_at" = '2013-12-17 19:07:28.521401', "sign_in_count" = 4, "updated_at" = '2013-12-17 19:07:28.523060' WHERE "users"."id" = 2[0m
+ [1m[35m (542.3ms)[0m commit transaction
+Redirected to http://0.0.0.0:3000/
+Completed 302 Found in 633.3ms (ActiveRecord: 0.0ms)
+
+
+Started GET "/" for 127.0.0.1 at 2013-12-17 20:07:29 +0100
+ [1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
+Processing by HomeController#index as HTML
+ Rendered home/index.html.erb within layouts/application (0.1ms)
+Completed 200 OK in 23.5ms (Views: 23.1ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/properties" for 127.0.0.1 at 2013-12-17 20:07:38 +0100
+Processing by PropertiesController#index as HTML
+ [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 2 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 2 AND (((roles.name = 'usr') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))
+Redirected to http://0.0.0.0:3000/
+Completed 302 Found in 17.2ms (ActiveRecord: 0.6ms)
+
+
+Started GET "/" for 127.0.0.1 at 2013-12-17 20:07:39 +0100
+ [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
+Processing by HomeController#index as HTML
+ Rendered home/index.html.erb within layouts/application (0.1ms)
+Completed 200 OK in 54.1ms (Views: 53.8ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/vehicles" for 127.0.0.1 at 2013-12-17 20:07:40 +0100
+Processing by VehiclesController#index as HTML
+ [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 2 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 2 AND (((roles.name = 'usr') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))
+Redirected to http://0.0.0.0:3000/
+Completed 302 Found in 40.2ms (ActiveRecord: 0.7ms)
+
+
+Started GET "/" for 127.0.0.1 at 2013-12-17 20:07:40 +0100
+ [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
+Processing by HomeController#index as HTML
+ Rendered home/index.html.erb within layouts/application (0.1ms)
+Completed 200 OK in 16.3ms (Views: 16.0ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/properties" for 127.0.0.1 at 2013-12-17 20:07:41 +0100
+Processing by PropertiesController#index as HTML
+ [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 2 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 2 AND (((roles.name = 'usr') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))
+Redirected to http://0.0.0.0:3000/
+Completed 302 Found in 18.6ms (ActiveRecord: 0.6ms)
+
+
+Started GET "/" for 127.0.0.1 at 2013-12-17 20:07:41 +0100
+ [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
+Processing by HomeController#index as HTML
+ Rendered home/index.html.erb within layouts/application (0.1ms)
+Completed 200 OK in 16.5ms (Views: 16.2ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/vehicles" for 127.0.0.1 at 2013-12-17 20:07:55 +0100
+Processing by VehiclesController#index as HTML
+ [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 2 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))[0m
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 2 AND (((roles.name = 'usr') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))
+Redirected to http://0.0.0.0:3000/
+Completed 302 Found in 94.4ms (ActiveRecord: 1.9ms)
+
+
+Started GET "/" for 127.0.0.1 at 2013-12-17 20:07:55 +0100
+ [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
+Processing by HomeController#index as HTML
+ Rendered home/index.html.erb within layouts/application (0.1ms)
+Completed 200 OK in 59.6ms (Views: 58.9ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/home" for 127.0.0.1 at 2013-12-17 20:07:59 +0100
+Processing by HomeController#index as HTML
+ Rendered home/index.html.erb within layouts/application (0.1ms)
+ [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
+Completed 200 OK in 18.2ms (Views: 17.5ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/vehicles" for 127.0.0.1 at 2013-12-17 20:08:00 +0100
+Processing by VehiclesController#index as HTML
+ [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 2 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 2 AND (((roles.name = 'usr') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))[0m
+Redirected to http://0.0.0.0:3000/
+Completed 302 Found in 19.9ms (ActiveRecord: 0.6ms)
+
+
+Started GET "/" for 127.0.0.1 at 2013-12-17 20:08:00 +0100
+ [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
+Processing by HomeController#index as HTML
+ Rendered home/index.html.erb within layouts/application (0.1ms)
+Completed 200 OK in 16.4ms (Views: 16.1ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/properties" for 127.0.0.1 at 2013-12-17 20:08:30 +0100
+Processing by PropertiesController#index as HTML
+ [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 2 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 2 AND (((roles.name = 'usr') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))[0m
+Redirected to http://0.0.0.0:3000/
+Completed 302 Found in 100.1ms (ActiveRecord: 1.9ms)
+
+
+Started GET "/" for 127.0.0.1 at 2013-12-17 20:08:30 +0100
+ [1m[35mUser Load (0.4ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
+Processing by HomeController#index as HTML
+ Rendered home/index.html.erb within layouts/application (0.0ms)
+Completed 200 OK in 69.9ms (Views: 69.0ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/vehicles" for 127.0.0.1 at 2013-12-17 20:08:31 +0100
+Processing by VehiclesController#index as HTML
+ [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 2 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 2 AND (((roles.name = 'usr') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))[0m
+Redirected to http://0.0.0.0:3000/
+Completed 302 Found in 40.1ms (ActiveRecord: 0.7ms)
+
+
+Started GET "/" for 127.0.0.1 at 2013-12-17 20:08:31 +0100
+ [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
+Processing by HomeController#index as HTML
+ Rendered home/index.html.erb within layouts/application (0.1ms)
+Completed 200 OK in 18.1ms (Views: 17.2ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/" for 127.0.0.1 at 2013-12-17 20:08:43 +0100
+ [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
+Processing by HomeController#index as HTML
+ Rendered home/index.html.erb within layouts/application (0.8ms)
+Completed 200 OK in 31.4ms (Views: 30.8ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/properties" for 127.0.0.1 at 2013-12-17 20:08:44 +0100
+Processing by PropertiesController#index as HTML
+ [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 2 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))[0m
+ [1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 2 AND (((roles.name = 'usr') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))
+Redirected to http://0.0.0.0:3000/
+Completed 302 Found in 32.5ms (ActiveRecord: 1.2ms)
+
+
+Started GET "/" for 127.0.0.1 at 2013-12-17 20:08:44 +0100
+ [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
+Processing by HomeController#index as HTML
+ Rendered home/index.html.erb within layouts/application (0.1ms)
+Completed 200 OK in 68.0ms (Views: 67.7ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/" for 127.0.0.1 at 2013-12-17 20:09:31 +0100
+ [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
+Processing by HomeController#index as HTML
+ Rendered home/index.html.erb within layouts/application (0.1ms)
+Completed 200 OK in 69.2ms (Views: 68.5ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/properties" for 127.0.0.1 at 2013-12-17 20:09:33 +0100
+Processing by PropertiesController#index as HTML
+ [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 2 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 2 AND (((roles.name = 'usr') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))[0m
+Redirected to http://0.0.0.0:3000/
+Completed 302 Found in 55.1ms (ActiveRecord: 1.2ms)
+
+
+Started GET "/" for 127.0.0.1 at 2013-12-17 20:09:33 +0100
+ [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1
+Processing by HomeController#index as HTML
+ Rendered home/index.html.erb within layouts/application (0.1ms)
+Completed 200 OK in 18.0ms (Views: 17.7ms | ActiveRecord: 0.0ms)
+Connecting to database specified by database.yml
+
+
+Started DELETE "/users/sign_out" for 127.0.0.1 at 2013-12-17 20:11:23 +0100
+Processing by Devise::SessionsController#destroy as HTML
+ Parameters: {"authenticity_token"=>"J43TO4nZm+MEQGBs6yYjJAbkrgiNY+YK6TPGL66Hbk4="}
+ [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 2 LIMIT 1[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+Redirected to http://0.0.0.0:3000/
+Completed 302 Found in 6.6ms (ActiveRecord: 0.3ms)
+
+
+Started GET "/" for 127.0.0.1 at 2013-12-17 20:11:23 +0100
+Processing by HomeController#index as HTML
+ Rendered home/index.html.erb within layouts/application (0.1ms)
+Completed 200 OK in 80.1ms (Views: 79.8ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/users/sign_in" for 127.0.0.1 at 2013-12-17 20:11:25 +0100
+Processing by Devise::SessionsController#new as HTML
+ Rendered /root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/devise-3.2.2/app/views/devise/shared/_links.erb (0.6ms)
+ Rendered /root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/devise-3.2.2/app/views/devise/sessions/new.html.erb within layouts/application (7.1ms)
+Completed 200 OK in 29.1ms (Views: 27.6ms | ActiveRecord: 0.0ms)
+
+
+Started POST "/users/sign_in" for 127.0.0.1 at 2013-12-17 20:11:32 +0100
+Processing by Devise::SessionsController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"84ucPoagILlAEf64ZYDsZOD+0iQfbmZtiPzOrszOMSk=", "user"=>{"email"=>"q@q.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"}
+ [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'q@q.com' LIMIT 1
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.3ms)[0m UPDATE "users" SET "last_sign_in_at" = '2013-12-13 10:07:43.570950', "current_sign_in_at" = '2013-12-17 19:11:32.440211', "sign_in_count" = 3, "updated_at" = '2013-12-17 19:11:32.441462' WHERE "users"."id" = 3
+ [1m[36m (20.2ms)[0m [1mcommit transaction[0m
+Redirected to http://0.0.0.0:3000/
+Completed 302 Found in 94.9ms (ActiveRecord: 0.0ms)
+
+
+Started GET "/" for 127.0.0.1 at 2013-12-17 20:11:32 +0100
+ [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
+Processing by HomeController#index as HTML
+ Rendered home/index.html.erb within layouts/application (0.1ms)
+Completed 200 OK in 18.6ms (Views: 18.2ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/properties" for 127.0.0.1 at 2013-12-17 20:11:34 +0100
+Processing by PropertiesController#index as HTML
+ [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1[0m
+ [1m[35m (0.9ms)[0m SELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 3 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 3 AND (((roles.name = 'usr') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))[0m
+itt
+ [1m[35mProperty Load (0.1ms)[0m SELECT "properties".* FROM "properties"
+ Rendered properties/index.html.erb within layouts/application (3.0ms)
+Completed 200 OK in 55.7ms (Views: 18.4ms | ActiveRecord: 1.8ms)
+
+
+Started GET "/vehicles" for 127.0.0.1 at 2013-12-17 20:11:35 +0100
+Processing by VehiclesController#index as HTML
+ [1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 3 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 3 AND (((roles.name = 'usr') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))[0m
+itt
+ [1m[35mVehicle Load (0.2ms)[0m SELECT "vehicles".* FROM "vehicles"
+ [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ Rendered vehicles/index.html.erb within layouts/application (63.6ms)
+Completed 200 OK in 114.3ms (Views: 81.2ms | ActiveRecord: 1.5ms)
+
+
+Started GET "/properties" for 127.0.0.1 at 2013-12-17 20:11:49 +0100
+Processing by PropertiesController#index as HTML
+ [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
+ [1m[36m (1.0ms)[0m [1mSELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 3 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 3 AND (((roles.name = 'usr') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))
+itt
+ [1m[36mProperty Load (0.0ms)[0m [1mSELECT "properties".* FROM "properties" [0m
+ Rendered properties/index.html.erb within layouts/application (2.1ms)
+Completed 200 OK in 35.9ms (Views: 18.7ms | ActiveRecord: 1.5ms)
+
+
+Started DELETE "/users/sign_out" for 127.0.0.1 at 2013-12-17 20:11:52 +0100
+Processing by Devise::SessionsController#destroy as HTML
+ Parameters: {"authenticity_token"=>"sTo0qnynlLEJ3mPAxGHTITtiaikcdfTnLjM0KV+jRF0="}
+ [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.0ms)[0m commit transaction
+Redirected to http://0.0.0.0:3000/
+Completed 302 Found in 6.6ms (ActiveRecord: 0.3ms)
+
+
+Started GET "/" for 127.0.0.1 at 2013-12-17 20:11:53 +0100
+Processing by HomeController#index as HTML
+ Rendered home/index.html.erb within layouts/application (0.1ms)
+Completed 200 OK in 17.5ms (Views: 17.2ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/" for 127.0.0.1 at 2013-12-17 20:12:44 +0100
+Processing by HomeController#index as HTML
+ Rendered home/index.html.erb within layouts/application (0.1ms)
+Completed 200 OK in 18.4ms (Views: 17.9ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/properties" for 127.0.0.1 at 2013-12-17 20:12:53 +0100
+Processing by PropertiesController#index as HTML
+Redirected to http://0.0.0.0:3000/
+Completed 302 Found in 41.0ms (ActiveRecord: 0.7ms)
+
+
+Started GET "/" for 127.0.0.1 at 2013-12-17 20:12:53 +0100
+Processing by HomeController#index as HTML
+ Rendered home/index.html.erb within layouts/application (0.1ms)
+Completed 200 OK in 74.9ms (Views: 74.0ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/users/sign_in" for 127.0.0.1 at 2013-12-17 20:13:07 +0100
+Processing by Devise::SessionsController#new as HTML
+ Rendered /root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/devise-3.2.2/app/views/devise/shared/_links.erb (0.7ms)
+ Rendered /root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/devise-3.2.2/app/views/devise/sessions/new.html.erb within layouts/application (5.3ms)
+Completed 200 OK in 26.3ms (Views: 24.7ms | ActiveRecord: 0.0ms)
+
+
+Started POST "/users/sign_in" for 127.0.0.1 at 2013-12-17 20:13:14 +0100
+Processing by Devise::SessionsController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"BR3ElUlQH8vcR1Y3z6yt6odeGi78Wx8991rGd8Dc6+A=", "user"=>{"email"=>"m@m.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"}
+ [1m[36mUser Load (0.7ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."email" = 'm@m.com' LIMIT 1[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.3ms)[0m [1mUPDATE "users" SET "last_sign_in_at" = '2013-12-17 19:07:02.241855', "current_sign_in_at" = '2013-12-17 19:13:14.845658', "sign_in_count" = 12, "updated_at" = '2013-12-17 19:13:14.847969' WHERE "users"."id" = 1[0m
+ [1m[35m (29.1ms)[0m commit transaction
+Redirected to http://0.0.0.0:3000/
+Completed 302 Found in 107.3ms (ActiveRecord: 0.0ms)
+
+
+Started GET "/" for 127.0.0.1 at 2013-12-17 20:13:14 +0100
+ [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+Processing by HomeController#index as HTML
+ Rendered home/index.html.erb within layouts/application (0.1ms)
+Completed 200 OK in 19.4ms (Views: 19.0ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/properties" for 127.0.0.1 at 2013-12-17 20:13:17 +0100
+Processing by PropertiesController#index as HTML
+ [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))[0m
+ [1m[35mProperty Load (0.1ms)[0m SELECT "properties".* FROM "properties"
+ Rendered properties/index.html.erb within layouts/application (4.2ms)
+Completed 200 OK in 107.1ms (Views: 71.5ms | ActiveRecord: 1.4ms)
+
+
+Started GET "/vehicles" for 127.0.0.1 at 2013-12-17 20:13:34 +0100
+Processing by VehiclesController#index as HTML
+ [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))
+ [1m[36mVehicle Load (0.1ms)[0m [1mSELECT "vehicles".* FROM "vehicles" [0m
+ [1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ Rendered vehicles/index.html.erb within layouts/application (6.7ms)
+Completed 200 OK in 65.9ms (Views: 36.2ms | ActiveRecord: 1.1ms)
+
+
+Started GET "/properties" for 127.0.0.1 at 2013-12-17 20:13:40 +0100
+Processing by PropertiesController#index as HTML
+ [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))
+ [1m[36mProperty Load (0.2ms)[0m [1mSELECT "properties".* FROM "properties" [0m
+ Rendered properties/index.html.erb within layouts/application (4.0ms)
+Completed 200 OK in 33.0ms (Views: 19.2ms | ActiveRecord: 0.6ms)
+
+
+Started GET "/properties" for 127.0.0.1 at 2013-12-17 20:14:26 +0100
+Processing by PropertiesController#index as HTML
+ [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))[0m
+ [1m[35mProperty Load (0.1ms)[0m SELECT "properties".* FROM "properties"
+ Rendered properties/index.html.erb within layouts/application (3.6ms)
+Completed 200 OK in 173.5ms (Views: 72.0ms | ActiveRecord: 2.3ms)
+
+
+Started GET "/vehicles" for 127.0.0.1 at 2013-12-17 20:14:27 +0100
+Processing by VehiclesController#index as HTML
+ [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))
+ [1m[36mVehicle Load (0.2ms)[0m [1mSELECT "vehicles".* FROM "vehicles" [0m
+ [1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ Rendered vehicles/index.html.erb within layouts/application (6.8ms)
+Completed 200 OK in 60.7ms (Views: 23.4ms | ActiveRecord: 1.1ms)
+
+
+Started GET "/vehicles/15" for 127.0.0.1 at 2013-12-17 20:14:49 +0100
+Processing by VehiclesController#show as HTML
+ Parameters: {"id"=>"15"}
+ [1m[36mVehicle Load (0.3ms)[0m [1mSELECT "vehicles".* FROM "vehicles" WHERE "vehicles"."id" = ? LIMIT 1[0m [["id", "15"]]
+ [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT "vehicles".* FROM "vehicles" WHERE "vehicles"."id" = ? LIMIT 1 [["id", "15"]]
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ Rendered vehicles/show.html.erb within layouts/application (4.9ms)
+Completed 500 Internal Server Error in 23.8ms
+
+NoMethodError - undefined method `property' for #<Vehicle:0x0000000452d308>:
+ activemodel (3.2.15) lib/active_model/attribute_methods.rb:407:in `method_missing'
+ activerecord (3.2.15) lib/active_record/attribute_methods.rb:149:in `method_missing'
+ app/views/vehicles/show.html.erb:30:in `_app_views_vehicles_show_html_erb___390482425956436030_35714780'
+ actionpack (3.2.15) lib/action_view/template.rb:145:in `block in render'
+ activesupport (3.2.15) lib/active_support/notifications.rb:125:in `instrument'
+ actionpack (3.2.15) lib/action_view/template.rb:143:in `render'
+ actionpack (3.2.15) lib/action_view/renderer/template_renderer.rb:47:in `block (2 levels) in render_template'
+ actionpack (3.2.15) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
+ activesupport (3.2.15) lib/active_support/notifications.rb:123:in `block in instrument'
+ activesupport (3.2.15) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
+ activesupport (3.2.15) lib/active_support/notifications.rb:123:in `instrument'
+ actionpack (3.2.15) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
+ actionpack (3.2.15) lib/action_view/renderer/template_renderer.rb:46:in `block in render_template'
+ actionpack (3.2.15) lib/action_view/renderer/template_renderer.rb:54:in `render_with_layout'
+ actionpack (3.2.15) lib/action_view/renderer/template_renderer.rb:45:in `render_template'
+ actionpack (3.2.15) lib/action_view/renderer/template_renderer.rb:18:in `render'
+ actionpack (3.2.15) lib/action_view/renderer/renderer.rb:36:in `render_template'
+ actionpack (3.2.15) lib/action_view/renderer/renderer.rb:17:in `render'
+ actionpack (3.2.15) lib/abstract_controller/rendering.rb:110:in `_render_template'
+ actionpack (3.2.15) lib/action_controller/metal/streaming.rb:225:in `_render_template'
+ actionpack (3.2.15) lib/abstract_controller/rendering.rb:103:in `render_to_body'
+ actionpack (3.2.15) lib/action_controller/metal/renderers.rb:28:in `render_to_body'
+ actionpack (3.2.15) lib/action_controller/metal/compatibility.rb:50:in `render_to_body'
+ actionpack (3.2.15) lib/abstract_controller/rendering.rb:88:in `render'
+ actionpack (3.2.15) lib/action_controller/metal/rendering.rb:16:in `render'
+ actionpack (3.2.15) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render'
+ activesupport (3.2.15) lib/active_support/core_ext/benchmark.rb:5:in `block in ms'
+ /root/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/benchmark.rb:295:in `realtime'
+ activesupport (3.2.15) lib/active_support/core_ext/benchmark.rb:5:in `ms'
+ actionpack (3.2.15) lib/action_controller/metal/instrumentation.rb:40:in `block in render'
+ actionpack (3.2.15) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime'
+ activerecord (3.2.15) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime'
+ actionpack (3.2.15) lib/action_controller/metal/instrumentation.rb:39:in `render'
+ actionpack (3.2.15) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
+ actionpack (3.2.15) lib/action_controller/metal/mime_responds.rb:196:in `respond_to'
+ app/controllers/vehicles_controller.rb:21:in `show'
+ actionpack (3.2.15) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
+ actionpack (3.2.15) lib/abstract_controller/base.rb:167:in `process_action'
+ actionpack (3.2.15) lib/action_controller/metal/rendering.rb:10:in `process_action'
+ actionpack (3.2.15) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:425:in `_run__1874716839230934629__process_action__1496690668633601692__callbacks'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:405:in `__run_callback'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:81:in `run_callbacks'
+ actionpack (3.2.15) lib/abstract_controller/callbacks.rb:17:in `process_action'
+ actionpack (3.2.15) lib/action_controller/metal/rescue.rb:29:in `process_action'
+ actionpack (3.2.15) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
+ activesupport (3.2.15) lib/active_support/notifications.rb:123:in `block in instrument'
+ activesupport (3.2.15) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
+ activesupport (3.2.15) lib/active_support/notifications.rb:123:in `instrument'
+ actionpack (3.2.15) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
+ actionpack (3.2.15) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
+ activerecord (3.2.15) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
+ actionpack (3.2.15) lib/abstract_controller/base.rb:121:in `process'
+ actionpack (3.2.15) lib/abstract_controller/rendering.rb:45:in `process'
+ actionpack (3.2.15) lib/action_controller/metal.rb:203:in `dispatch'
+ actionpack (3.2.15) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
+ actionpack (3.2.15) lib/action_controller/metal.rb:246:in `block in action'
+ actionpack (3.2.15) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
+ actionpack (3.2.15) lib/action_dispatch/routing/route_set.rb:36:in `call'
+ journey (1.0.4) lib/journey/router.rb:68:in `block in call'
+ journey (1.0.4) lib/journey/router.rb:56:in `call'
+ actionpack (3.2.15) lib/action_dispatch/routing/route_set.rb:608:in `call'
+ warden (1.2.3) lib/warden/manager.rb:35:in `block in call'
+ warden (1.2.3) lib/warden/manager.rb:34:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
+ rack (1.4.5) lib/rack/etag.rb:23:in `call'
+ rack (1.4.5) lib/rack/conditionalget.rb:25:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/head.rb:14:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/flash.rb:242:in `call'
+ rack (1.4.5) lib/rack/session/abstract/id.rb:210:in `context'
+ rack (1.4.5) lib/rack/session/abstract/id.rb:205:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/cookies.rb:341:in `call'
+ activerecord (3.2.15) lib/active_record/query_cache.rb:64:in `call'
+ activerecord (3.2.15) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:405:in `_run__3004610597406491206__call__2215874786234277655__callbacks'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:405:in `__run_callback'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:81:in `run_callbacks'
+ actionpack (3.2.15) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/reloader.rb:65:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
+ better_errors (1.0.1) lib/better_errors/middleware.rb:84:in `protected_app_call'
+ better_errors (1.0.1) lib/better_errors/middleware.rb:79:in `better_errors_call'
+ better_errors (1.0.1) lib/better_errors/middleware.rb:56:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
+ railties (3.2.15) lib/rails/rack/logger.rb:32:in `call_app'
+ railties (3.2.15) lib/rails/rack/logger.rb:16:in `block in call'
+ activesupport (3.2.15) lib/active_support/tagged_logging.rb:22:in `tagged'
+ railties (3.2.15) lib/rails/rack/logger.rb:16:in `call'
+ quiet_assets (1.0.2) lib/quiet_assets.rb:18:in `call_with_quiet_assets'
+ actionpack (3.2.15) lib/action_dispatch/middleware/request_id.rb:22:in `call'
+ rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
+ rack (1.4.5) lib/rack/runtime.rb:17:in `call'
+ activesupport (3.2.15) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
+ rack (1.4.5) lib/rack/lock.rb:15:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/static.rb:63:in `call'
+ railties (3.2.15) lib/rails/engine.rb:484:in `call'
+ railties (3.2.15) lib/rails/application.rb:231:in `call'
+ rack (1.4.5) lib/rack/content_length.rb:14:in `call'
+ railties (3.2.15) lib/rails/rack/log_tailer.rb:17:in `call'
+ thin (1.6.1) lib/thin/connection.rb:82:in `block in pre_process'
+ thin (1.6.1) lib/thin/connection.rb:80:in `pre_process'
+ thin (1.6.1) lib/thin/connection.rb:55:in `process'
+ thin (1.6.1) lib/thin/connection.rb:41:in `receive_data'
+ eventmachine (1.0.3) lib/eventmachine.rb:187:in `run'
+ thin (1.6.1) lib/thin/backends/base.rb:73:in `start'
+ thin (1.6.1) lib/thin/server.rb:162:in `start'
+ rack (1.4.5) lib/rack/handler/thin.rb:13:in `run'
+ rack (1.4.5) lib/rack/server.rb:268:in `start'
+ railties (3.2.15) lib/rails/commands/server.rb:70:in `start'
+ railties (3.2.15) lib/rails/commands.rb:55:in `block in <top (required)>'
+ railties (3.2.15) lib/rails/commands.rb:50:in `<top (required)>'
+ script/rails:6:in `<main>'
+ script/rails:0:in `<main>'
+
+
+
+Started POST "/__better_errors/28217620/variables" for 127.0.0.1 at 2013-12-17 20:14:49 +0100
+
+
+Started GET "/vehicles" for 127.0.0.1 at 2013-12-17 20:15:12 +0100
+Processing by VehiclesController#index as HTML
+ [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))[0m
+ [1m[35mVehicle Load (0.2ms)[0m SELECT "vehicles".* FROM "vehicles"
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ Rendered vehicles/index.html.erb within layouts/application (3.4ms)
+Completed 200 OK in 33.9ms (Views: 18.7ms | ActiveRecord: 0.6ms)
+
+
+Started GET "/properties" for 127.0.0.1 at 2013-12-17 20:16:38 +0100
+Processing by PropertiesController#index as HTML
+ [1m[35mUser Load (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))[0m
+ [1m[35mProperty Load (0.1ms)[0m SELECT "properties".* FROM "properties"
+ Rendered properties/index.html.erb within layouts/application (3.2ms)
+Completed 200 OK in 179.5ms (Views: 85.5ms | ActiveRecord: 2.3ms)
+
+
+Started GET "/vehicles" for 127.0.0.1 at 2013-12-17 20:16:39 +0100
+Processing by VehiclesController#index as HTML
+ [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))
+ [1m[36mVehicle Load (0.1ms)[0m [1mSELECT "vehicles".* FROM "vehicles" [0m
+ [1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ Rendered vehicles/index.html.erb within layouts/application (6.8ms)
+Completed 200 OK in 53.6ms (Views: 24.6ms | ActiveRecord: 1.0ms)
+
+
+Started DELETE "/users/sign_out" for 127.0.0.1 at 2013-12-17 20:16:42 +0100
+Processing by Devise::SessionsController#destroy as HTML
+ Parameters: {"authenticity_token"=>"deQ42MmjNWo+g1t4VqmHZi7xBQdrw/jaGnDcI5froUo="}
+ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+Redirected to http://0.0.0.0:3000/
+Completed 302 Found in 6.4ms (ActiveRecord: 0.2ms)
+
+
+Started GET "/" for 127.0.0.1 at 2013-12-17 20:16:42 +0100
+Processing by HomeController#index as HTML
+ Rendered home/index.html.erb within layouts/application (0.1ms)
+Completed 200 OK in 60.1ms (Views: 59.3ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/users/sign_in" for 127.0.0.1 at 2013-12-17 20:16:44 +0100
+Processing by Devise::SessionsController#new as HTML
+ Rendered /root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/devise-3.2.2/app/views/devise/shared/_links.erb (0.6ms)
+ Rendered /root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/devise-3.2.2/app/views/devise/sessions/new.html.erb within layouts/application (4.8ms)
+Completed 200 OK in 26.4ms (Views: 24.8ms | ActiveRecord: 0.0ms)
+
+
+Started POST "/users/sign_in" for 127.0.0.1 at 2013-12-17 20:16:51 +0100
+Processing by Devise::SessionsController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"qWDPAOQc8m5AeMFQj6wbkPF08xxsZfGB2nm/ZIELyr8=", "user"=>{"email"=>"q@q.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"}
+ [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'q@q.com' LIMIT 1
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.3ms)[0m UPDATE "users" SET "last_sign_in_at" = '2013-12-17 19:11:32.440211', "current_sign_in_at" = '2013-12-17 19:16:51.233700', "sign_in_count" = 4, "updated_at" = '2013-12-17 19:16:51.234933' WHERE "users"."id" = 3
+ [1m[36m (247.8ms)[0m [1mcommit transaction[0m
+Redirected to http://0.0.0.0:3000/
+Completed 302 Found in 324.8ms (ActiveRecord: 0.0ms)
+
+
+Started GET "/" for 127.0.0.1 at 2013-12-17 20:16:51 +0100
+ [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
+Processing by HomeController#index as HTML
+ Rendered home/index.html.erb within layouts/application (0.1ms)
+Completed 200 OK in 16.1ms (Views: 15.4ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/properties" for 127.0.0.1 at 2013-12-17 20:16:53 +0100
+Processing by PropertiesController#index as HTML
+ [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 3 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 3 AND (((roles.name = 'usr') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))[0m
+Redirected to http://0.0.0.0:3000/
+Completed 302 Found in 21.9ms (ActiveRecord: 0.6ms)
+
+
+Started GET "/" for 127.0.0.1 at 2013-12-17 20:16:53 +0100
+ [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
+Processing by HomeController#index as HTML
+ Rendered home/index.html.erb within layouts/application (0.1ms)
+Completed 200 OK in 16.7ms (Views: 16.4ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/vehicles" for 127.0.0.1 at 2013-12-17 20:16:54 +0100
+Processing by VehiclesController#index as HTML
+ [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 3 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 3 AND (((roles.name = 'usr') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))[0m
+Redirected to http://0.0.0.0:3000/
+Completed 302 Found in 20.3ms (ActiveRecord: 0.6ms)
+
+
+Started GET "/" for 127.0.0.1 at 2013-12-17 20:16:54 +0100
+ [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
+Processing by HomeController#index as HTML
+ Rendered home/index.html.erb within layouts/application (0.1ms)
+Completed 200 OK in 55.1ms (Views: 54.7ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/properties" for 127.0.0.1 at 2013-12-17 20:16:59 +0100
+Processing by PropertiesController#index as HTML
+ [1m[36mUser Load (0.8ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1[0m
+ [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 3 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 3 AND (((roles.name = 'usr') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))[0m
+Redirected to http://0.0.0.0:3000/
+Completed 302 Found in 149.8ms (ActiveRecord: 2.8ms)
+
+
+Started GET "/" for 127.0.0.1 at 2013-12-17 20:16:59 +0100
+ [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
+Processing by HomeController#index as HTML
+ Rendered home/index.html.erb within layouts/application (0.1ms)
+Completed 200 OK in 18.9ms (Views: 18.3ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/vehicles" for 127.0.0.1 at 2013-12-17 20:17:00 +0100
+Processing by VehiclesController#index as HTML
+ [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 3 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 3 AND (((roles.name = 'usr') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))[0m
+Redirected to http://0.0.0.0:3000/
+Completed 302 Found in 20.9ms (ActiveRecord: 0.6ms)
+
+
+Started GET "/" for 127.0.0.1 at 2013-12-17 20:17:00 +0100
+ [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
+Processing by HomeController#index as HTML
+ Rendered home/index.html.erb within layouts/application (0.1ms)
+Completed 200 OK in 15.9ms (Views: 15.0ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/properties" for 127.0.0.1 at 2013-12-17 20:17:01 +0100
+Processing by PropertiesController#index as HTML
+ [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 3 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 3 AND (((roles.name = 'usr') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))[0m
+Redirected to http://0.0.0.0:3000/
+Completed 302 Found in 17.5ms (ActiveRecord: 0.6ms)
+
+
+Started GET "/" for 127.0.0.1 at 2013-12-17 20:17:01 +0100
+ [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
+Processing by HomeController#index as HTML
+ Rendered home/index.html.erb within layouts/application (0.1ms)
+Completed 200 OK in 61.4ms (Views: 60.9ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/vehicles" for 127.0.0.1 at 2013-12-17 20:17:02 +0100
+Processing by VehiclesController#index as HTML
+ [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 3 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 3 AND (((roles.name = 'usr') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))[0m
+Redirected to http://0.0.0.0:3000/
+Completed 302 Found in 19.9ms (ActiveRecord: 0.6ms)
+
+
+Started GET "/" for 127.0.0.1 at 2013-12-17 20:17:02 +0100
+ [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
+Processing by HomeController#index as HTML
+ Rendered home/index.html.erb within layouts/application (0.1ms)
+Completed 200 OK in 17.6ms (Views: 17.3ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/home" for 127.0.0.1 at 2013-12-17 20:17:04 +0100
+Processing by HomeController#index as HTML
+ Rendered home/index.html.erb within layouts/application (0.1ms)
+ [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1[0m
+Completed 200 OK in 18.9ms (Views: 18.2ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/properties" for 127.0.0.1 at 2013-12-17 20:17:05 +0100
+Processing by PropertiesController#index as HTML
+ [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 3 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))[0m
+ [1m[35m (0.9ms)[0m SELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 3 AND (((roles.name = 'usr') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))
+Redirected to http://0.0.0.0:3000/
+Completed 302 Found in 20.0ms (ActiveRecord: 1.4ms)
+
+
+Started GET "/" for 127.0.0.1 at 2013-12-17 20:17:05 +0100
+ [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1[0m
+Processing by HomeController#index as HTML
+ Rendered home/index.html.erb within layouts/application (1.2ms)
+Completed 200 OK in 16.4ms (Views: 16.0ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/vehicles" for 127.0.0.1 at 2013-12-17 20:17:06 +0100
+Processing by VehiclesController#index as HTML
+ [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 3 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 3 AND (((roles.name = 'usr') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))
+Redirected to http://0.0.0.0:3000/
+Completed 302 Found in 20.8ms (ActiveRecord: 0.6ms)
+
+
+Started GET "/" for 127.0.0.1 at 2013-12-17 20:17:06 +0100
+ [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1[0m
+Processing by HomeController#index as HTML
+ Rendered home/index.html.erb within layouts/application (0.1ms)
+Completed 200 OK in 19.8ms (Views: 19.0ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/properties" for 127.0.0.1 at 2013-12-17 20:17:17 +0100
+Processing by PropertiesController#index as HTML
+ [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 3 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 3 AND (((roles.name = 'usr') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))
+Completed 500 Internal Server Error in 99.2ms
+
+NameError - undefined local variable or method `all' for #<Ability:0x00000004690948>:
+ app/models/ability.rb:10:in `initialize'
+ cancan (1.6.10) lib/cancan/controller_additions.rb:357:in `current_ability'
+ cancan (1.6.10) lib/cancan/controller_resource.rb:209:in `current_ability'
+ cancan (1.6.10) lib/cancan/controller_resource.rb:77:in `load_collection?'
+ cancan (1.6.10) lib/cancan/controller_resource.rb:33:in `load_resource'
+ cancan (1.6.10) lib/cancan/controller_resource.rb:25:in `load_and_authorize_resource'
+ cancan (1.6.10) lib/cancan/controller_resource.rb:10:in `block in add_before_filter'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:418:in `_run__3243454651262468281__process_action__4117674072278567077__callbacks'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:405:in `__run_callback'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:81:in `run_callbacks'
+ actionpack (3.2.15) lib/abstract_controller/callbacks.rb:17:in `process_action'
+ actionpack (3.2.15) lib/action_controller/metal/rescue.rb:29:in `process_action'
+ actionpack (3.2.15) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
+ activesupport (3.2.15) lib/active_support/notifications.rb:123:in `block in instrument'
+ activesupport (3.2.15) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
+ activesupport (3.2.15) lib/active_support/notifications.rb:123:in `instrument'
+ actionpack (3.2.15) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
+ actionpack (3.2.15) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
+ activerecord (3.2.15) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
+ actionpack (3.2.15) lib/abstract_controller/base.rb:121:in `process'
+ actionpack (3.2.15) lib/abstract_controller/rendering.rb:45:in `process'
+ actionpack (3.2.15) lib/action_controller/metal.rb:203:in `dispatch'
+ actionpack (3.2.15) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
+ actionpack (3.2.15) lib/action_controller/metal.rb:246:in `block in action'
+ actionpack (3.2.15) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
+ actionpack (3.2.15) lib/action_dispatch/routing/route_set.rb:36:in `call'
+ journey (1.0.4) lib/journey/router.rb:68:in `block in call'
+ journey (1.0.4) lib/journey/router.rb:56:in `call'
+ actionpack (3.2.15) lib/action_dispatch/routing/route_set.rb:608:in `call'
+ warden (1.2.3) lib/warden/manager.rb:35:in `block in call'
+ warden (1.2.3) lib/warden/manager.rb:34:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
+ rack (1.4.5) lib/rack/etag.rb:23:in `call'
+ rack (1.4.5) lib/rack/conditionalget.rb:25:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/head.rb:14:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/flash.rb:242:in `call'
+ rack (1.4.5) lib/rack/session/abstract/id.rb:210:in `context'
+ rack (1.4.5) lib/rack/session/abstract/id.rb:205:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/cookies.rb:341:in `call'
+ activerecord (3.2.15) lib/active_record/query_cache.rb:64:in `call'
+ activerecord (3.2.15) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:405:in `_run__3004610597406491206__call__2215874786234277655__callbacks'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:405:in `__run_callback'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:81:in `run_callbacks'
+ actionpack (3.2.15) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/reloader.rb:65:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
+ better_errors (1.0.1) lib/better_errors/middleware.rb:84:in `protected_app_call'
+ better_errors (1.0.1) lib/better_errors/middleware.rb:79:in `better_errors_call'
+ better_errors (1.0.1) lib/better_errors/middleware.rb:56:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
+ railties (3.2.15) lib/rails/rack/logger.rb:32:in `call_app'
+ railties (3.2.15) lib/rails/rack/logger.rb:16:in `block in call'
+ activesupport (3.2.15) lib/active_support/tagged_logging.rb:22:in `tagged'
+ railties (3.2.15) lib/rails/rack/logger.rb:16:in `call'
+ quiet_assets (1.0.2) lib/quiet_assets.rb:18:in `call_with_quiet_assets'
+ actionpack (3.2.15) lib/action_dispatch/middleware/request_id.rb:22:in `call'
+ rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
+ rack (1.4.5) lib/rack/runtime.rb:17:in `call'
+ activesupport (3.2.15) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
+ rack (1.4.5) lib/rack/lock.rb:15:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/static.rb:63:in `call'
+ railties (3.2.15) lib/rails/engine.rb:484:in `call'
+ railties (3.2.15) lib/rails/application.rb:231:in `call'
+ rack (1.4.5) lib/rack/content_length.rb:14:in `call'
+ railties (3.2.15) lib/rails/rack/log_tailer.rb:17:in `call'
+ thin (1.6.1) lib/thin/connection.rb:82:in `block in pre_process'
+ thin (1.6.1) lib/thin/connection.rb:80:in `pre_process'
+ thin (1.6.1) lib/thin/connection.rb:55:in `process'
+ thin (1.6.1) lib/thin/connection.rb:41:in `receive_data'
+ eventmachine (1.0.3) lib/eventmachine.rb:187:in `run'
+ thin (1.6.1) lib/thin/backends/base.rb:73:in `start'
+ thin (1.6.1) lib/thin/server.rb:162:in `start'
+ rack (1.4.5) lib/rack/handler/thin.rb:13:in `run'
+ rack (1.4.5) lib/rack/server.rb:268:in `start'
+ railties (3.2.15) lib/rails/commands/server.rb:70:in `start'
+ railties (3.2.15) lib/rails/commands.rb:55:in `block in <top (required)>'
+ railties (3.2.15) lib/rails/commands.rb:50:in `<top (required)>'
+ script/rails:6:in `<main>'
+ script/rails:0:in `<main>'
+
+
+
+Started POST "/__better_errors/22880740/variables" for 127.0.0.1 at 2013-12-17 20:17:17 +0100
+
+
+Started GET "/vehicles" for 127.0.0.1 at 2013-12-17 20:17:20 +0100
+Processing by VehiclesController#index as HTML
+ [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 3 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 3 AND (((roles.name = 'usr') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))[0m
+Completed 500 Internal Server Error in 11.4ms
+
+NameError - undefined local variable or method `all' for #<Ability:0x00000003fc4128>:
+ app/models/ability.rb:10:in `initialize'
+ cancan (1.6.10) lib/cancan/controller_additions.rb:357:in `current_ability'
+ cancan (1.6.10) lib/cancan/controller_resource.rb:209:in `current_ability'
+ cancan (1.6.10) lib/cancan/controller_resource.rb:77:in `load_collection?'
+ cancan (1.6.10) lib/cancan/controller_resource.rb:33:in `load_resource'
+ cancan (1.6.10) lib/cancan/controller_resource.rb:25:in `load_and_authorize_resource'
+ cancan (1.6.10) lib/cancan/controller_resource.rb:10:in `block in add_before_filter'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:418:in `_run__1874716839230934629__process_action__4117674072278567077__callbacks'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:405:in `__run_callback'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:81:in `run_callbacks'
+ actionpack (3.2.15) lib/abstract_controller/callbacks.rb:17:in `process_action'
+ actionpack (3.2.15) lib/action_controller/metal/rescue.rb:29:in `process_action'
+ actionpack (3.2.15) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
+ activesupport (3.2.15) lib/active_support/notifications.rb:123:in `block in instrument'
+ activesupport (3.2.15) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
+ activesupport (3.2.15) lib/active_support/notifications.rb:123:in `instrument'
+ actionpack (3.2.15) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
+ actionpack (3.2.15) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
+ activerecord (3.2.15) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
+ actionpack (3.2.15) lib/abstract_controller/base.rb:121:in `process'
+ actionpack (3.2.15) lib/abstract_controller/rendering.rb:45:in `process'
+ actionpack (3.2.15) lib/action_controller/metal.rb:203:in `dispatch'
+ actionpack (3.2.15) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
+ actionpack (3.2.15) lib/action_controller/metal.rb:246:in `block in action'
+ actionpack (3.2.15) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
+ actionpack (3.2.15) lib/action_dispatch/routing/route_set.rb:36:in `call'
+ journey (1.0.4) lib/journey/router.rb:68:in `block in call'
+ journey (1.0.4) lib/journey/router.rb:56:in `call'
+ actionpack (3.2.15) lib/action_dispatch/routing/route_set.rb:608:in `call'
+ warden (1.2.3) lib/warden/manager.rb:35:in `block in call'
+ warden (1.2.3) lib/warden/manager.rb:34:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
+ rack (1.4.5) lib/rack/etag.rb:23:in `call'
+ rack (1.4.5) lib/rack/conditionalget.rb:25:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/head.rb:14:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/flash.rb:242:in `call'
+ rack (1.4.5) lib/rack/session/abstract/id.rb:210:in `context'
+ rack (1.4.5) lib/rack/session/abstract/id.rb:205:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/cookies.rb:341:in `call'
+ activerecord (3.2.15) lib/active_record/query_cache.rb:64:in `call'
+ activerecord (3.2.15) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:405:in `_run__3004610597406491206__call__2215874786234277655__callbacks'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:405:in `__run_callback'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:81:in `run_callbacks'
+ actionpack (3.2.15) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/reloader.rb:65:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
+ better_errors (1.0.1) lib/better_errors/middleware.rb:84:in `protected_app_call'
+ better_errors (1.0.1) lib/better_errors/middleware.rb:79:in `better_errors_call'
+ better_errors (1.0.1) lib/better_errors/middleware.rb:56:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
+ railties (3.2.15) lib/rails/rack/logger.rb:32:in `call_app'
+ railties (3.2.15) lib/rails/rack/logger.rb:16:in `block in call'
+ activesupport (3.2.15) lib/active_support/tagged_logging.rb:22:in `tagged'
+ railties (3.2.15) lib/rails/rack/logger.rb:16:in `call'
+ quiet_assets (1.0.2) lib/quiet_assets.rb:18:in `call_with_quiet_assets'
+ actionpack (3.2.15) lib/action_dispatch/middleware/request_id.rb:22:in `call'
+ rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
+ rack (1.4.5) lib/rack/runtime.rb:17:in `call'
+ activesupport (3.2.15) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
+ rack (1.4.5) lib/rack/lock.rb:15:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/static.rb:63:in `call'
+ railties (3.2.15) lib/rails/engine.rb:484:in `call'
+ railties (3.2.15) lib/rails/application.rb:231:in `call'
+ rack (1.4.5) lib/rack/content_length.rb:14:in `call'
+ railties (3.2.15) lib/rails/rack/log_tailer.rb:17:in `call'
+ thin (1.6.1) lib/thin/connection.rb:82:in `block in pre_process'
+ thin (1.6.1) lib/thin/connection.rb:80:in `pre_process'
+ thin (1.6.1) lib/thin/connection.rb:55:in `process'
+ thin (1.6.1) lib/thin/connection.rb:41:in `receive_data'
+ eventmachine (1.0.3) lib/eventmachine.rb:187:in `run'
+ thin (1.6.1) lib/thin/backends/base.rb:73:in `start'
+ thin (1.6.1) lib/thin/server.rb:162:in `start'
+ rack (1.4.5) lib/rack/handler/thin.rb:13:in `run'
+ rack (1.4.5) lib/rack/server.rb:268:in `start'
+ railties (3.2.15) lib/rails/commands/server.rb:70:in `start'
+ railties (3.2.15) lib/rails/commands.rb:55:in `block in <top (required)>'
+ railties (3.2.15) lib/rails/commands.rb:50:in `<top (required)>'
+ script/rails:6:in `<main>'
+ script/rails:0:in `<main>'
+
+
+
+Started POST "/__better_errors/35279200/variables" for 127.0.0.1 at 2013-12-17 20:17:20 +0100
+
+
+Started GET "/properties" for 127.0.0.1 at 2013-12-17 20:17:27 +0100
+Processing by PropertiesController#index as HTML
+Completed 500 Internal Server Error in 5.8ms
+
+SyntaxError - /home/clinik/App/rails_projects/car_app/app/models/ability.rb:10: syntax error, unexpected ':', expecting keyword_end
+ can :manage:all
+ ^:
+ activesupport (3.2.15) lib/active_support/dependencies.rb:469:in `'
+ activesupport (3.2.15) lib/active_support/dependencies.rb:469:in `block in load_file'
+ activesupport (3.2.15) lib/active_support/dependencies.rb:639:in `new_constants_in'
+ activesupport (3.2.15) lib/active_support/dependencies.rb:468:in `load_file'
+ activesupport (3.2.15) lib/active_support/dependencies.rb:353:in `require_or_load'
+ activesupport (3.2.15) lib/active_support/dependencies.rb:502:in `load_missing_constant'
+ activesupport (3.2.15) lib/active_support/dependencies.rb:192:in `block in const_missing'
+ activesupport (3.2.15) lib/active_support/dependencies.rb:190:in `const_missing'
+ cancan (1.6.10) lib/cancan/controller_additions.rb:357:in `current_ability'
+ cancan (1.6.10) lib/cancan/controller_resource.rb:209:in `current_ability'
+ cancan (1.6.10) lib/cancan/controller_resource.rb:77:in `load_collection?'
+ cancan (1.6.10) lib/cancan/controller_resource.rb:33:in `load_resource'
+ cancan (1.6.10) lib/cancan/controller_resource.rb:25:in `load_and_authorize_resource'
+ cancan (1.6.10) lib/cancan/controller_resource.rb:10:in `block in add_before_filter'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:418:in `_run__3243454651262468281__process_action__4117674072278567077__callbacks'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:405:in `__run_callback'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:81:in `run_callbacks'
+ actionpack (3.2.15) lib/abstract_controller/callbacks.rb:17:in `process_action'
+ actionpack (3.2.15) lib/action_controller/metal/rescue.rb:29:in `process_action'
+ actionpack (3.2.15) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
+ activesupport (3.2.15) lib/active_support/notifications.rb:123:in `block in instrument'
+ activesupport (3.2.15) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
+ activesupport (3.2.15) lib/active_support/notifications.rb:123:in `instrument'
+ actionpack (3.2.15) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
+ actionpack (3.2.15) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
+ activerecord (3.2.15) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
+ actionpack (3.2.15) lib/abstract_controller/base.rb:121:in `process'
+ actionpack (3.2.15) lib/abstract_controller/rendering.rb:45:in `process'
+ actionpack (3.2.15) lib/action_controller/metal.rb:203:in `dispatch'
+ actionpack (3.2.15) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
+ actionpack (3.2.15) lib/action_controller/metal.rb:246:in `block in action'
+ actionpack (3.2.15) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
+ actionpack (3.2.15) lib/action_dispatch/routing/route_set.rb:36:in `call'
+ journey (1.0.4) lib/journey/router.rb:68:in `block in call'
+ journey (1.0.4) lib/journey/router.rb:56:in `call'
+ actionpack (3.2.15) lib/action_dispatch/routing/route_set.rb:608:in `call'
+ warden (1.2.3) lib/warden/manager.rb:35:in `block in call'
+ warden (1.2.3) lib/warden/manager.rb:34:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
+ rack (1.4.5) lib/rack/etag.rb:23:in `call'
+ rack (1.4.5) lib/rack/conditionalget.rb:25:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/head.rb:14:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/flash.rb:242:in `call'
+ rack (1.4.5) lib/rack/session/abstract/id.rb:210:in `context'
+ rack (1.4.5) lib/rack/session/abstract/id.rb:205:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/cookies.rb:341:in `call'
+ activerecord (3.2.15) lib/active_record/query_cache.rb:64:in `call'
+ activerecord (3.2.15) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:405:in `_run__3004610597406491206__call__2215874786234277655__callbacks'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:405:in `__run_callback'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:81:in `run_callbacks'
+ actionpack (3.2.15) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/reloader.rb:65:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
+ better_errors (1.0.1) lib/better_errors/middleware.rb:84:in `protected_app_call'
+ better_errors (1.0.1) lib/better_errors/middleware.rb:79:in `better_errors_call'
+ better_errors (1.0.1) lib/better_errors/middleware.rb:56:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
+ railties (3.2.15) lib/rails/rack/logger.rb:32:in `call_app'
+ railties (3.2.15) lib/rails/rack/logger.rb:16:in `block in call'
+ activesupport (3.2.15) lib/active_support/tagged_logging.rb:22:in `tagged'
+ railties (3.2.15) lib/rails/rack/logger.rb:16:in `call'
+ quiet_assets (1.0.2) lib/quiet_assets.rb:18:in `call_with_quiet_assets'
+ actionpack (3.2.15) lib/action_dispatch/middleware/request_id.rb:22:in `call'
+ rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
+ rack (1.4.5) lib/rack/runtime.rb:17:in `call'
+ activesupport (3.2.15) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
+ rack (1.4.5) lib/rack/lock.rb:15:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/static.rb:63:in `call'
+ railties (3.2.15) lib/rails/engine.rb:484:in `call'
+ railties (3.2.15) lib/rails/application.rb:231:in `call'
+ rack (1.4.5) lib/rack/content_length.rb:14:in `call'
+ railties (3.2.15) lib/rails/rack/log_tailer.rb:17:in `call'
+ thin (1.6.1) lib/thin/connection.rb:82:in `block in pre_process'
+ thin (1.6.1) lib/thin/connection.rb:80:in `pre_process'
+ thin (1.6.1) lib/thin/connection.rb:55:in `process'
+ thin (1.6.1) lib/thin/connection.rb:41:in `receive_data'
+ eventmachine (1.0.3) lib/eventmachine.rb:187:in `run'
+ thin (1.6.1) lib/thin/backends/base.rb:73:in `start'
+ thin (1.6.1) lib/thin/server.rb:162:in `start'
+ rack (1.4.5) lib/rack/handler/thin.rb:13:in `run'
+ rack (1.4.5) lib/rack/server.rb:268:in `start'
+ railties (3.2.15) lib/rails/commands/server.rb:70:in `start'
+ railties (3.2.15) lib/rails/commands.rb:55:in `block in <top (required)>'
+ railties (3.2.15) lib/rails/commands.rb:50:in `<top (required)>'
+ script/rails:6:in `<main>'
+ script/rails:0:in `<main>'
+
+
+
+Started POST "/__better_errors/36494460/variables" for 127.0.0.1 at 2013-12-17 20:17:27 +0100
+
+
+Started GET "/home" for 127.0.0.1 at 2013-12-17 20:17:34 +0100
+Processing by HomeController#index as HTML
+ Rendered home/index.html.erb within layouts/application (0.1ms)
+ [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
+Completed 200 OK in 112.4ms (Views: 110.7ms | ActiveRecord: 1.0ms)
+
+
+Started GET "/vehicles" for 127.0.0.1 at 2013-12-17 20:17:35 +0100
+Processing by VehiclesController#index as HTML
+Completed 500 Internal Server Error in 7.6ms
+
+SyntaxError - /home/clinik/App/rails_projects/car_app/app/models/ability.rb:10: syntax error, unexpected ':', expecting keyword_end
+ can :manage:all
+ ^:
+ activesupport (3.2.15) lib/active_support/dependencies.rb:469:in `'
+ activesupport (3.2.15) lib/active_support/dependencies.rb:469:in `block in load_file'
+ activesupport (3.2.15) lib/active_support/dependencies.rb:639:in `new_constants_in'
+ activesupport (3.2.15) lib/active_support/dependencies.rb:468:in `load_file'
+ activesupport (3.2.15) lib/active_support/dependencies.rb:353:in `require_or_load'
+ activesupport (3.2.15) lib/active_support/dependencies.rb:502:in `load_missing_constant'
+ activesupport (3.2.15) lib/active_support/dependencies.rb:192:in `block in const_missing'
+ activesupport (3.2.15) lib/active_support/dependencies.rb:190:in `const_missing'
+ cancan (1.6.10) lib/cancan/controller_additions.rb:357:in `current_ability'
+ cancan (1.6.10) lib/cancan/controller_resource.rb:209:in `current_ability'
+ cancan (1.6.10) lib/cancan/controller_resource.rb:77:in `load_collection?'
+ cancan (1.6.10) lib/cancan/controller_resource.rb:33:in `load_resource'
+ cancan (1.6.10) lib/cancan/controller_resource.rb:25:in `load_and_authorize_resource'
+ cancan (1.6.10) lib/cancan/controller_resource.rb:10:in `block in add_before_filter'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:418:in `_run__1874716839230934629__process_action__4117674072278567077__callbacks'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:405:in `__run_callback'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:81:in `run_callbacks'
+ actionpack (3.2.15) lib/abstract_controller/callbacks.rb:17:in `process_action'
+ actionpack (3.2.15) lib/action_controller/metal/rescue.rb:29:in `process_action'
+ actionpack (3.2.15) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
+ activesupport (3.2.15) lib/active_support/notifications.rb:123:in `block in instrument'
+ activesupport (3.2.15) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
+ activesupport (3.2.15) lib/active_support/notifications.rb:123:in `instrument'
+ actionpack (3.2.15) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
+ actionpack (3.2.15) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
+ activerecord (3.2.15) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
+ actionpack (3.2.15) lib/abstract_controller/base.rb:121:in `process'
+ actionpack (3.2.15) lib/abstract_controller/rendering.rb:45:in `process'
+ actionpack (3.2.15) lib/action_controller/metal.rb:203:in `dispatch'
+ actionpack (3.2.15) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
+ actionpack (3.2.15) lib/action_controller/metal.rb:246:in `block in action'
+ actionpack (3.2.15) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
+ actionpack (3.2.15) lib/action_dispatch/routing/route_set.rb:36:in `call'
+ journey (1.0.4) lib/journey/router.rb:68:in `block in call'
+ journey (1.0.4) lib/journey/router.rb:56:in `call'
+ actionpack (3.2.15) lib/action_dispatch/routing/route_set.rb:608:in `call'
+ warden (1.2.3) lib/warden/manager.rb:35:in `block in call'
+ warden (1.2.3) lib/warden/manager.rb:34:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
+ rack (1.4.5) lib/rack/etag.rb:23:in `call'
+ rack (1.4.5) lib/rack/conditionalget.rb:25:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/head.rb:14:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/flash.rb:242:in `call'
+ rack (1.4.5) lib/rack/session/abstract/id.rb:210:in `context'
+ rack (1.4.5) lib/rack/session/abstract/id.rb:205:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/cookies.rb:341:in `call'
+ activerecord (3.2.15) lib/active_record/query_cache.rb:64:in `call'
+ activerecord (3.2.15) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:405:in `_run__3004610597406491206__call__2215874786234277655__callbacks'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:405:in `__run_callback'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:81:in `run_callbacks'
+ actionpack (3.2.15) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/reloader.rb:65:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
+ better_errors (1.0.1) lib/better_errors/middleware.rb:84:in `protected_app_call'
+ better_errors (1.0.1) lib/better_errors/middleware.rb:79:in `better_errors_call'
+ better_errors (1.0.1) lib/better_errors/middleware.rb:56:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
+ railties (3.2.15) lib/rails/rack/logger.rb:32:in `call_app'
+ railties (3.2.15) lib/rails/rack/logger.rb:16:in `block in call'
+ activesupport (3.2.15) lib/active_support/tagged_logging.rb:22:in `tagged'
+ railties (3.2.15) lib/rails/rack/logger.rb:16:in `call'
+ quiet_assets (1.0.2) lib/quiet_assets.rb:18:in `call_with_quiet_assets'
+ actionpack (3.2.15) lib/action_dispatch/middleware/request_id.rb:22:in `call'
+ rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
+ rack (1.4.5) lib/rack/runtime.rb:17:in `call'
+ activesupport (3.2.15) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
+ rack (1.4.5) lib/rack/lock.rb:15:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/static.rb:63:in `call'
+ railties (3.2.15) lib/rails/engine.rb:484:in `call'
+ railties (3.2.15) lib/rails/application.rb:231:in `call'
+ rack (1.4.5) lib/rack/content_length.rb:14:in `call'
+ railties (3.2.15) lib/rails/rack/log_tailer.rb:17:in `call'
+ thin (1.6.1) lib/thin/connection.rb:82:in `block in pre_process'
+ thin (1.6.1) lib/thin/connection.rb:80:in `pre_process'
+ thin (1.6.1) lib/thin/connection.rb:55:in `process'
+ thin (1.6.1) lib/thin/connection.rb:41:in `receive_data'
+ eventmachine (1.0.3) lib/eventmachine.rb:187:in `run'
+ thin (1.6.1) lib/thin/backends/base.rb:73:in `start'
+ thin (1.6.1) lib/thin/server.rb:162:in `start'
+ rack (1.4.5) lib/rack/handler/thin.rb:13:in `run'
+ rack (1.4.5) lib/rack/server.rb:268:in `start'
+ railties (3.2.15) lib/rails/commands/server.rb:70:in `start'
+ railties (3.2.15) lib/rails/commands.rb:55:in `block in <top (required)>'
+ railties (3.2.15) lib/rails/commands.rb:50:in `<top (required)>'
+ script/rails:6:in `<main>'
+ script/rails:0:in `<main>'
+
+
+
+Started POST "/__better_errors/31608080/variables" for 127.0.0.1 at 2013-12-17 20:17:35 +0100
+
+
+Started GET "/vehicles" for 127.0.0.1 at 2013-12-17 20:17:45 +0100
+Processing by VehiclesController#index as HTML
+ [1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 3 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 3 AND (((roles.name = 'usr') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))[0m
+ [1m[35mVehicle Load (0.1ms)[0m SELECT "vehicles".* FROM "vehicles"
+ [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ Rendered vehicles/index.html.erb within layouts/application (8.1ms)
+Completed 200 OK in 270.6ms (Views: 89.6ms | ActiveRecord: 2.9ms)
+
+
+Started GET "/properties" for 127.0.0.1 at 2013-12-17 20:17:48 +0100
+Processing by PropertiesController#index as HTML
+ [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 3 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 3 AND (((roles.name = 'usr') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))
+ [1m[36mProperty Load (0.1ms)[0m [1mSELECT "properties".* FROM "properties" [0m
+ Rendered properties/index.html.erb within layouts/application (4.0ms)
+Completed 200 OK in 85.8ms (Views: 23.4ms | ActiveRecord: 1.1ms)
+
+
+Started GET "/properties" for 127.0.0.1 at 2013-12-17 20:17:58 +0100
+Processing by PropertiesController#index as HTML
+ [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 3 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 3 AND (((roles.name = 'usr') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))
+ [1m[36mProperty Load (0.2ms)[0m [1mSELECT "properties".* FROM "properties" [0m
+ Rendered properties/index.html.erb within layouts/application (2.9ms)
+Completed 200 OK in 192.6ms (Views: 20.4ms | ActiveRecord: 2.5ms)
+
+
+Started GET "/vehicles" for 127.0.0.1 at 2013-12-17 20:17:59 +0100
+Processing by VehiclesController#index as HTML
+ [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 3 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 3 AND (((roles.name = 'usr') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))
+ [1m[36mVehicle Load (0.1ms)[0m [1mSELECT "vehicles".* FROM "vehicles" [0m
+ [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ Rendered vehicles/index.html.erb within layouts/application (30.9ms)
+Completed 200 OK in 124.2ms (Views: 92.2ms | ActiveRecord: 1.4ms)
+
+
+Started GET "/properties" for 127.0.0.1 at 2013-12-17 20:18:01 +0100
+Processing by PropertiesController#index as HTML
+ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 3 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 3 AND (((roles.name = 'usr') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))[0m
+ [1m[35mProperty Load (0.2ms)[0m SELECT "properties".* FROM "properties"
+ Rendered properties/index.html.erb within layouts/application (2.4ms)
+Completed 200 OK in 37.2ms (Views: 18.6ms | ActiveRecord: 0.8ms)
+
+
+Started GET "/properties" for 127.0.0.1 at 2013-12-17 20:18:11 +0100
+Processing by PropertiesController#index as HTML
+ [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 3 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 3 AND (((roles.name = 'usr') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))[0m
+ [1m[35mProperty Load (0.1ms)[0m SELECT "properties".* FROM "properties"
+ Rendered properties/index.html.erb within layouts/application (3.5ms)
+Completed 200 OK in 202.0ms (Views: 36.8ms | ActiveRecord: 2.4ms)
+
+
+Started GET "/vehicles" for 127.0.0.1 at 2013-12-17 20:18:12 +0100
+Processing by VehiclesController#index as HTML
+ [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1[0m
+ [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 3 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 3 AND (((roles.name = 'usr') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))[0m
+ [1m[35mVehicle Load (0.2ms)[0m SELECT "vehicles".* FROM "vehicles"
+ [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ Rendered vehicles/index.html.erb within layouts/application (7.6ms)
+Completed 200 OK in 98.6ms (Views: 65.6ms | ActiveRecord: 1.5ms)
+
+
+Started GET "/properties" for 127.0.0.1 at 2013-12-17 20:18:13 +0100
+Processing by PropertiesController#index as HTML
+ [1m[35mUser Load (0.4ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 3 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 3 AND (((roles.name = 'usr') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))
+ [1m[36mProperty Load (0.1ms)[0m [1mSELECT "properties".* FROM "properties" [0m
+ Rendered properties/index.html.erb within layouts/application (2.4ms)
+Completed 200 OK in 39.6ms (Views: 21.5ms | ActiveRecord: 0.9ms)
+
+
+Started GET "/properties/new" for 127.0.0.1 at 2013-12-17 20:18:18 +0100
+Processing by PropertiesController#new as HTML
+ [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 3 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 3 AND (((roles.name = 'usr') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))
+ Rendered properties/_form.html.erb (4.2ms)
+ Rendered properties/new.html.erb within layouts/application (17.2ms)
+Completed 200 OK in 59.1ms (Views: 43.0ms | ActiveRecord: 0.7ms)
+
+
+Started DELETE "/users/sign_out" for 127.0.0.1 at 2013-12-17 20:18:23 +0100
+Processing by Devise::SessionsController#destroy as HTML
+ Parameters: {"authenticity_token"=>"z0A0CgJcYkLNl2O6VDC2EUU064azG275fv6m0661gyM="}
+ [1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 3 LIMIT 1[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.1ms)[0m [1mcommit transaction[0m
+Redirected to http://0.0.0.0:3000/
+Completed 302 Found in 6.1ms (ActiveRecord: 0.2ms)
+
+
+Started GET "/" for 127.0.0.1 at 2013-12-17 20:18:23 +0100
+Processing by HomeController#index as HTML
+ Rendered home/index.html.erb within layouts/application (0.1ms)
+Completed 200 OK in 89.5ms (Views: 88.9ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/users/sign_in" for 127.0.0.1 at 2013-12-17 20:18:24 +0100
+Processing by Devise::SessionsController#new as HTML
+ Rendered /root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/devise-3.2.2/app/views/devise/shared/_links.erb (0.2ms)
+ Rendered /root/.rvm/gems/ruby-1.9.3-p484@CarBantarto/gems/devise-3.2.2/app/views/devise/sessions/new.html.erb within layouts/application (6.4ms)
+Completed 200 OK in 68.5ms (Views: 66.8ms | ActiveRecord: 0.0ms)
+
+
+Started POST "/users/sign_in" for 127.0.0.1 at 2013-12-17 20:19:03 +0100
+Processing by Devise::SessionsController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"ZcGnEZtzbcEuHg8qAP1kyP1JMKf200vrdeHvt0tb4IU=", "user"=>{"email"=>"m@m.com", "password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Sign in"}
+ [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."email" = 'm@m.com' LIMIT 1
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35m (0.5ms)[0m UPDATE "users" SET "last_sign_in_at" = '2013-12-17 19:13:14.845658', "current_sign_in_at" = '2013-12-17 19:19:03.441734', "sign_in_count" = 13, "updated_at" = '2013-12-17 19:19:03.443019' WHERE "users"."id" = 1
+ [1m[36m (24.1ms)[0m [1mcommit transaction[0m
+Redirected to http://0.0.0.0:3000/
+Completed 302 Found in 127.1ms (ActiveRecord: 0.0ms)
+
+
+Started GET "/" for 127.0.0.1 at 2013-12-17 20:19:03 +0100
+ [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+Processing by HomeController#index as HTML
+ Rendered home/index.html.erb within layouts/application (0.1ms)
+Completed 200 OK in 16.0ms (Views: 15.7ms | ActiveRecord: 0.0ms)
+
+
+Started GET "/properties" for 127.0.0.1 at 2013-12-17 20:19:14 +0100
+Processing by PropertiesController#index as HTML
+ [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))
+ [1m[36mProperty Load (0.2ms)[0m [1mSELECT "properties".* FROM "properties" [0m
+ Rendered properties/index.html.erb within layouts/application (2.9ms)
+Completed 200 OK in 34.7ms (Views: 20.3ms | ActiveRecord: 0.7ms)
+
+
+Started GET "/properties/new" for 127.0.0.1 at 2013-12-17 20:19:17 +0100
+Processing by PropertiesController#new as HTML
+ [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))[0m
+ Rendered properties/_form.html.erb (2.1ms)
+ Rendered properties/new.html.erb within layouts/application (3.6ms)
+Completed 200 OK in 32.2ms (Views: 18.8ms | ActiveRecord: 0.4ms)
+
+
+Started POST "/properties" for 127.0.0.1 at 2013-12-17 20:19:19 +0100
+Processing by PropertiesController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"4lWdj95wcGN/cf0FcPGmja5mgFGccAupNXK1GDHpqCA=", "property"=>{"name"=>"asd"}, "commit"=>"Create Property"}
+ [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "properties" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Tue, 17 Dec 2013 19:19:19 UTC +00:00], ["name", "asd"], ["updated_at", Tue, 17 Dec 2013 19:19:19 UTC +00:00]]
+ [1m[35m (12.5ms)[0m commit transaction
+Redirected to http://0.0.0.0:3000/properties/3
+Completed 302 Found in 32.3ms (ActiveRecord: 13.5ms)
+
+
+Started GET "/properties/3" for 127.0.0.1 at 2013-12-17 20:19:19 +0100
+Processing by PropertiesController#show as HTML
+ Parameters: {"id"=>"3"}
+ [1m[36mProperty Load (0.3ms)[0m [1mSELECT "properties".* FROM "properties" WHERE "properties"."id" = ? LIMIT 1[0m [["id", "3"]]
+ [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT "properties".* FROM "properties" WHERE "properties"."id" = ? LIMIT 1 [["id", "3"]]
+ Rendered properties/show.html.erb within layouts/application (1.7ms)
+Completed 200 OK in 85.6ms (Views: 70.5ms | ActiveRecord: 0.7ms)
+
+
+Started GET "/properties" for 127.0.0.1 at 2013-12-17 20:19:27 +0100
+Processing by PropertiesController#index as HTML
+ [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))
+ [1m[36mProperty Load (0.2ms)[0m [1mSELECT "properties".* FROM "properties" [0m
+ Rendered properties/index.html.erb within layouts/application (3.1ms)
+Completed 200 OK in 76.3ms (Views: 61.4ms | ActiveRecord: 0.7ms)
+
+
+Started DELETE "/properties/1" for 127.0.0.1 at 2013-12-17 20:19:31 +0100
+Processing by PropertiesController#destroy as HTML
+ Parameters: {"authenticity_token"=>"4lWdj95wcGN/cf0FcPGmja5mgFGccAupNXK1GDHpqCA=", "id"=>"1"}
+ [1m[35mProperty Load (0.1ms)[0m SELECT "properties".* FROM "properties" WHERE "properties"."id" = ? LIMIT 1 [["id", "1"]]
+ [1m[36mUser Load (4.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ [1m[35m (0.6ms)[0m SELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))
+ [1m[36mCACHE (0.1ms)[0m [1mSELECT "properties".* FROM "properties" WHERE "properties"."id" = ? LIMIT 1[0m [["id", "1"]]
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mVehicle Load (0.1ms)[0m [1mSELECT "vehicles".* FROM "vehicles" INNER JOIN "properties_vehicles" ON "vehicles"."id" = "properties_vehicles"."vehicle_id" WHERE "properties_vehicles"."property_id" = 1[0m
+ [1m[35mSQL (0.6ms)[0m DELETE FROM "properties" WHERE "properties"."id" = ? [["id", 1]]
+ [1m[36m (21.8ms)[0m [1mcommit transaction[0m
+Redirected to http://0.0.0.0:3000/properties
+Completed 302 Found in 49.3ms (ActiveRecord: 28.8ms)
+
+
+Started GET "/properties" for 127.0.0.1 at 2013-12-17 20:19:31 +0100
+Processing by PropertiesController#index as HTML
+ [1m[35mUser Load (0.9ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))[0m
+ [1m[35mProperty Load (0.2ms)[0m SELECT "properties".* FROM "properties"
+ Rendered properties/index.html.erb within layouts/application (3.2ms)
+Completed 200 OK in 37.1ms (Views: 21.1ms | ActiveRecord: 1.4ms)
+
+
+Started DELETE "/properties/2" for 127.0.0.1 at 2013-12-17 20:19:33 +0100
+Processing by PropertiesController#destroy as HTML
+ Parameters: {"authenticity_token"=>"4lWdj95wcGN/cf0FcPGmja5mgFGccAupNXK1GDHpqCA=", "id"=>"2"}
+ [1m[36mProperty Load (0.2ms)[0m [1mSELECT "properties".* FROM "properties" WHERE "properties"."id" = ? LIMIT 1[0m [["id", "2"]]
+ [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ [1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT "properties".* FROM "properties" WHERE "properties"."id" = ? LIMIT 1 [["id", "2"]]
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mVehicle Load (0.2ms)[0m SELECT "vehicles".* FROM "vehicles" INNER JOIN "properties_vehicles" ON "vehicles"."id" = "properties_vehicles"."vehicle_id" WHERE "properties_vehicles"."property_id" = 2
+ [1m[36mSQL (1.0ms)[0m [1mDELETE FROM "properties" WHERE "properties"."id" = ?[0m [["id", 2]]
+ [1m[35m (40.9ms)[0m commit transaction
+Redirected to http://0.0.0.0:3000/properties
+Completed 302 Found in 73.2ms (ActiveRecord: 43.0ms)
+
+
+Started GET "/properties" for 127.0.0.1 at 2013-12-17 20:19:33 +0100
+Processing by PropertiesController#index as HTML
+ [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ [1m[35m (0.5ms)[0m SELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))
+ [1m[36mProperty Load (0.2ms)[0m [1mSELECT "properties".* FROM "properties" [0m
+ Rendered properties/index.html.erb within layouts/application (2.3ms)
+Completed 200 OK in 40.0ms (Views: 19.1ms | ActiveRecord: 1.0ms)
+
+
+Started GET "/vehicles" for 127.0.0.1 at 2013-12-17 20:19:35 +0100
+Processing by VehiclesController#index as HTML
+ [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))[0m
+ [1m[35mVehicle Load (0.2ms)[0m SELECT "vehicles".* FROM "vehicles"
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ Rendered vehicles/index.html.erb within layouts/application (4.4ms)
+Completed 200 OK in 36.5ms (Views: 20.6ms | ActiveRecord: 0.6ms)
+
+
+Started GET "/vehicles/new" for 127.0.0.1 at 2013-12-17 20:19:37 +0100
+Processing by VehiclesController#new as HTML
+ [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))[0m
+------------
+#<User:0x000000046934e0>
+ [1m[35mProperty Load (0.2ms)[0m SELECT "properties".* FROM "properties"
+ Rendered vehicles/_form.html.erb (6.3ms)
+ Rendered vehicles/new.html.erb within layouts/application (8.0ms)
+Completed 200 OK in 53.4ms (Views: 37.2ms | ActiveRecord: 0.7ms)
+
+
+Started POST "/vehicles" for 127.0.0.1 at 2013-12-17 20:25:37 +0100
+Processing by VehiclesController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"4lWdj95wcGN/cf0FcPGmja5mgFGccAupNXK1GDHpqCA=", "vehicle"=>{"manufacturer"=>"Skoda", "subtype"=>"", "year"=>"", "color"=>"", "id"=>"3"}, "commit"=>"Create Vehicle"}
+ [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))
+{"utf8"=>"✓", "authenticity_token"=>"4lWdj95wcGN/cf0FcPGmja5mgFGccAupNXK1GDHpqCA=", "vehicle"=>{"manufacturer"=>"Skoda", "subtype"=>"", "year"=>"", "color"=>"", "id"=>"3"}, "commit"=>"Create Vehicle", "action"=>"create", "controller"=>"vehicles"}
+ [1m[36m (1.3ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.6ms)[0m INSERT INTO "vehicles" ("color", "created_at", "manufacturer", "subtype", "updated_at", "user", "user_id", "year") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["color", ""], ["created_at", Tue, 17 Dec 2013 19:25:37 UTC +00:00], ["manufacturer", "Skoda"], ["subtype", ""], ["updated_at", Tue, 17 Dec 2013 19:25:37 UTC +00:00], ["user", nil], ["user_id", 1], ["year", nil]]
+ [1m[36m (17.8ms)[0m [1mcommit transaction[0m
+Redirected to http://0.0.0.0:3000/vehicles/16
+Completed 302 Found in 194.4ms (ActiveRecord: 22.1ms)
+
+
+Started GET "/vehicles/16" for 127.0.0.1 at 2013-12-17 20:25:37 +0100
+Processing by VehiclesController#show as HTML
+ Parameters: {"id"=>"16"}
+ [1m[35mVehicle Load (0.4ms)[0m SELECT "vehicles".* FROM "vehicles" WHERE "vehicles"."id" = ? LIMIT 1 [["id", "16"]]
+ [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT "vehicles".* FROM "vehicles" WHERE "vehicles"."id" = ? LIMIT 1[0m [["id", "16"]]
+ [1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ Rendered vehicles/show.html.erb within layouts/application (7.4ms)
+Completed 500 Internal Server Error in 26.8ms
+
+NoMethodError - undefined method `property' for #<Vehicle:0x00000004026508>:
+ activemodel (3.2.15) lib/active_model/attribute_methods.rb:407:in `method_missing'
+ activerecord (3.2.15) lib/active_record/attribute_methods.rb:149:in `method_missing'
+ app/views/vehicles/show.html.erb:30:in `_app_views_vehicles_show_html_erb___390482425956436030_35714780'
+ actionpack (3.2.15) lib/action_view/template.rb:145:in `block in render'
+ activesupport (3.2.15) lib/active_support/notifications.rb:125:in `instrument'
+ actionpack (3.2.15) lib/action_view/template.rb:143:in `render'
+ actionpack (3.2.15) lib/action_view/renderer/template_renderer.rb:47:in `block (2 levels) in render_template'
+ actionpack (3.2.15) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
+ activesupport (3.2.15) lib/active_support/notifications.rb:123:in `block in instrument'
+ activesupport (3.2.15) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
+ activesupport (3.2.15) lib/active_support/notifications.rb:123:in `instrument'
+ actionpack (3.2.15) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
+ actionpack (3.2.15) lib/action_view/renderer/template_renderer.rb:46:in `block in render_template'
+ actionpack (3.2.15) lib/action_view/renderer/template_renderer.rb:54:in `render_with_layout'
+ actionpack (3.2.15) lib/action_view/renderer/template_renderer.rb:45:in `render_template'
+ actionpack (3.2.15) lib/action_view/renderer/template_renderer.rb:18:in `render'
+ actionpack (3.2.15) lib/action_view/renderer/renderer.rb:36:in `render_template'
+ actionpack (3.2.15) lib/action_view/renderer/renderer.rb:17:in `render'
+ actionpack (3.2.15) lib/abstract_controller/rendering.rb:110:in `_render_template'
+ actionpack (3.2.15) lib/action_controller/metal/streaming.rb:225:in `_render_template'
+ actionpack (3.2.15) lib/abstract_controller/rendering.rb:103:in `render_to_body'
+ actionpack (3.2.15) lib/action_controller/metal/renderers.rb:28:in `render_to_body'
+ actionpack (3.2.15) lib/action_controller/metal/compatibility.rb:50:in `render_to_body'
+ actionpack (3.2.15) lib/abstract_controller/rendering.rb:88:in `render'
+ actionpack (3.2.15) lib/action_controller/metal/rendering.rb:16:in `render'
+ actionpack (3.2.15) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render'
+ activesupport (3.2.15) lib/active_support/core_ext/benchmark.rb:5:in `block in ms'
+ /root/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/benchmark.rb:295:in `realtime'
+ activesupport (3.2.15) lib/active_support/core_ext/benchmark.rb:5:in `ms'
+ actionpack (3.2.15) lib/action_controller/metal/instrumentation.rb:40:in `block in render'
+ actionpack (3.2.15) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime'
+ activerecord (3.2.15) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime'
+ actionpack (3.2.15) lib/action_controller/metal/instrumentation.rb:39:in `render'
+ actionpack (3.2.15) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
+ actionpack (3.2.15) lib/action_controller/metal/mime_responds.rb:196:in `respond_to'
+ app/controllers/vehicles_controller.rb:21:in `show'
+ actionpack (3.2.15) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
+ actionpack (3.2.15) lib/abstract_controller/base.rb:167:in `process_action'
+ actionpack (3.2.15) lib/action_controller/metal/rendering.rb:10:in `process_action'
+ actionpack (3.2.15) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:425:in `_run__1874716839230934629__process_action__1496690668633601692__callbacks'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:405:in `__run_callback'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:81:in `run_callbacks'
+ actionpack (3.2.15) lib/abstract_controller/callbacks.rb:17:in `process_action'
+ actionpack (3.2.15) lib/action_controller/metal/rescue.rb:29:in `process_action'
+ actionpack (3.2.15) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
+ activesupport (3.2.15) lib/active_support/notifications.rb:123:in `block in instrument'
+ activesupport (3.2.15) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
+ activesupport (3.2.15) lib/active_support/notifications.rb:123:in `instrument'
+ actionpack (3.2.15) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
+ actionpack (3.2.15) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
+ activerecord (3.2.15) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
+ actionpack (3.2.15) lib/abstract_controller/base.rb:121:in `process'
+ actionpack (3.2.15) lib/abstract_controller/rendering.rb:45:in `process'
+ actionpack (3.2.15) lib/action_controller/metal.rb:203:in `dispatch'
+ actionpack (3.2.15) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
+ actionpack (3.2.15) lib/action_controller/metal.rb:246:in `block in action'
+ actionpack (3.2.15) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
+ actionpack (3.2.15) lib/action_dispatch/routing/route_set.rb:36:in `call'
+ journey (1.0.4) lib/journey/router.rb:68:in `block in call'
+ journey (1.0.4) lib/journey/router.rb:56:in `call'
+ actionpack (3.2.15) lib/action_dispatch/routing/route_set.rb:608:in `call'
+ warden (1.2.3) lib/warden/manager.rb:35:in `block in call'
+ warden (1.2.3) lib/warden/manager.rb:34:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
+ rack (1.4.5) lib/rack/etag.rb:23:in `call'
+ rack (1.4.5) lib/rack/conditionalget.rb:25:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/head.rb:14:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/flash.rb:242:in `call'
+ rack (1.4.5) lib/rack/session/abstract/id.rb:210:in `context'
+ rack (1.4.5) lib/rack/session/abstract/id.rb:205:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/cookies.rb:341:in `call'
+ activerecord (3.2.15) lib/active_record/query_cache.rb:64:in `call'
+ activerecord (3.2.15) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:405:in `_run__3004610597406491206__call__2215874786234277655__callbacks'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:405:in `__run_callback'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:81:in `run_callbacks'
+ actionpack (3.2.15) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/reloader.rb:65:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
+ better_errors (1.0.1) lib/better_errors/middleware.rb:84:in `protected_app_call'
+ better_errors (1.0.1) lib/better_errors/middleware.rb:79:in `better_errors_call'
+ better_errors (1.0.1) lib/better_errors/middleware.rb:56:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
+ railties (3.2.15) lib/rails/rack/logger.rb:32:in `call_app'
+ railties (3.2.15) lib/rails/rack/logger.rb:16:in `block in call'
+ activesupport (3.2.15) lib/active_support/tagged_logging.rb:22:in `tagged'
+ railties (3.2.15) lib/rails/rack/logger.rb:16:in `call'
+ quiet_assets (1.0.2) lib/quiet_assets.rb:18:in `call_with_quiet_assets'
+ actionpack (3.2.15) lib/action_dispatch/middleware/request_id.rb:22:in `call'
+ rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
+ rack (1.4.5) lib/rack/runtime.rb:17:in `call'
+ activesupport (3.2.15) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
+ rack (1.4.5) lib/rack/lock.rb:15:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/static.rb:63:in `call'
+ railties (3.2.15) lib/rails/engine.rb:484:in `call'
+ railties (3.2.15) lib/rails/application.rb:231:in `call'
+ rack (1.4.5) lib/rack/content_length.rb:14:in `call'
+ railties (3.2.15) lib/rails/rack/log_tailer.rb:17:in `call'
+ thin (1.6.1) lib/thin/connection.rb:82:in `block in pre_process'
+ thin (1.6.1) lib/thin/connection.rb:80:in `pre_process'
+ thin (1.6.1) lib/thin/connection.rb:55:in `process'
+ thin (1.6.1) lib/thin/connection.rb:41:in `receive_data'
+ eventmachine (1.0.3) lib/eventmachine.rb:187:in `run'
+ thin (1.6.1) lib/thin/backends/base.rb:73:in `start'
+ thin (1.6.1) lib/thin/server.rb:162:in `start'
+ rack (1.4.5) lib/rack/handler/thin.rb:13:in `run'
+ rack (1.4.5) lib/rack/server.rb:268:in `start'
+ railties (3.2.15) lib/rails/commands/server.rb:70:in `start'
+ railties (3.2.15) lib/rails/commands.rb:55:in `block in <top (required)>'
+ railties (3.2.15) lib/rails/commands.rb:50:in `<top (required)>'
+ script/rails:6:in `<main>'
+ script/rails:0:in `<main>'
+
+
+
+Started POST "/__better_errors/29393220/variables" for 127.0.0.1 at 2013-12-17 20:25:37 +0100
+
+
+Started GET "/vehicles" for 127.0.0.1 at 2013-12-17 20:26:02 +0100
+Processing by VehiclesController#index as HTML
+ [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))
+ [1m[36mVehicle Load (0.2ms)[0m [1mSELECT "vehicles".* FROM "vehicles" [0m
+ [1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ Rendered vehicles/index.html.erb within layouts/application (5.8ms)
+Completed 200 OK in 112.9ms (Views: 96.5ms | ActiveRecord: 0.7ms)
+
+
+Started DELETE "/vehicles/16" for 127.0.0.1 at 2013-12-17 20:26:05 +0100
+Processing by VehiclesController#destroy as HTML
+ Parameters: {"authenticity_token"=>"4lWdj95wcGN/cf0FcPGmja5mgFGccAupNXK1GDHpqCA=", "id"=>"16"}
+ [1m[35mVehicle Load (0.1ms)[0m SELECT "vehicles".* FROM "vehicles" WHERE "vehicles"."id" = ? LIMIT 1 [["id", "16"]]
+ [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT "vehicles".* FROM "vehicles" WHERE "vehicles"."id" = ? LIMIT 1[0m [["id", "16"]]
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mProperty Load (0.2ms)[0m [1mSELECT "properties".* FROM "properties" INNER JOIN "properties_vehicles" ON "properties"."id" = "properties_vehicles"."property_id" WHERE "properties_vehicles"."vehicle_id" = 16[0m
+ [1m[35mSQL (1.3ms)[0m DELETE FROM "vehicles" WHERE "vehicles"."id" = ? [["id", 16]]
+ [1m[36m (16.2ms)[0m [1mcommit transaction[0m
+Redirected to http://0.0.0.0:3000/vehicles
+Completed 302 Found in 115.2ms (ActiveRecord: 19.0ms)
+
+
+Started GET "/vehicles" for 127.0.0.1 at 2013-12-17 20:26:05 +0100
+Processing by VehiclesController#index as HTML
+ [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))[0m
+ [1m[35mVehicle Load (0.2ms)[0m SELECT "vehicles".* FROM "vehicles"
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ Rendered vehicles/index.html.erb within layouts/application (3.8ms)
+Completed 200 OK in 38.6ms (Views: 21.0ms | ActiveRecord: 0.8ms)
+
+
+Started GET "/vehicles/new" for 127.0.0.1 at 2013-12-17 20:26:07 +0100
+Processing by VehiclesController#new as HTML
+ [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))[0m
+------------
+#<User:0x00000004678460>
+ [1m[35mProperty Load (0.2ms)[0m SELECT "properties".* FROM "properties"
+ Rendered vehicles/_form.html.erb (13.3ms)
+ Rendered vehicles/new.html.erb within layouts/application (14.7ms)
+Completed 200 OK in 45.9ms (Views: 31.4ms | ActiveRecord: 0.7ms)
+
+
+Started POST "/vehicles" for 127.0.0.1 at 2013-12-17 20:26:09 +0100
+Processing by VehiclesController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"4lWdj95wcGN/cf0FcPGmja5mgFGccAupNXK1GDHpqCA=", "vehicle"=>{"manufacturer"=>"Skoda", "subtype"=>"", "year"=>"", "color"=>"", "id"=>"3"}, "commit"=>"Create Vehicle"}
+ [1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ [1m[35m (0.3ms)[0m SELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))
+{"utf8"=>"✓", "authenticity_token"=>"4lWdj95wcGN/cf0FcPGmja5mgFGccAupNXK1GDHpqCA=", "vehicle"=>{"manufacturer"=>"Skoda", "subtype"=>"", "year"=>"", "color"=>"", "id"=>"3"}, "commit"=>"Create Vehicle", "action"=>"create", "controller"=>"vehicles"}
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (6.0ms)[0m INSERT INTO "vehicles" ("color", "created_at", "manufacturer", "subtype", "updated_at", "user", "user_id", "year") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["color", ""], ["created_at", Tue, 17 Dec 2013 19:26:10 UTC +00:00], ["manufacturer", "Skoda"], ["subtype", ""], ["updated_at", Tue, 17 Dec 2013 19:26:10 UTC +00:00], ["user", nil], ["user_id", 1], ["year", nil]]
+ [1m[36m (29.2ms)[0m [1mcommit transaction[0m
+Redirected to http://0.0.0.0:3000/vehicles/17
+Completed 302 Found in 61.1ms (ActiveRecord: 35.9ms)
+
+
+Started GET "/vehicles/17" for 127.0.0.1 at 2013-12-17 20:26:10 +0100
+Processing by VehiclesController#show as HTML
+ Parameters: {"id"=>"17"}
+ [1m[35mVehicle Load (0.3ms)[0m SELECT "vehicles".* FROM "vehicles" WHERE "vehicles"."id" = ? LIMIT 1 [["id", "17"]]
+ [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT "vehicles".* FROM "vehicles" WHERE "vehicles"."id" = ? LIMIT 1[0m [["id", "17"]]
+ [1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ Rendered vehicles/show.html.erb within layouts/application (3.9ms)
+Completed 200 OK in 37.3ms (Views: 22.0ms | ActiveRecord: 0.9ms)
+
+
+Started GET "/vehicles" for 127.0.0.1 at 2013-12-17 20:27:09 +0100
+Processing by VehiclesController#index as HTML
+ [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))
+ [1m[36mVehicle Load (0.1ms)[0m [1mSELECT "vehicles".* FROM "vehicles" [0m
+ [1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ Rendered vehicles/index.html.erb within layouts/application (9.8ms)
+Completed 200 OK in 215.9ms (Views: 88.3ms | ActiveRecord: 3.6ms)
+
+
+Started DELETE "/vehicles/17" for 127.0.0.1 at 2013-12-17 20:27:11 +0100
+Processing by VehiclesController#destroy as HTML
+ Parameters: {"authenticity_token"=>"4lWdj95wcGN/cf0FcPGmja5mgFGccAupNXK1GDHpqCA=", "id"=>"17"}
+ [1m[35mVehicle Load (0.2ms)[0m SELECT "vehicles".* FROM "vehicles" WHERE "vehicles"."id" = ? LIMIT 1 [["id", "17"]]
+ [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ [1m[35m (0.8ms)[0m SELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT "vehicles".* FROM "vehicles" WHERE "vehicles"."id" = ? LIMIT 1[0m [["id", "17"]]
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mProperty Load (0.1ms)[0m [1mSELECT "properties".* FROM "properties" INNER JOIN "properties_vehicles" ON "properties"."id" = "properties_vehicles"."property_id" WHERE "properties_vehicles"."vehicle_id" = 17[0m
+ [1m[35mSQL (1.4ms)[0m DELETE FROM "vehicles" WHERE "vehicles"."id" = ? [["id", 17]]
+ [1m[36m (35.4ms)[0m [1mcommit transaction[0m
+Redirected to http://0.0.0.0:3000/vehicles
+Completed 302 Found in 85.9ms (ActiveRecord: 38.6ms)
+
+
+Started GET "/vehicles" for 127.0.0.1 at 2013-12-17 20:27:12 +0100
+Processing by VehiclesController#index as HTML
+ [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))[0m
+ [1m[35mVehicle Load (0.2ms)[0m SELECT "vehicles".* FROM "vehicles"
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ Rendered vehicles/index.html.erb within layouts/application (3.5ms)
+Completed 200 OK in 42.5ms (Views: 20.8ms | ActiveRecord: 0.8ms)
+
+
+Started GET "/vehicles/new" for 127.0.0.1 at 2013-12-17 20:27:12 +0100
+Processing by VehiclesController#new as HTML
+ [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))[0m
+------------
+#<User:0x00000004217628>
+ [1m[35mProperty Load (0.2ms)[0m SELECT "properties".* FROM "properties"
+ Rendered vehicles/_form.html.erb (11.9ms)
+ Rendered vehicles/new.html.erb within layouts/application (13.2ms)
+Completed 200 OK in 45.3ms (Views: 29.3ms | ActiveRecord: 0.8ms)
+
+
+Started POST "/vehicles" for 127.0.0.1 at 2013-12-17 20:27:16 +0100
+Processing by VehiclesController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"4lWdj95wcGN/cf0FcPGmja5mgFGccAupNXK1GDHpqCA=", "vehicle"=>{"manufacturer"=>"Ford", "subtype"=>"", "year"=>"", "color"=>"", "id"=>"3"}, "commit"=>"Create Vehicle"}
+ [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))
+Create:
+{"utf8"=>"✓", "authenticity_token"=>"4lWdj95wcGN/cf0FcPGmja5mgFGccAupNXK1GDHpqCA=", "vehicle"=>{"manufacturer"=>"Ford", "subtype"=>"", "year"=>"", "color"=>"", "id"=>"3"}, "commit"=>"Create Vehicle", "action"=>"create", "controller"=>"vehicles"}
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.5ms)[0m INSERT INTO "vehicles" ("color", "created_at", "manufacturer", "subtype", "updated_at", "user", "user_id", "year") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["color", ""], ["created_at", Tue, 17 Dec 2013 19:27:16 UTC +00:00], ["manufacturer", "Ford"], ["subtype", ""], ["updated_at", Tue, 17 Dec 2013 19:27:16 UTC +00:00], ["user", nil], ["user_id", 1], ["year", nil]]
+ [1m[36m (19.0ms)[0m [1mcommit transaction[0m
+Redirected to http://0.0.0.0:3000/vehicles/18
+Completed 302 Found in 53.0ms (ActiveRecord: 20.1ms)
+
+
+Started GET "/vehicles/18" for 127.0.0.1 at 2013-12-17 20:27:16 +0100
+Processing by VehiclesController#show as HTML
+ Parameters: {"id"=>"18"}
+ [1m[35mVehicle Load (0.2ms)[0m SELECT "vehicles".* FROM "vehicles" WHERE "vehicles"."id" = ? LIMIT 1 [["id", "18"]]
+ [1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))
+ [1m[36mCACHE (0.1ms)[0m [1mSELECT "vehicles".* FROM "vehicles" WHERE "vehicles"."id" = ? LIMIT 1[0m [["id", "18"]]
+ [1m[35mCACHE (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ Rendered vehicles/show.html.erb within layouts/application (3.0ms)
+Completed 200 OK in 86.8ms (Views: 71.3ms | ActiveRecord: 1.1ms)
+
+
+Started GET "/vehicles" for 127.0.0.1 at 2013-12-17 20:32:36 +0100
+Processing by VehiclesController#index as HTML
+ [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ [1m[35m (0.8ms)[0m SELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))
+ [1m[36mVehicle Load (0.2ms)[0m [1mSELECT "vehicles".* FROM "vehicles" [0m
+ [1m[35mCACHE (0.4ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ Rendered vehicles/index.html.erb within layouts/application (11.8ms)
+Completed 200 OK in 229.5ms (Views: 31.3ms | ActiveRecord: 9.1ms)
+
+
+Started GET "/vehicles/new" for 127.0.0.1 at 2013-12-17 20:32:37 +0100
+Processing by VehiclesController#new as HTML
+ [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))[0m
+------------
+#<User:0x000000044d71b0>
+ [1m[35mProperty Load (0.1ms)[0m SELECT "properties".* FROM "properties"
+ Rendered vehicles/_form.html.erb (31.2ms)
+ Rendered vehicles/new.html.erb within layouts/application (32.3ms)
+Completed 200 OK in 65.6ms (Views: 48.8ms | ActiveRecord: 0.9ms)
+
+
+Started POST "/vehicles" for 127.0.0.1 at 2013-12-17 20:32:40 +0100
+Processing by VehiclesController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"4lWdj95wcGN/cf0FcPGmja5mgFGccAupNXK1GDHpqCA=", "vehicle"=>{"manufacturer"=>"asd", "subtype"=>"", "year"=>"", "color"=>"", "property_ids"=>"3"}, "commit"=>"Create Vehicle"}
+Completed 500 Internal Server Error in 9.4ms
+
+ActiveModel::MassAssignmentSecurity::Error - Can't mass-assign protected attributes: property_ids:
+ activemodel (3.2.15) lib/active_model/mass_assignment_security/sanitizer.rb:48:in `process_removed_attributes'
+ activemodel (3.2.15) lib/active_model/mass_assignment_security/sanitizer.rb:20:in `debug_protected_attribute_removal'
+ activemodel (3.2.15) lib/active_model/mass_assignment_security/sanitizer.rb:12:in `sanitize'
+ activemodel (3.2.15) lib/active_model/mass_assignment_security.rb:230:in `sanitize_for_mass_assignment'
+ activerecord (3.2.15) lib/active_record/attribute_assignment.rb:75:in `assign_attributes'
+ activerecord (3.2.15) lib/active_record/base.rb:498:in `initialize'
+ cancan (1.6.10) lib/cancan/controller_resource.rb:85:in `build_resource'
+ cancan (1.6.10) lib/cancan/controller_resource.rb:66:in `load_resource_instance'
+ cancan (1.6.10) lib/cancan/controller_resource.rb:32:in `load_resource'
+ cancan (1.6.10) lib/cancan/controller_resource.rb:25:in `load_and_authorize_resource'
+ cancan (1.6.10) lib/cancan/controller_resource.rb:10:in `block in add_before_filter'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:418:in `_run__1874716839230934629__process_action__2702712485727562064__callbacks'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:405:in `__run_callback'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:81:in `run_callbacks'
+ actionpack (3.2.15) lib/abstract_controller/callbacks.rb:17:in `process_action'
+ actionpack (3.2.15) lib/action_controller/metal/rescue.rb:29:in `process_action'
+ actionpack (3.2.15) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
+ activesupport (3.2.15) lib/active_support/notifications.rb:123:in `block in instrument'
+ activesupport (3.2.15) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
+ activesupport (3.2.15) lib/active_support/notifications.rb:123:in `instrument'
+ actionpack (3.2.15) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
+ actionpack (3.2.15) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
+ activerecord (3.2.15) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
+ actionpack (3.2.15) lib/abstract_controller/base.rb:121:in `process'
+ actionpack (3.2.15) lib/abstract_controller/rendering.rb:45:in `process'
+ actionpack (3.2.15) lib/action_controller/metal.rb:203:in `dispatch'
+ actionpack (3.2.15) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
+ actionpack (3.2.15) lib/action_controller/metal.rb:246:in `block in action'
+ actionpack (3.2.15) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
+ actionpack (3.2.15) lib/action_dispatch/routing/route_set.rb:36:in `call'
+ journey (1.0.4) lib/journey/router.rb:68:in `block in call'
+ journey (1.0.4) lib/journey/router.rb:56:in `call'
+ actionpack (3.2.15) lib/action_dispatch/routing/route_set.rb:608:in `call'
+ warden (1.2.3) lib/warden/manager.rb:35:in `block in call'
+ warden (1.2.3) lib/warden/manager.rb:34:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
+ rack (1.4.5) lib/rack/etag.rb:23:in `call'
+ rack (1.4.5) lib/rack/conditionalget.rb:35:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/head.rb:14:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/flash.rb:242:in `call'
+ rack (1.4.5) lib/rack/session/abstract/id.rb:210:in `context'
+ rack (1.4.5) lib/rack/session/abstract/id.rb:205:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/cookies.rb:341:in `call'
+ activerecord (3.2.15) lib/active_record/query_cache.rb:64:in `call'
+ activerecord (3.2.15) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:405:in `_run__3004610597406491206__call__2215874786234277655__callbacks'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:405:in `__run_callback'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:81:in `run_callbacks'
+ actionpack (3.2.15) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/reloader.rb:65:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
+ better_errors (1.0.1) lib/better_errors/middleware.rb:84:in `protected_app_call'
+ better_errors (1.0.1) lib/better_errors/middleware.rb:79:in `better_errors_call'
+ better_errors (1.0.1) lib/better_errors/middleware.rb:56:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
+ railties (3.2.15) lib/rails/rack/logger.rb:32:in `call_app'
+ railties (3.2.15) lib/rails/rack/logger.rb:16:in `block in call'
+ activesupport (3.2.15) lib/active_support/tagged_logging.rb:22:in `tagged'
+ railties (3.2.15) lib/rails/rack/logger.rb:16:in `call'
+ quiet_assets (1.0.2) lib/quiet_assets.rb:18:in `call_with_quiet_assets'
+ actionpack (3.2.15) lib/action_dispatch/middleware/request_id.rb:22:in `call'
+ rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
+ rack (1.4.5) lib/rack/runtime.rb:17:in `call'
+ activesupport (3.2.15) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
+ rack (1.4.5) lib/rack/lock.rb:15:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/static.rb:63:in `call'
+ railties (3.2.15) lib/rails/engine.rb:484:in `call'
+ railties (3.2.15) lib/rails/application.rb:231:in `call'
+ rack (1.4.5) lib/rack/content_length.rb:14:in `call'
+ railties (3.2.15) lib/rails/rack/log_tailer.rb:17:in `call'
+ thin (1.6.1) lib/thin/connection.rb:82:in `block in pre_process'
+ thin (1.6.1) lib/thin/connection.rb:80:in `pre_process'
+ thin (1.6.1) lib/thin/connection.rb:55:in `process'
+ thin (1.6.1) lib/thin/connection.rb:41:in `receive_data'
+ eventmachine (1.0.3) lib/eventmachine.rb:187:in `run'
+ thin (1.6.1) lib/thin/backends/base.rb:73:in `start'
+ thin (1.6.1) lib/thin/server.rb:162:in `start'
+ rack (1.4.5) lib/rack/handler/thin.rb:13:in `run'
+ rack (1.4.5) lib/rack/server.rb:268:in `start'
+ railties (3.2.15) lib/rails/commands/server.rb:70:in `start'
+ railties (3.2.15) lib/rails/commands.rb:55:in `block in <top (required)>'
+ railties (3.2.15) lib/rails/commands.rb:50:in `<top (required)>'
+ script/rails:6:in `<main>'
+ script/rails:0:in `<main>'
+
+
+
+Started POST "/__better_errors/35265720/variables" for 127.0.0.1 at 2013-12-17 20:32:40 +0100
+
+
+Started GET "/vehicles" for 127.0.0.1 at 2013-12-17 20:33:13 +0100
+Processing by VehiclesController#index as HTML
+ [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))
+ [1m[36mVehicle Load (0.2ms)[0m [1mSELECT "vehicles".* FROM "vehicles" [0m
+ [1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ Rendered vehicles/index.html.erb within layouts/application (6.5ms)
+Completed 200 OK in 135.3ms (Views: 82.1ms | ActiveRecord: 0.8ms)
+
+
+Started GET "/vehicles/new" for 127.0.0.1 at 2013-12-17 20:33:15 +0100
+Processing by VehiclesController#new as HTML
+ [1m[35mUser Load (1.7ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))[0m
+------------
+#<User:0x00000003901700>
+ [1m[35mProperty Load (0.2ms)[0m SELECT "properties".* FROM "properties"
+ Rendered vehicles/_form.html.erb (7.9ms)
+ Rendered vehicles/new.html.erb within layouts/application (9.4ms)
+Completed 500 Internal Server Error in 64.5ms
+
+NoMethodError - undefined method `property_id' for #<Vehicle:0x00000003767cc8>:
+ activemodel (3.2.15) lib/active_model/attribute_methods.rb:407:in `method_missing'
+ activerecord (3.2.15) lib/active_record/attribute_methods.rb:149:in `method_missing'
+ actionpack (3.2.15) lib/action_view/helpers/form_helper.rb:1152:in `value'
+ actionpack (3.2.15) lib/action_view/helpers/form_helper.rb:1143:in `value'
+ actionpack (3.2.15) lib/action_view/helpers/form_options_helper.rb:598:in `to_collection_select_tag'
+ actionpack (3.2.15) lib/action_view/helpers/form_options_helper.rb:191:in `collection_select'
+ actionpack (3.2.15) lib/action_view/helpers/form_options_helper.rb:646:in `collection_select'
+ app/views/vehicles/_form.html.erb:41:in `block in _app_views_vehicles__form_html_erb___2849552148699701410_34232680'
+ actionpack (3.2.15) lib/action_view/helpers/capture_helper.rb:40:in `block in capture'
+ actionpack (3.2.15) lib/action_view/helpers/capture_helper.rb:187:in `with_output_buffer'
+ actionpack (3.2.15) lib/action_view/helpers/capture_helper.rb:40:in `capture'
+ actionpack (3.2.15) lib/action_view/helpers/form_helper.rb:378:in `form_for'
+ app/views/vehicles/_form.html.erb:1:in `_app_views_vehicles__form_html_erb___2849552148699701410_34232680'
+ actionpack (3.2.15) lib/action_view/template.rb:145:in `block in render'
+ activesupport (3.2.15) lib/active_support/notifications.rb:125:in `instrument'
+ actionpack (3.2.15) lib/action_view/template.rb:143:in `render'
+ actionpack (3.2.15) lib/action_view/renderer/partial_renderer.rb:265:in `render_partial'
+ actionpack (3.2.15) lib/action_view/renderer/partial_renderer.rb:238:in `block in render'
+ actionpack (3.2.15) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
+ activesupport (3.2.15) lib/active_support/notifications.rb:123:in `block in instrument'
+ activesupport (3.2.15) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
+ activesupport (3.2.15) lib/active_support/notifications.rb:123:in `instrument'
+ actionpack (3.2.15) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
+ actionpack (3.2.15) lib/action_view/renderer/partial_renderer.rb:237:in `render'
+ actionpack (3.2.15) lib/action_view/renderer/renderer.rb:41:in `render_partial'
+ actionpack (3.2.15) lib/action_view/helpers/rendering_helper.rb:27:in `render'
+ app/views/vehicles/new.html.erb:9:in `_app_views_vehicles_new_html_erb__2574307468004108146_35717760'
+ actionpack (3.2.15) lib/action_view/template.rb:145:in `block in render'
+ activesupport (3.2.15) lib/active_support/notifications.rb:125:in `instrument'
+ actionpack (3.2.15) lib/action_view/template.rb:143:in `render'
+ actionpack (3.2.15) lib/action_view/renderer/template_renderer.rb:47:in `block (2 levels) in render_template'
+ actionpack (3.2.15) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
+ activesupport (3.2.15) lib/active_support/notifications.rb:123:in `block in instrument'
+ activesupport (3.2.15) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
+ activesupport (3.2.15) lib/active_support/notifications.rb:123:in `instrument'
+ actionpack (3.2.15) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
+ actionpack (3.2.15) lib/action_view/renderer/template_renderer.rb:46:in `block in render_template'
+ actionpack (3.2.15) lib/action_view/renderer/template_renderer.rb:54:in `render_with_layout'
+ actionpack (3.2.15) lib/action_view/renderer/template_renderer.rb:45:in `render_template'
+ actionpack (3.2.15) lib/action_view/renderer/template_renderer.rb:18:in `render'
+ actionpack (3.2.15) lib/action_view/renderer/renderer.rb:36:in `render_template'
+ actionpack (3.2.15) lib/action_view/renderer/renderer.rb:17:in `render'
+ actionpack (3.2.15) lib/abstract_controller/rendering.rb:110:in `_render_template'
+ actionpack (3.2.15) lib/action_controller/metal/streaming.rb:225:in `_render_template'
+ actionpack (3.2.15) lib/abstract_controller/rendering.rb:103:in `render_to_body'
+ actionpack (3.2.15) lib/action_controller/metal/renderers.rb:28:in `render_to_body'
+ actionpack (3.2.15) lib/action_controller/metal/compatibility.rb:50:in `render_to_body'
+ actionpack (3.2.15) lib/abstract_controller/rendering.rb:88:in `render'
+ actionpack (3.2.15) lib/action_controller/metal/rendering.rb:16:in `render'
+ actionpack (3.2.15) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render'
+ activesupport (3.2.15) lib/active_support/core_ext/benchmark.rb:5:in `block in ms'
+ /root/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/benchmark.rb:295:in `realtime'
+ activesupport (3.2.15) lib/active_support/core_ext/benchmark.rb:5:in `ms'
+ actionpack (3.2.15) lib/action_controller/metal/instrumentation.rb:40:in `block in render'
+ actionpack (3.2.15) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime'
+ activerecord (3.2.15) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime'
+ actionpack (3.2.15) lib/action_controller/metal/instrumentation.rb:39:in `render'
+ actionpack (3.2.15) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
+ actionpack (3.2.15) lib/action_controller/metal/mime_responds.rb:196:in `respond_to'
+ app/controllers/vehicles_controller.rb:33:in `new'
+ actionpack (3.2.15) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
+ actionpack (3.2.15) lib/abstract_controller/base.rb:167:in `process_action'
+ actionpack (3.2.15) lib/action_controller/metal/rendering.rb:10:in `process_action'
+ actionpack (3.2.15) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:425:in `_run__1874716839230934629__process_action__913189105874108750__callbacks'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:405:in `__run_callback'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:81:in `run_callbacks'
+ actionpack (3.2.15) lib/abstract_controller/callbacks.rb:17:in `process_action'
+ actionpack (3.2.15) lib/action_controller/metal/rescue.rb:29:in `process_action'
+ actionpack (3.2.15) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
+ activesupport (3.2.15) lib/active_support/notifications.rb:123:in `block in instrument'
+ activesupport (3.2.15) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
+ activesupport (3.2.15) lib/active_support/notifications.rb:123:in `instrument'
+ actionpack (3.2.15) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
+ actionpack (3.2.15) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
+ activerecord (3.2.15) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
+ actionpack (3.2.15) lib/abstract_controller/base.rb:121:in `process'
+ actionpack (3.2.15) lib/abstract_controller/rendering.rb:45:in `process'
+ actionpack (3.2.15) lib/action_controller/metal.rb:203:in `dispatch'
+ actionpack (3.2.15) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
+ actionpack (3.2.15) lib/action_controller/metal.rb:246:in `block in action'
+ actionpack (3.2.15) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
+ actionpack (3.2.15) lib/action_dispatch/routing/route_set.rb:36:in `call'
+ journey (1.0.4) lib/journey/router.rb:68:in `block in call'
+ journey (1.0.4) lib/journey/router.rb:56:in `call'
+ actionpack (3.2.15) lib/action_dispatch/routing/route_set.rb:608:in `call'
+ warden (1.2.3) lib/warden/manager.rb:35:in `block in call'
+ warden (1.2.3) lib/warden/manager.rb:34:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
+ rack (1.4.5) lib/rack/etag.rb:23:in `call'
+ rack (1.4.5) lib/rack/conditionalget.rb:25:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/head.rb:14:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/flash.rb:242:in `call'
+ rack (1.4.5) lib/rack/session/abstract/id.rb:210:in `context'
+ rack (1.4.5) lib/rack/session/abstract/id.rb:205:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/cookies.rb:341:in `call'
+ activerecord (3.2.15) lib/active_record/query_cache.rb:64:in `call'
+ activerecord (3.2.15) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:405:in `_run__3004610597406491206__call__2215874786234277655__callbacks'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:405:in `__run_callback'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:81:in `run_callbacks'
+ actionpack (3.2.15) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/reloader.rb:65:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
+ better_errors (1.0.1) lib/better_errors/middleware.rb:84:in `protected_app_call'
+ better_errors (1.0.1) lib/better_errors/middleware.rb:79:in `better_errors_call'
+ better_errors (1.0.1) lib/better_errors/middleware.rb:56:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
+ railties (3.2.15) lib/rails/rack/logger.rb:32:in `call_app'
+ railties (3.2.15) lib/rails/rack/logger.rb:16:in `block in call'
+ activesupport (3.2.15) lib/active_support/tagged_logging.rb:22:in `tagged'
+ railties (3.2.15) lib/rails/rack/logger.rb:16:in `call'
+ quiet_assets (1.0.2) lib/quiet_assets.rb:18:in `call_with_quiet_assets'
+ actionpack (3.2.15) lib/action_dispatch/middleware/request_id.rb:22:in `call'
+ rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
+ rack (1.4.5) lib/rack/runtime.rb:17:in `call'
+ activesupport (3.2.15) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
+ rack (1.4.5) lib/rack/lock.rb:15:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/static.rb:63:in `call'
+ railties (3.2.15) lib/rails/engine.rb:484:in `call'
+ railties (3.2.15) lib/rails/application.rb:231:in `call'
+ rack (1.4.5) lib/rack/content_length.rb:14:in `call'
+ railties (3.2.15) lib/rails/rack/log_tailer.rb:17:in `call'
+ thin (1.6.1) lib/thin/connection.rb:82:in `block in pre_process'
+ thin (1.6.1) lib/thin/connection.rb:80:in `pre_process'
+ thin (1.6.1) lib/thin/connection.rb:55:in `process'
+ thin (1.6.1) lib/thin/connection.rb:41:in `receive_data'
+ eventmachine (1.0.3) lib/eventmachine.rb:187:in `run'
+ thin (1.6.1) lib/thin/backends/base.rb:73:in `start'
+ thin (1.6.1) lib/thin/server.rb:162:in `start'
+ rack (1.4.5) lib/rack/handler/thin.rb:13:in `run'
+ rack (1.4.5) lib/rack/server.rb:268:in `start'
+ railties (3.2.15) lib/rails/commands/server.rb:70:in `start'
+ railties (3.2.15) lib/rails/commands.rb:55:in `block in <top (required)>'
+ railties (3.2.15) lib/rails/commands.rb:50:in `<top (required)>'
+ script/rails:6:in `<main>'
+ script/rails:0:in `<main>'
+
+
+
+Started POST "/__better_errors/33647620/variables" for 127.0.0.1 at 2013-12-17 20:33:15 +0100
+
+
+Started GET "/vehicles/new" for 127.0.0.1 at 2013-12-17 20:33:36 +0100
+Processing by VehiclesController#new as HTML
+ [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))
+------------
+#<User:0x0000000466d060>
+ [1m[36mProperty Load (0.2ms)[0m [1mSELECT "properties".* FROM "properties" [0m
+ Rendered vehicles/_form.html.erb (7.0ms)
+ Rendered vehicles/new.html.erb within layouts/application (8.4ms)
+Completed 200 OK in 97.1ms (Views: 84.7ms | ActiveRecord: 0.6ms)
+
+
+Started POST "/vehicles" for 127.0.0.1 at 2013-12-17 20:33:41 +0100
+Processing by VehiclesController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"4lWdj95wcGN/cf0FcPGmja5mgFGccAupNXK1GDHpqCA=", "vehicle"=>{"manufacturer"=>"asdasdasd", "subtype"=>"", "year"=>"", "color"=>"", "property_ids"=>"3"}, "commit"=>"Create Vehicle"}
+Completed 500 Internal Server Error in 9.2ms
+
+ActiveModel::MassAssignmentSecurity::Error - Can't mass-assign protected attributes: property_ids:
+ activemodel (3.2.15) lib/active_model/mass_assignment_security/sanitizer.rb:48:in `process_removed_attributes'
+ activemodel (3.2.15) lib/active_model/mass_assignment_security/sanitizer.rb:20:in `debug_protected_attribute_removal'
+ activemodel (3.2.15) lib/active_model/mass_assignment_security/sanitizer.rb:12:in `sanitize'
+ activemodel (3.2.15) lib/active_model/mass_assignment_security.rb:230:in `sanitize_for_mass_assignment'
+ activerecord (3.2.15) lib/active_record/attribute_assignment.rb:75:in `assign_attributes'
+ activerecord (3.2.15) lib/active_record/base.rb:498:in `initialize'
+ cancan (1.6.10) lib/cancan/controller_resource.rb:85:in `build_resource'
+ cancan (1.6.10) lib/cancan/controller_resource.rb:66:in `load_resource_instance'
+ cancan (1.6.10) lib/cancan/controller_resource.rb:32:in `load_resource'
+ cancan (1.6.10) lib/cancan/controller_resource.rb:25:in `load_and_authorize_resource'
+ cancan (1.6.10) lib/cancan/controller_resource.rb:10:in `block in add_before_filter'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:418:in `_run__1874716839230934629__process_action__2702712485727562064__callbacks'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:405:in `__run_callback'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:81:in `run_callbacks'
+ actionpack (3.2.15) lib/abstract_controller/callbacks.rb:17:in `process_action'
+ actionpack (3.2.15) lib/action_controller/metal/rescue.rb:29:in `process_action'
+ actionpack (3.2.15) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
+ activesupport (3.2.15) lib/active_support/notifications.rb:123:in `block in instrument'
+ activesupport (3.2.15) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
+ activesupport (3.2.15) lib/active_support/notifications.rb:123:in `instrument'
+ actionpack (3.2.15) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
+ actionpack (3.2.15) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
+ activerecord (3.2.15) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
+ actionpack (3.2.15) lib/abstract_controller/base.rb:121:in `process'
+ actionpack (3.2.15) lib/abstract_controller/rendering.rb:45:in `process'
+ actionpack (3.2.15) lib/action_controller/metal.rb:203:in `dispatch'
+ actionpack (3.2.15) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
+ actionpack (3.2.15) lib/action_controller/metal.rb:246:in `block in action'
+ actionpack (3.2.15) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
+ actionpack (3.2.15) lib/action_dispatch/routing/route_set.rb:36:in `call'
+ journey (1.0.4) lib/journey/router.rb:68:in `block in call'
+ journey (1.0.4) lib/journey/router.rb:56:in `call'
+ actionpack (3.2.15) lib/action_dispatch/routing/route_set.rb:608:in `call'
+ warden (1.2.3) lib/warden/manager.rb:35:in `block in call'
+ warden (1.2.3) lib/warden/manager.rb:34:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
+ rack (1.4.5) lib/rack/etag.rb:23:in `call'
+ rack (1.4.5) lib/rack/conditionalget.rb:35:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/head.rb:14:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/flash.rb:242:in `call'
+ rack (1.4.5) lib/rack/session/abstract/id.rb:210:in `context'
+ rack (1.4.5) lib/rack/session/abstract/id.rb:205:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/cookies.rb:341:in `call'
+ activerecord (3.2.15) lib/active_record/query_cache.rb:64:in `call'
+ activerecord (3.2.15) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:405:in `_run__3004610597406491206__call__2215874786234277655__callbacks'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:405:in `__run_callback'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:81:in `run_callbacks'
+ actionpack (3.2.15) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/reloader.rb:65:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
+ better_errors (1.0.1) lib/better_errors/middleware.rb:84:in `protected_app_call'
+ better_errors (1.0.1) lib/better_errors/middleware.rb:79:in `better_errors_call'
+ better_errors (1.0.1) lib/better_errors/middleware.rb:56:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
+ railties (3.2.15) lib/rails/rack/logger.rb:32:in `call_app'
+ railties (3.2.15) lib/rails/rack/logger.rb:16:in `block in call'
+ activesupport (3.2.15) lib/active_support/tagged_logging.rb:22:in `tagged'
+ railties (3.2.15) lib/rails/rack/logger.rb:16:in `call'
+ quiet_assets (1.0.2) lib/quiet_assets.rb:18:in `call_with_quiet_assets'
+ actionpack (3.2.15) lib/action_dispatch/middleware/request_id.rb:22:in `call'
+ rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
+ rack (1.4.5) lib/rack/runtime.rb:17:in `call'
+ activesupport (3.2.15) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
+ rack (1.4.5) lib/rack/lock.rb:15:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/static.rb:63:in `call'
+ railties (3.2.15) lib/rails/engine.rb:484:in `call'
+ railties (3.2.15) lib/rails/application.rb:231:in `call'
+ rack (1.4.5) lib/rack/content_length.rb:14:in `call'
+ railties (3.2.15) lib/rails/rack/log_tailer.rb:17:in `call'
+ thin (1.6.1) lib/thin/connection.rb:82:in `block in pre_process'
+ thin (1.6.1) lib/thin/connection.rb:80:in `pre_process'
+ thin (1.6.1) lib/thin/connection.rb:55:in `process'
+ thin (1.6.1) lib/thin/connection.rb:41:in `receive_data'
+ eventmachine (1.0.3) lib/eventmachine.rb:187:in `run'
+ thin (1.6.1) lib/thin/backends/base.rb:73:in `start'
+ thin (1.6.1) lib/thin/server.rb:162:in `start'
+ rack (1.4.5) lib/rack/handler/thin.rb:13:in `run'
+ rack (1.4.5) lib/rack/server.rb:268:in `start'
+ railties (3.2.15) lib/rails/commands/server.rb:70:in `start'
+ railties (3.2.15) lib/rails/commands.rb:55:in `block in <top (required)>'
+ railties (3.2.15) lib/rails/commands.rb:50:in `<top (required)>'
+ script/rails:6:in `<main>'
+ script/rails:0:in `<main>'
+
+
+
+Started POST "/__better_errors/32376960/variables" for 127.0.0.1 at 2013-12-17 20:33:41 +0100
+
+
+Started POST "/__better_errors/32376960/variables" for 127.0.0.1 at 2013-12-17 20:34:20 +0100
+
+
+Started POST "/__better_errors/32376960/variables" for 127.0.0.1 at 2013-12-17 20:34:21 +0100
+
+
+Started POST "/__better_errors/32376960/variables" for 127.0.0.1 at 2013-12-17 20:34:25 +0100
+
+
+Started POST "/__better_errors/32376960/variables" for 127.0.0.1 at 2013-12-17 20:34:28 +0100
+
+
+Started GET "/vehicles" for 127.0.0.1 at 2013-12-17 20:40:11 +0100
+Processing by VehiclesController#index as HTML
+ [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))[0m
+ [1m[35mVehicle Load (0.2ms)[0m SELECT "vehicles".* FROM "vehicles"
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ Rendered vehicles/index.html.erb within layouts/application (9.6ms)
+Completed 200 OK in 212.1ms (Views: 89.6ms | ActiveRecord: 13.8ms)
+
+
+Started GET "/vehicles/new" for 127.0.0.1 at 2013-12-17 20:40:13 +0100
+Processing by VehiclesController#new as HTML
+ [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))
+ [1m[36mProperty Load (0.1ms)[0m [1mSELECT "properties".* FROM "properties" [0m
+ Rendered vehicles/_form.html.erb (88.0ms)
+ Rendered vehicles/new.html.erb within layouts/application (89.7ms)
+Completed 200 OK in 121.9ms (Views: 106.3ms | ActiveRecord: 1.1ms)
+
+
+Started POST "/vehicles" for 127.0.0.1 at 2013-12-17 20:40:17 +0100
+Processing by VehiclesController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"4lWdj95wcGN/cf0FcPGmja5mgFGccAupNXK1GDHpqCA=", "vehicle"=>{"manufacturer"=>"ffff", "subtype"=>"", "year"=>"", "color"=>"", "properties"=>"3"}, "commit"=>"Create Vehicle"}
+Completed 500 Internal Server Error in 9.7ms
+
+ActiveModel::MassAssignmentSecurity::Error - Can't mass-assign protected attributes: properties:
+ activemodel (3.2.15) lib/active_model/mass_assignment_security/sanitizer.rb:48:in `process_removed_attributes'
+ activemodel (3.2.15) lib/active_model/mass_assignment_security/sanitizer.rb:20:in `debug_protected_attribute_removal'
+ activemodel (3.2.15) lib/active_model/mass_assignment_security/sanitizer.rb:12:in `sanitize'
+ activemodel (3.2.15) lib/active_model/mass_assignment_security.rb:230:in `sanitize_for_mass_assignment'
+ activerecord (3.2.15) lib/active_record/attribute_assignment.rb:75:in `assign_attributes'
+ activerecord (3.2.15) lib/active_record/base.rb:498:in `initialize'
+ cancan (1.6.10) lib/cancan/controller_resource.rb:85:in `build_resource'
+ cancan (1.6.10) lib/cancan/controller_resource.rb:66:in `load_resource_instance'
+ cancan (1.6.10) lib/cancan/controller_resource.rb:32:in `load_resource'
+ cancan (1.6.10) lib/cancan/controller_resource.rb:25:in `load_and_authorize_resource'
+ cancan (1.6.10) lib/cancan/controller_resource.rb:10:in `block in add_before_filter'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:418:in `_run__1874716839230934629__process_action__2702712485727562064__callbacks'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:405:in `__run_callback'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:81:in `run_callbacks'
+ actionpack (3.2.15) lib/abstract_controller/callbacks.rb:17:in `process_action'
+ actionpack (3.2.15) lib/action_controller/metal/rescue.rb:29:in `process_action'
+ actionpack (3.2.15) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
+ activesupport (3.2.15) lib/active_support/notifications.rb:123:in `block in instrument'
+ activesupport (3.2.15) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
+ activesupport (3.2.15) lib/active_support/notifications.rb:123:in `instrument'
+ actionpack (3.2.15) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
+ actionpack (3.2.15) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
+ activerecord (3.2.15) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
+ actionpack (3.2.15) lib/abstract_controller/base.rb:121:in `process'
+ actionpack (3.2.15) lib/abstract_controller/rendering.rb:45:in `process'
+ actionpack (3.2.15) lib/action_controller/metal.rb:203:in `dispatch'
+ actionpack (3.2.15) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
+ actionpack (3.2.15) lib/action_controller/metal.rb:246:in `block in action'
+ actionpack (3.2.15) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
+ actionpack (3.2.15) lib/action_dispatch/routing/route_set.rb:36:in `call'
+ journey (1.0.4) lib/journey/router.rb:68:in `block in call'
+ journey (1.0.4) lib/journey/router.rb:56:in `call'
+ actionpack (3.2.15) lib/action_dispatch/routing/route_set.rb:608:in `call'
+ warden (1.2.3) lib/warden/manager.rb:35:in `block in call'
+ warden (1.2.3) lib/warden/manager.rb:34:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
+ rack (1.4.5) lib/rack/etag.rb:23:in `call'
+ rack (1.4.5) lib/rack/conditionalget.rb:35:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/head.rb:14:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/flash.rb:242:in `call'
+ rack (1.4.5) lib/rack/session/abstract/id.rb:210:in `context'
+ rack (1.4.5) lib/rack/session/abstract/id.rb:205:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/cookies.rb:341:in `call'
+ activerecord (3.2.15) lib/active_record/query_cache.rb:64:in `call'
+ activerecord (3.2.15) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:405:in `_run__3004610597406491206__call__2215874786234277655__callbacks'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:405:in `__run_callback'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:81:in `run_callbacks'
+ actionpack (3.2.15) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/reloader.rb:65:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
+ better_errors (1.0.1) lib/better_errors/middleware.rb:84:in `protected_app_call'
+ better_errors (1.0.1) lib/better_errors/middleware.rb:79:in `better_errors_call'
+ better_errors (1.0.1) lib/better_errors/middleware.rb:56:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
+ railties (3.2.15) lib/rails/rack/logger.rb:32:in `call_app'
+ railties (3.2.15) lib/rails/rack/logger.rb:16:in `block in call'
+ activesupport (3.2.15) lib/active_support/tagged_logging.rb:22:in `tagged'
+ railties (3.2.15) lib/rails/rack/logger.rb:16:in `call'
+ quiet_assets (1.0.2) lib/quiet_assets.rb:18:in `call_with_quiet_assets'
+ actionpack (3.2.15) lib/action_dispatch/middleware/request_id.rb:22:in `call'
+ rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
+ rack (1.4.5) lib/rack/runtime.rb:17:in `call'
+ activesupport (3.2.15) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
+ rack (1.4.5) lib/rack/lock.rb:15:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/static.rb:63:in `call'
+ railties (3.2.15) lib/rails/engine.rb:484:in `call'
+ railties (3.2.15) lib/rails/application.rb:231:in `call'
+ rack (1.4.5) lib/rack/content_length.rb:14:in `call'
+ railties (3.2.15) lib/rails/rack/log_tailer.rb:17:in `call'
+ thin (1.6.1) lib/thin/connection.rb:82:in `block in pre_process'
+ thin (1.6.1) lib/thin/connection.rb:80:in `pre_process'
+ thin (1.6.1) lib/thin/connection.rb:55:in `process'
+ thin (1.6.1) lib/thin/connection.rb:41:in `receive_data'
+ eventmachine (1.0.3) lib/eventmachine.rb:187:in `run'
+ thin (1.6.1) lib/thin/backends/base.rb:73:in `start'
+ thin (1.6.1) lib/thin/server.rb:162:in `start'
+ rack (1.4.5) lib/rack/handler/thin.rb:13:in `run'
+ rack (1.4.5) lib/rack/server.rb:268:in `start'
+ railties (3.2.15) lib/rails/commands/server.rb:70:in `start'
+ railties (3.2.15) lib/rails/commands.rb:55:in `block in <top (required)>'
+ railties (3.2.15) lib/rails/commands.rb:50:in `<top (required)>'
+ script/rails:6:in `<main>'
+ script/rails:0:in `<main>'
+
+
+
+Started POST "/__better_errors/36708280/variables" for 127.0.0.1 at 2013-12-17 20:40:17 +0100
+
+
+Started GET "/properties" for 127.0.0.1 at 2013-12-17 20:42:26 +0100
+Processing by PropertiesController#index as HTML
+ [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))[0m
+ [1m[35mProperty Load (0.1ms)[0m SELECT "properties".* FROM "properties"
+ Rendered properties/index.html.erb within layouts/application (3.2ms)
+Completed 200 OK in 34.6ms (Views: 19.6ms | ActiveRecord: 0.6ms)
+
+
+Started GET "/properties/new" for 127.0.0.1 at 2013-12-17 20:42:27 +0100
+Processing by PropertiesController#new as HTML
+ [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))
+ Rendered properties/_form.html.erb (2.1ms)
+ Rendered properties/new.html.erb within layouts/application (3.4ms)
+Completed 200 OK in 76.7ms (Views: 62.8ms | ActiveRecord: 0.4ms)
+
+
+Started POST "/properties" for 127.0.0.1 at 2013-12-17 20:42:30 +0100
+Processing by PropertiesController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"4lWdj95wcGN/cf0FcPGmja5mgFGccAupNXK1GDHpqCA=", "property"=>{"name"=>"prop1"}, "commit"=>"Create Property"}
+ [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.6ms)[0m INSERT INTO "properties" ("created_at", "name", "updated_at") VALUES (?, ?, ?) [["created_at", Tue, 17 Dec 2013 19:42:30 UTC +00:00], ["name", "prop1"], ["updated_at", Tue, 17 Dec 2013 19:42:30 UTC +00:00]]
+ [1m[36m (17.7ms)[0m [1mcommit transaction[0m
+Redirected to http://0.0.0.0:3000/properties/4
+Completed 302 Found in 36.8ms (ActiveRecord: 18.9ms)
+
+
+Started GET "/properties/4" for 127.0.0.1 at 2013-12-17 20:42:30 +0100
+Processing by PropertiesController#show as HTML
+ Parameters: {"id"=>"4"}
+ [1m[35mProperty Load (0.3ms)[0m SELECT "properties".* FROM "properties" WHERE "properties"."id" = ? LIMIT 1 [["id", "4"]]
+ [1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT "properties".* FROM "properties" WHERE "properties"."id" = ? LIMIT 1[0m [["id", "4"]]
+ Rendered properties/show.html.erb within layouts/application (1.6ms)
+Completed 200 OK in 71.5ms (Views: 56.5ms | ActiveRecord: 0.7ms)
+
+
+Started GET "/properties" for 127.0.0.1 at 2013-12-17 20:42:32 +0100
+Processing by PropertiesController#index as HTML
+ [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))[0m
+ [1m[35mProperty Load (0.2ms)[0m SELECT "properties".* FROM "properties"
+ Rendered properties/index.html.erb within layouts/application (3.5ms)
+Completed 200 OK in 35.9ms (Views: 20.4ms | ActiveRecord: 0.7ms)
+
+
+Started DELETE "/properties/3" for 127.0.0.1 at 2013-12-17 20:42:35 +0100
+Processing by PropertiesController#destroy as HTML
+ Parameters: {"authenticity_token"=>"4lWdj95wcGN/cf0FcPGmja5mgFGccAupNXK1GDHpqCA=", "id"=>"3"}
+ [1m[36mProperty Load (0.2ms)[0m [1mSELECT "properties".* FROM "properties" WHERE "properties"."id" = ? LIMIT 1[0m [["id", "3"]]
+ [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))[0m
+ [1m[35mCACHE (0.1ms)[0m SELECT "properties".* FROM "properties" WHERE "properties"."id" = ? LIMIT 1 [["id", "3"]]
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mVehicle Load (0.5ms)[0m SELECT "vehicles".* FROM "vehicles" INNER JOIN "properties_vehicles" ON "vehicles"."id" = "properties_vehicles"."vehicle_id" WHERE "properties_vehicles"."property_id" = 3
+ [1m[36mSQL (1.0ms)[0m [1mDELETE FROM "properties" WHERE "properties"."id" = ?[0m [["id", 3]]
+ [1m[35m (26.4ms)[0m commit transaction
+Redirected to http://0.0.0.0:3000/properties
+Completed 302 Found in 51.1ms (ActiveRecord: 29.0ms)
+
+
+Started GET "/properties" for 127.0.0.1 at 2013-12-17 20:42:35 +0100
+Processing by PropertiesController#index as HTML
+ [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ [1m[35m (0.5ms)[0m SELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))
+ [1m[36mProperty Load (0.2ms)[0m [1mSELECT "properties".* FROM "properties" [0m
+ Rendered properties/index.html.erb within layouts/application (3.1ms)
+Completed 200 OK in 34.7ms (Views: 21.1ms | ActiveRecord: 0.9ms)
+
+
+Started GET "/properties/new" for 127.0.0.1 at 2013-12-17 20:42:35 +0100
+Processing by PropertiesController#new as HTML
+ [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ [1m[36m (0.3ms)[0m [1mSELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))[0m
+ Rendered properties/_form.html.erb (2.0ms)
+ Rendered properties/new.html.erb within layouts/application (3.5ms)
+Completed 200 OK in 35.7ms (Views: 22.4ms | ActiveRecord: 0.6ms)
+
+
+Started POST "/properties" for 127.0.0.1 at 2013-12-17 20:42:41 +0100
+Processing by PropertiesController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"4lWdj95wcGN/cf0FcPGmja5mgFGccAupNXK1GDHpqCA=", "property"=>{"name"=>"prop2"}, "commit"=>"Create Property"}
+ [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "properties" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Tue, 17 Dec 2013 19:42:41 UTC +00:00], ["name", "prop2"], ["updated_at", Tue, 17 Dec 2013 19:42:41 UTC +00:00]]
+ [1m[35m (14.5ms)[0m commit transaction
+Redirected to http://0.0.0.0:3000/properties/5
+Completed 302 Found in 31.5ms (ActiveRecord: 15.3ms)
+
+
+Started GET "/properties/5" for 127.0.0.1 at 2013-12-17 20:42:41 +0100
+Processing by PropertiesController#show as HTML
+ Parameters: {"id"=>"5"}
+ [1m[36mProperty Load (0.2ms)[0m [1mSELECT "properties".* FROM "properties" WHERE "properties"."id" = ? LIMIT 1[0m [["id", "5"]]
+ [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT "properties".* FROM "properties" WHERE "properties"."id" = ? LIMIT 1 [["id", "5"]]
+ Rendered properties/show.html.erb within layouts/application (1.0ms)
+Completed 200 OK in 30.1ms (Views: 17.6ms | ActiveRecord: 0.6ms)
+
+
+Started GET "/properties" for 127.0.0.1 at 2013-12-17 20:42:42 +0100
+Processing by PropertiesController#index as HTML
+ [1m[36mUser Load (0.7ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))
+ [1m[36mProperty Load (0.1ms)[0m [1mSELECT "properties".* FROM "properties" [0m
+ Rendered properties/index.html.erb within layouts/application (1.9ms)
+Completed 200 OK in 71.2ms (Views: 57.8ms | ActiveRecord: 1.0ms)
+
+
+Started GET "/properties/new" for 127.0.0.1 at 2013-12-17 20:42:43 +0100
+Processing by PropertiesController#new as HTML
+ [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))[0m
+ Rendered properties/_form.html.erb (2.0ms)
+ Rendered properties/new.html.erb within layouts/application (2.8ms)
+Completed 200 OK in 78.2ms (Views: 65.7ms | ActiveRecord: 0.5ms)
+
+
+Started POST "/properties" for 127.0.0.1 at 2013-12-17 20:42:48 +0100
+Processing by PropertiesController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"4lWdj95wcGN/cf0FcPGmja5mgFGccAupNXK1GDHpqCA=", "property"=>{"name"=>"prop3"}, "commit"=>"Create Property"}
+ [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))[0m
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "properties" ("created_at", "name", "updated_at") VALUES (?, ?, ?)[0m [["created_at", Tue, 17 Dec 2013 19:42:48 UTC +00:00], ["name", "prop3"], ["updated_at", Tue, 17 Dec 2013 19:42:48 UTC +00:00]]
+ [1m[35m (12.3ms)[0m commit transaction
+Redirected to http://0.0.0.0:3000/properties/6
+Completed 302 Found in 32.5ms (ActiveRecord: 13.4ms)
+
+
+Started GET "/properties/6" for 127.0.0.1 at 2013-12-17 20:42:48 +0100
+Processing by PropertiesController#show as HTML
+ Parameters: {"id"=>"6"}
+ [1m[36mProperty Load (0.2ms)[0m [1mSELECT "properties".* FROM "properties" WHERE "properties"."id" = ? LIMIT 1[0m [["id", "6"]]
+ [1m[35mUser Load (0.2ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ [1m[36m (0.8ms)[0m [1mSELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT "properties".* FROM "properties" WHERE "properties"."id" = ? LIMIT 1 [["id", "6"]]
+ Rendered properties/show.html.erb within layouts/application (1.6ms)
+Completed 200 OK in 89.8ms (Views: 74.7ms | ActiveRecord: 1.2ms)
+
+
+Started GET "/properties" for 127.0.0.1 at 2013-12-17 20:42:49 +0100
+Processing by PropertiesController#index as HTML
+ [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ [1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))
+ [1m[36mProperty Load (0.1ms)[0m [1mSELECT "properties".* FROM "properties" [0m
+ Rendered properties/index.html.erb within layouts/application (3.2ms)
+Completed 200 OK in 35.1ms (Views: 19.8ms | ActiveRecord: 0.6ms)
+
+
+Started GET "/vehicles" for 127.0.0.1 at 2013-12-17 20:42:51 +0100
+Processing by VehiclesController#index as HTML
+ [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))[0m
+ [1m[35mVehicle Load (0.2ms)[0m SELECT "vehicles".* FROM "vehicles"
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ Rendered vehicles/index.html.erb within layouts/application (5.6ms)
+Completed 200 OK in 40.2ms (Views: 21.6ms | ActiveRecord: 0.7ms)
+
+
+Started GET "/vehicles/new" for 127.0.0.1 at 2013-12-17 20:42:53 +0100
+Processing by VehiclesController#new as HTML
+ [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ [1m[35m (0.0ms)[0m SELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))
+ [1m[36mProperty Load (0.2ms)[0m [1mSELECT "properties".* FROM "properties" [0m
+ Rendered vehicles/_form.html.erb (5.7ms)
+ Rendered vehicles/new.html.erb within layouts/application (8.5ms)
+Completed 200 OK in 41.4ms (Views: 24.6ms | ActiveRecord: 0.5ms)
+
+
+Started POST "/vehicles" for 127.0.0.1 at 2013-12-17 20:42:59 +0100
+Processing by VehiclesController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"4lWdj95wcGN/cf0FcPGmja5mgFGccAupNXK1GDHpqCA=", "vehicle"=>{"manufacturer"=>"qq", "subtype"=>"", "year"=>"", "color"=>"", "property_ids"=>"5"}, "commit"=>"Create Vehicle"}
+Completed 500 Internal Server Error in 10.2ms
+
+ActiveModel::MassAssignmentSecurity::Error - Can't mass-assign protected attributes: property_ids:
+ activemodel (3.2.15) lib/active_model/mass_assignment_security/sanitizer.rb:48:in `process_removed_attributes'
+ activemodel (3.2.15) lib/active_model/mass_assignment_security/sanitizer.rb:20:in `debug_protected_attribute_removal'
+ activemodel (3.2.15) lib/active_model/mass_assignment_security/sanitizer.rb:12:in `sanitize'
+ activemodel (3.2.15) lib/active_model/mass_assignment_security.rb:230:in `sanitize_for_mass_assignment'
+ activerecord (3.2.15) lib/active_record/attribute_assignment.rb:75:in `assign_attributes'
+ activerecord (3.2.15) lib/active_record/base.rb:498:in `initialize'
+ cancan (1.6.10) lib/cancan/controller_resource.rb:85:in `build_resource'
+ cancan (1.6.10) lib/cancan/controller_resource.rb:66:in `load_resource_instance'
+ cancan (1.6.10) lib/cancan/controller_resource.rb:32:in `load_resource'
+ cancan (1.6.10) lib/cancan/controller_resource.rb:25:in `load_and_authorize_resource'
+ cancan (1.6.10) lib/cancan/controller_resource.rb:10:in `block in add_before_filter'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:418:in `_run__1874716839230934629__process_action__2702712485727562064__callbacks'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:405:in `__run_callback'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:81:in `run_callbacks'
+ actionpack (3.2.15) lib/abstract_controller/callbacks.rb:17:in `process_action'
+ actionpack (3.2.15) lib/action_controller/metal/rescue.rb:29:in `process_action'
+ actionpack (3.2.15) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
+ activesupport (3.2.15) lib/active_support/notifications.rb:123:in `block in instrument'
+ activesupport (3.2.15) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
+ activesupport (3.2.15) lib/active_support/notifications.rb:123:in `instrument'
+ actionpack (3.2.15) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
+ actionpack (3.2.15) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
+ activerecord (3.2.15) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
+ actionpack (3.2.15) lib/abstract_controller/base.rb:121:in `process'
+ actionpack (3.2.15) lib/abstract_controller/rendering.rb:45:in `process'
+ actionpack (3.2.15) lib/action_controller/metal.rb:203:in `dispatch'
+ actionpack (3.2.15) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
+ actionpack (3.2.15) lib/action_controller/metal.rb:246:in `block in action'
+ actionpack (3.2.15) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
+ actionpack (3.2.15) lib/action_dispatch/routing/route_set.rb:36:in `call'
+ journey (1.0.4) lib/journey/router.rb:68:in `block in call'
+ journey (1.0.4) lib/journey/router.rb:56:in `call'
+ actionpack (3.2.15) lib/action_dispatch/routing/route_set.rb:608:in `call'
+ warden (1.2.3) lib/warden/manager.rb:35:in `block in call'
+ warden (1.2.3) lib/warden/manager.rb:34:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
+ rack (1.4.5) lib/rack/etag.rb:23:in `call'
+ rack (1.4.5) lib/rack/conditionalget.rb:35:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/head.rb:14:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/flash.rb:242:in `call'
+ rack (1.4.5) lib/rack/session/abstract/id.rb:210:in `context'
+ rack (1.4.5) lib/rack/session/abstract/id.rb:205:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/cookies.rb:341:in `call'
+ activerecord (3.2.15) lib/active_record/query_cache.rb:64:in `call'
+ activerecord (3.2.15) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:405:in `_run__3004610597406491206__call__2215874786234277655__callbacks'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:405:in `__run_callback'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:81:in `run_callbacks'
+ actionpack (3.2.15) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/reloader.rb:65:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
+ better_errors (1.0.1) lib/better_errors/middleware.rb:84:in `protected_app_call'
+ better_errors (1.0.1) lib/better_errors/middleware.rb:79:in `better_errors_call'
+ better_errors (1.0.1) lib/better_errors/middleware.rb:56:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
+ railties (3.2.15) lib/rails/rack/logger.rb:32:in `call_app'
+ railties (3.2.15) lib/rails/rack/logger.rb:16:in `block in call'
+ activesupport (3.2.15) lib/active_support/tagged_logging.rb:22:in `tagged'
+ railties (3.2.15) lib/rails/rack/logger.rb:16:in `call'
+ quiet_assets (1.0.2) lib/quiet_assets.rb:18:in `call_with_quiet_assets'
+ actionpack (3.2.15) lib/action_dispatch/middleware/request_id.rb:22:in `call'
+ rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
+ rack (1.4.5) lib/rack/runtime.rb:17:in `call'
+ activesupport (3.2.15) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
+ rack (1.4.5) lib/rack/lock.rb:15:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/static.rb:63:in `call'
+ railties (3.2.15) lib/rails/engine.rb:484:in `call'
+ railties (3.2.15) lib/rails/application.rb:231:in `call'
+ rack (1.4.5) lib/rack/content_length.rb:14:in `call'
+ railties (3.2.15) lib/rails/rack/log_tailer.rb:17:in `call'
+ thin (1.6.1) lib/thin/connection.rb:82:in `block in pre_process'
+ thin (1.6.1) lib/thin/connection.rb:80:in `pre_process'
+ thin (1.6.1) lib/thin/connection.rb:55:in `process'
+ thin (1.6.1) lib/thin/connection.rb:41:in `receive_data'
+ eventmachine (1.0.3) lib/eventmachine.rb:187:in `run'
+ thin (1.6.1) lib/thin/backends/base.rb:73:in `start'
+ thin (1.6.1) lib/thin/server.rb:162:in `start'
+ rack (1.4.5) lib/rack/handler/thin.rb:13:in `run'
+ rack (1.4.5) lib/rack/server.rb:268:in `start'
+ railties (3.2.15) lib/rails/commands/server.rb:70:in `start'
+ railties (3.2.15) lib/rails/commands.rb:55:in `block in <top (required)>'
+ railties (3.2.15) lib/rails/commands.rb:50:in `<top (required)>'
+ script/rails:6:in `<main>'
+ script/rails:0:in `<main>'
+
+
+
+Started POST "/__better_errors/36265160/variables" for 127.0.0.1 at 2013-12-17 20:42:59 +0100
+
+
+Started GET "/vehicles" for 127.0.0.1 at 2013-12-17 20:44:06 +0100
+Processing by VehiclesController#index as HTML
+ [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))[0m
+ [1m[35mVehicle Load (0.2ms)[0m SELECT "vehicles".* FROM "vehicles"
+ [1m[36mCACHE (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ [1m[35mCACHE (0.0ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ Rendered vehicles/index.html.erb within layouts/application (7.1ms)
+Completed 200 OK in 112.5ms (Views: 93.1ms | ActiveRecord: 0.7ms)
+
+
+Started GET "/vehicles/new" for 127.0.0.1 at 2013-12-17 20:44:07 +0100
+Processing by VehiclesController#new as HTML
+ [1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1[0m
+ [1m[35m (0.6ms)[0m SELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))
+ [1m[36mProperty Load (0.1ms)[0m [1mSELECT "properties".* FROM "properties" [0m
+ Rendered vehicles/_form.html.erb (8.0ms)
+ Rendered vehicles/new.html.erb within layouts/application (9.3ms)
+Completed 500 Internal Server Error in 25.8ms
+
+NoMethodError - undefined method `property' for #<Vehicle:0x000000043a4a18>:
+ activemodel (3.2.15) lib/active_model/attribute_methods.rb:407:in `method_missing'
+ activerecord (3.2.15) lib/active_record/attribute_methods.rb:149:in `method_missing'
+ actionpack (3.2.15) lib/action_view/helpers/form_helper.rb:1152:in `value'
+ actionpack (3.2.15) lib/action_view/helpers/form_helper.rb:1143:in `value'
+ actionpack (3.2.15) lib/action_view/helpers/form_options_helper.rb:598:in `to_collection_select_tag'
+ actionpack (3.2.15) lib/action_view/helpers/form_options_helper.rb:191:in `collection_select'
+ actionpack (3.2.15) lib/action_view/helpers/form_options_helper.rb:646:in `collection_select'
+ app/views/vehicles/_form.html.erb:42:in `block in _app_views_vehicles__form_html_erb___2849552148699701410_22884420'
+ actionpack (3.2.15) lib/action_view/helpers/capture_helper.rb:40:in `block in capture'
+ actionpack (3.2.15) lib/action_view/helpers/capture_helper.rb:187:in `with_output_buffer'
+ actionpack (3.2.15) lib/action_view/helpers/capture_helper.rb:40:in `capture'
+ actionpack (3.2.15) lib/action_view/helpers/form_helper.rb:378:in `form_for'
+ app/views/vehicles/_form.html.erb:1:in `_app_views_vehicles__form_html_erb___2849552148699701410_22884420'
+ actionpack (3.2.15) lib/action_view/template.rb:145:in `block in render'
+ activesupport (3.2.15) lib/active_support/notifications.rb:125:in `instrument'
+ actionpack (3.2.15) lib/action_view/template.rb:143:in `render'
+ actionpack (3.2.15) lib/action_view/renderer/partial_renderer.rb:265:in `render_partial'
+ actionpack (3.2.15) lib/action_view/renderer/partial_renderer.rb:238:in `block in render'
+ actionpack (3.2.15) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
+ activesupport (3.2.15) lib/active_support/notifications.rb:123:in `block in instrument'
+ activesupport (3.2.15) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
+ activesupport (3.2.15) lib/active_support/notifications.rb:123:in `instrument'
+ actionpack (3.2.15) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
+ actionpack (3.2.15) lib/action_view/renderer/partial_renderer.rb:237:in `render'
+ actionpack (3.2.15) lib/action_view/renderer/renderer.rb:41:in `render_partial'
+ actionpack (3.2.15) lib/action_view/helpers/rendering_helper.rb:27:in `render'
+ app/views/vehicles/new.html.erb:9:in `_app_views_vehicles_new_html_erb__2574307468004108146_35717760'
+ actionpack (3.2.15) lib/action_view/template.rb:145:in `block in render'
+ activesupport (3.2.15) lib/active_support/notifications.rb:125:in `instrument'
+ actionpack (3.2.15) lib/action_view/template.rb:143:in `render'
+ actionpack (3.2.15) lib/action_view/renderer/template_renderer.rb:47:in `block (2 levels) in render_template'
+ actionpack (3.2.15) lib/action_view/renderer/abstract_renderer.rb:38:in `block in instrument'
+ activesupport (3.2.15) lib/active_support/notifications.rb:123:in `block in instrument'
+ activesupport (3.2.15) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
+ activesupport (3.2.15) lib/active_support/notifications.rb:123:in `instrument'
+ actionpack (3.2.15) lib/action_view/renderer/abstract_renderer.rb:38:in `instrument'
+ actionpack (3.2.15) lib/action_view/renderer/template_renderer.rb:46:in `block in render_template'
+ actionpack (3.2.15) lib/action_view/renderer/template_renderer.rb:54:in `render_with_layout'
+ actionpack (3.2.15) lib/action_view/renderer/template_renderer.rb:45:in `render_template'
+ actionpack (3.2.15) lib/action_view/renderer/template_renderer.rb:18:in `render'
+ actionpack (3.2.15) lib/action_view/renderer/renderer.rb:36:in `render_template'
+ actionpack (3.2.15) lib/action_view/renderer/renderer.rb:17:in `render'
+ actionpack (3.2.15) lib/abstract_controller/rendering.rb:110:in `_render_template'
+ actionpack (3.2.15) lib/action_controller/metal/streaming.rb:225:in `_render_template'
+ actionpack (3.2.15) lib/abstract_controller/rendering.rb:103:in `render_to_body'
+ actionpack (3.2.15) lib/action_controller/metal/renderers.rb:28:in `render_to_body'
+ actionpack (3.2.15) lib/action_controller/metal/compatibility.rb:50:in `render_to_body'
+ actionpack (3.2.15) lib/abstract_controller/rendering.rb:88:in `render'
+ actionpack (3.2.15) lib/action_controller/metal/rendering.rb:16:in `render'
+ actionpack (3.2.15) lib/action_controller/metal/instrumentation.rb:40:in `block (2 levels) in render'
+ activesupport (3.2.15) lib/active_support/core_ext/benchmark.rb:5:in `block in ms'
+ /root/.rvm/rubies/ruby-1.9.3-p484/lib/ruby/1.9.1/benchmark.rb:295:in `realtime'
+ activesupport (3.2.15) lib/active_support/core_ext/benchmark.rb:5:in `ms'
+ actionpack (3.2.15) lib/action_controller/metal/instrumentation.rb:40:in `block in render'
+ actionpack (3.2.15) lib/action_controller/metal/instrumentation.rb:83:in `cleanup_view_runtime'
+ activerecord (3.2.15) lib/active_record/railties/controller_runtime.rb:24:in `cleanup_view_runtime'
+ actionpack (3.2.15) lib/action_controller/metal/instrumentation.rb:39:in `render'
+ actionpack (3.2.15) lib/action_controller/metal/implicit_render.rb:10:in `default_render'
+ actionpack (3.2.15) lib/action_controller/metal/mime_responds.rb:196:in `respond_to'
+ app/controllers/vehicles_controller.rb:32:in `new'
+ actionpack (3.2.15) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
+ actionpack (3.2.15) lib/abstract_controller/base.rb:167:in `process_action'
+ actionpack (3.2.15) lib/action_controller/metal/rendering.rb:10:in `process_action'
+ actionpack (3.2.15) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:425:in `_run__1874716839230934629__process_action__913189105874108750__callbacks'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:405:in `__run_callback'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:81:in `run_callbacks'
+ actionpack (3.2.15) lib/abstract_controller/callbacks.rb:17:in `process_action'
+ actionpack (3.2.15) lib/action_controller/metal/rescue.rb:29:in `process_action'
+ actionpack (3.2.15) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
+ activesupport (3.2.15) lib/active_support/notifications.rb:123:in `block in instrument'
+ activesupport (3.2.15) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
+ activesupport (3.2.15) lib/active_support/notifications.rb:123:in `instrument'
+ actionpack (3.2.15) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
+ actionpack (3.2.15) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
+ activerecord (3.2.15) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
+ actionpack (3.2.15) lib/abstract_controller/base.rb:121:in `process'
+ actionpack (3.2.15) lib/abstract_controller/rendering.rb:45:in `process'
+ actionpack (3.2.15) lib/action_controller/metal.rb:203:in `dispatch'
+ actionpack (3.2.15) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
+ actionpack (3.2.15) lib/action_controller/metal.rb:246:in `block in action'
+ actionpack (3.2.15) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
+ actionpack (3.2.15) lib/action_dispatch/routing/route_set.rb:36:in `call'
+ journey (1.0.4) lib/journey/router.rb:68:in `block in call'
+ journey (1.0.4) lib/journey/router.rb:56:in `call'
+ actionpack (3.2.15) lib/action_dispatch/routing/route_set.rb:608:in `call'
+ warden (1.2.3) lib/warden/manager.rb:35:in `block in call'
+ warden (1.2.3) lib/warden/manager.rb:34:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
+ rack (1.4.5) lib/rack/etag.rb:23:in `call'
+ rack (1.4.5) lib/rack/conditionalget.rb:25:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/head.rb:14:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/flash.rb:242:in `call'
+ rack (1.4.5) lib/rack/session/abstract/id.rb:210:in `context'
+ rack (1.4.5) lib/rack/session/abstract/id.rb:205:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/cookies.rb:341:in `call'
+ activerecord (3.2.15) lib/active_record/query_cache.rb:64:in `call'
+ activerecord (3.2.15) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:405:in `_run__3004610597406491206__call__2215874786234277655__callbacks'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:405:in `__run_callback'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
+ activesupport (3.2.15) lib/active_support/callbacks.rb:81:in `run_callbacks'
+ actionpack (3.2.15) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/reloader.rb:65:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
+ better_errors (1.0.1) lib/better_errors/middleware.rb:84:in `protected_app_call'
+ better_errors (1.0.1) lib/better_errors/middleware.rb:79:in `better_errors_call'
+ better_errors (1.0.1) lib/better_errors/middleware.rb:56:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
+ railties (3.2.15) lib/rails/rack/logger.rb:32:in `call_app'
+ railties (3.2.15) lib/rails/rack/logger.rb:16:in `block in call'
+ activesupport (3.2.15) lib/active_support/tagged_logging.rb:22:in `tagged'
+ railties (3.2.15) lib/rails/rack/logger.rb:16:in `call'
+ quiet_assets (1.0.2) lib/quiet_assets.rb:18:in `call_with_quiet_assets'
+ actionpack (3.2.15) lib/action_dispatch/middleware/request_id.rb:22:in `call'
+ rack (1.4.5) lib/rack/methodoverride.rb:21:in `call'
+ rack (1.4.5) lib/rack/runtime.rb:17:in `call'
+ activesupport (3.2.15) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
+ rack (1.4.5) lib/rack/lock.rb:15:in `call'
+ actionpack (3.2.15) lib/action_dispatch/middleware/static.rb:63:in `call'
+ railties (3.2.15) lib/rails/engine.rb:484:in `call'
+ railties (3.2.15) lib/rails/application.rb:231:in `call'
+ rack (1.4.5) lib/rack/content_length.rb:14:in `call'
+ railties (3.2.15) lib/rails/rack/log_tailer.rb:17:in `call'
+ thin (1.6.1) lib/thin/connection.rb:82:in `block in pre_process'
+ thin (1.6.1) lib/thin/connection.rb:80:in `pre_process'
+ thin (1.6.1) lib/thin/connection.rb:55:in `process'
+ thin (1.6.1) lib/thin/connection.rb:41:in `receive_data'
+ eventmachine (1.0.3) lib/eventmachine.rb:187:in `run'
+ thin (1.6.1) lib/thin/backends/base.rb:73:in `start'
+ thin (1.6.1) lib/thin/server.rb:162:in `start'
+ rack (1.4.5) lib/rack/handler/thin.rb:13:in `run'
+ rack (1.4.5) lib/rack/server.rb:268:in `start'
+ railties (3.2.15) lib/rails/commands/server.rb:70:in `start'
+ railties (3.2.15) lib/rails/commands.rb:55:in `block in <top (required)>'
+ railties (3.2.15) lib/rails/commands.rb:50:in `<top (required)>'
+ script/rails:6:in `<main>'
+ script/rails:0:in `<main>'
+
+
+
+Started POST "/__better_errors/34628660/variables" for 127.0.0.1 at 2013-12-17 20:44:08 +0100
+
+
+Started GET "/vehicles/new" for 127.0.0.1 at 2013-12-17 20:44:22 +0100
+Processing by VehiclesController#new as HTML
+ [1m[35mUser Load (0.3ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
+ [1m[36m (0.2ms)[0m [1mSELECT COUNT(*) FROM "roles" INNER JOIN "users_roles" ON "roles"."id" = "users_roles"."role_id" WHERE "users_roles"."user_id" = 1 AND (((roles.name = 'admin') AND (roles.resource_type IS NULL) AND (roles.resource_id IS NULL)))[0m
+ [1m[35mProperty Load (0.2ms)[0m SELECT "properties".* FROM "properties"
+ Rendered vehicles/_form.html.erb (11.4ms)
+ Rendered vehicles/new.html.erb within layouts/application (12.8ms)
+Completed 200 OK in 98.7ms (Views: 84.1ms | ActiveRecord: 0.7ms)
+
+
+Started POST "/vehicles" for 127.0.0.1 at 2013-12-17 20:44:27 +0100
+Processing by VehiclesController#create as HTML
+ Parameters: {"utf8"=>"✓", "authenticity_token"=>"4lWdj95wcGN/cf0FcPGmja5mgFGccAupNXK1GDHpqCA=", "vehicle"=>{"manufacturer"=>"", "subtype"=>"", "year"=>"", "color"=>"", "properties"=>"6"}, "commit"=>"Create Vehicle"}
+Completed 500 Internal Server Error in 8.8ms
+
+ActiveModel::MassAssignmentSecurity::Error - Can't mass-assign protected attributes: properties:
+ activemodel (3.2.15) lib/active_model/mass_assignment_security/sanitizer.rb:48:in `process_removed_attributes'
+ activemodel (3.2.15) lib/a