diff --git a/.gitignore b/.gitignore index 90ec22b..af4e0f5 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,6 @@ .svn +<<<<<<< master +======= +log +nbproject +>>>>>>> local diff --git a/README b/README.markdown similarity index 67% rename from README rename to README.markdown index 4a42718..b9d4d1e 100644 --- a/README +++ b/README.markdown @@ -1,26 +1,41 @@ -== Welcome to EngineY +# Welcome to EngineY While originally designed to be a social networking framework allowing users to easily build a social network site, EngineY has become something much greater. It now has full Content Management capabilities and features similar to a full portal, such as the popular Java Portals like Liferay. EngineY is implemented in Ruby on Rails and is easy to customize and deploy as your own powerful and feature packed social media site. Empower users with their own blogs. Enhance collaboration with forums, groups and events. Let your users post Twitter-like status messages. Track all the activity on your site with a live activity stream. Build a custom client to access all of your social data using EngineY's RESTful API. -== Installation +## Installation EngineY requires the rmagick gem. To correctly install that gem along with the correct version of Imagemagick for your platform see this FAQ: http://rmagick.rubyforge.org/install-faq.html Edit the config/database.yml file to configure a local database for use with EngineY. + +You might need the following gem(s) + + $ gem install disguise (2.0.0 version) + $ gem install rack (1.2.1) + $ gem install rails (2.3.5) + $ gem install hpricot + +The following are installed using rake gem:install + $ ruby-openid + $ aws-s3 + $ jammit + + Run the following three commands in order: + $ rake db:create:all + $ rake db:migrate +These will create the database with the correct schema. + +The run the app + $ ruby script/server and browse http://localhost:3000 for the remainder of the setup. -rake db:create:all -rake db:migrate -rake enginey:db:ruby_mi_populate -This will create the database with the correct schema and populate it with data for a sample site. This will allow you to run the application and have a look around. You will be able to login with the following id and password: -User ID: admin -Password: admin +You can populate the app with data for a sample site, Use the "Populate with Sample Data" function on the engineY install page. This will allow you to run the application and have a look around. After logging in as the Admin, you can go to the 'Manage' tab and click on the 'Settings' tab. From that page, you can set a theme for your site. For example, try setting the RubyMI theme to see an example of what a Ruby community site might look like. -Getting Help/Support +## Getting Help/Support Additional documentation is available on the wiki pages. Any questions that you have about using EngineY or developing with EngineY should be posted to the EngineY Google Group http://groups.google.com/group/enginey. diff --git a/Rakefile b/Rakefile index 55ca8ea..3446fd2 100644 --- a/Rakefile +++ b/Rakefile @@ -9,7 +9,7 @@ require 'rake/rdoctask' require 'tasks/rails' -require 'disguise/tasks' +#require 'disguise/tasks' test_dir = File.expand_path('test') diff --git a/app/controllers/admin_controller.rb b/app/controllers/admin_controller.rb index 992229c..4b5d1ba 100644 --- a/app/controllers/admin_controller.rb +++ b/app/controllers/admin_controller.rb @@ -140,6 +140,16 @@ def events format.json {} end end + + def locations + @page = 'locations' + respond_to do |format| + format.html { + @locations = Location.find(:all) + } + format.json{} + end + end # Display the Blog Posts tab of the Admin page. @@ -372,14 +382,26 @@ def group_edit def event_new @event = Event.new + @locations = Location.find(:all, :order => "name") render 'event_form' end def event_edit @event = Event.find(params[:id]) + @locations = Location.find(:all, :order => "name") render 'event_form' end + + def location_new + @location = Location.new + render 'location_form' + end + + def location_edit + @location = Location.find(params[:id]) + render 'location_form' + end def user_new @@ -565,7 +587,7 @@ def post_event_data event_params = {:name => params[:name], :start_time => params[:start_time], :end_time => params[:end_time], - :location => params[:location], + :location_id => params[:location_id], :organizer => params[:organizer]} if params[:id] == "_empty" event = Event.create(event_params) diff --git a/app/controllers/events_controller.rb b/app/controllers/events_controller.rb index 5002b0f..837364c 100644 --- a/app/controllers/events_controller.rb +++ b/app/controllers/events_controller.rb @@ -77,6 +77,7 @@ def show def new @event = Event.new + @locations = Location.find(:all, :order => "name") if params[:group_id] @group = Group.find(params[:group_id]) end @@ -85,6 +86,7 @@ def new def edit @event = Event.find(params[:id]) + @locations = Location.find(:all, :order => "name") if params[:group_id] @group = Group.find(params[:group_id]) end diff --git a/app/controllers/locations_controller.rb b/app/controllers/locations_controller.rb new file mode 100644 index 0000000..72916e9 --- /dev/null +++ b/app/controllers/locations_controller.rb @@ -0,0 +1,80 @@ +class LocationsController < ApplicationController + def index + @locations = Location.find(:all, :conditions => "active = true", :order => "name desc") + respond_to do |format| + format.html { render :template => 'locations/index' } + format.xml { render :xml => @locations } + format.json { render :json => @locations.to_json } + end + end + + def show + @location = Location.find(params[:id]) + respond_to do |format| + format.html # location.html.erb + format.xml { render :xml => @location } + format.json { render :json => @location.to_json } + end + end + + def new + @location = Location.new + end + + def edit + @location = Location.find(params[:id]) + end + + def create + @location = Location.new(params[:location]) + if @location.save + format.html { + if params['admin_page'] + redirect_to('/admin/locations') + else + redirect_to(@location) + end + } + format.xml { render :xml => @location, :status => :created, :location => @location } + format.json { render :json => @location.to_json, :status => :created, :location => @location } + else + format.html { render :action => "new" } + format.xml { render :xml => @location.errors, :status => :unprocessable_entity } + format.json { render :json => @location.errors.to_json, :status => :unprocessable_entity } + end + + end + + def update + @location = Location.find(params[:id]) + respond_to do |format| + if @location.update_attributes(params[:location]) + flash[:notice] = 'Location was successfully updated.' + format.html { + if params['admin_page'] + redirect_to('/admin/locations') + else + redirect_to(@location) + end + } + format.xml { head :ok } + format.json { head :ok } + else + format.html { render :action => "edit" } + format.xml { render :xml => @location.errors, :status => :unprocessable_entity } + format.json { render :json => @location.errors.to_json, :status => :unprocessable_entity } + end + end + end + + def destroy + @location = Location.find(params[:id]) + @location.destroy + respond_to do |format| + format.html { redirect_to(events_url) } + format.xml { head :ok } + format.json { head :ok } + end + end + +end diff --git a/app/helpers/locations_helper.rb b/app/helpers/locations_helper.rb new file mode 100644 index 0000000..46f9428 --- /dev/null +++ b/app/helpers/locations_helper.rb @@ -0,0 +1,2 @@ +module LocationsHelper +end diff --git a/app/models/event.rb b/app/models/event.rb index 3bc6314..2510e64 100644 --- a/app/models/event.rb +++ b/app/models/event.rb @@ -42,6 +42,7 @@ class Event < ActiveRecord::Base has_one :profile_photo belongs_to :user # the creator + belongs_to :location has_many :wall_posts, :order=>'created_at DESC' validates_presence_of :start_time, :end_time, :name diff --git a/app/models/location.rb b/app/models/location.rb new file mode 100644 index 0000000..df03f6a --- /dev/null +++ b/app/models/location.rb @@ -0,0 +1,17 @@ +class Location < ActiveRecord::Base + +# == Schema Information +# Schema version: 20101212153538 +# +# Table name: locations +# name :string(255) +# street :string(255) +# city :string(255) +# website :string(255) +# phone :string(255) +# created_at :datetime +# updated_at :datetime + + has_many :events + +end diff --git a/app/views/admin/_left_nav.html.erb b/app/views/admin/_left_nav.html.erb index 8427edb..1bec981 100644 --- a/app/views/admin/_left_nav.html.erb +++ b/app/views/admin/_left_nav.html.erb @@ -8,6 +8,7 @@
  • <%= link_to 'Users', '/admin/users' %>
  • <%= link_to 'Groups', '/admin/groups' %>
  • <%= link_to 'Events', '/admin/events' %>
  • +
  • <%= link_to 'Locations', '/admin/locations' %>
  • <%= link_to 'Blog Posts', '/admin/blog_posts' %>
  • <%= link_to 'Forums', '/admin/forums' %>
  • <%= link_to 'Managed Content', '/admin/contents' %>
  • diff --git a/app/views/admin/events.html.erb b/app/views/admin/events.html.erb index 1746e8f..ea512b1 100644 --- a/app/views/admin/events.html.erb +++ b/app/views/admin/events.html.erb @@ -27,7 +27,7 @@ <%= event.name %> <%= event.start_time.to_s(:basic) %> <%= event.end_time.to_s(:basic) %> - <%= event.location %> + <%= event.location.name %> <%= event.organized_by %> <%= link_to 'Edit', '/admin/event_edit?id=' + event.id.to_s %> | diff --git a/app/views/admin/location_form.html.erb b/app/views/admin/location_form.html.erb new file mode 100644 index 0000000..114199d --- /dev/null +++ b/app/views/admin/location_form.html.erb @@ -0,0 +1,5 @@ +<%= stylesheet_link_tag 'locations' %> + +
    + <%= render :partial=>'/locations/location_form', :locals => {:admin_page => true} %> +
    \ No newline at end of file diff --git a/app/views/admin/locations.html.erb b/app/views/admin/locations.html.erb new file mode 100644 index 0000000..2f4d884 --- /dev/null +++ b/app/views/admin/locations.html.erb @@ -0,0 +1,44 @@ + + +

    Locations

    +<%= link_to 'Add Location', '/admin/location_new' %> + + + + + + + + + + + + + + <% @locations.each do |location| %> + + + + + + + + + + + + <% end %> + +
    IDNameStreetCityWebsitePhoneCreated AtUpdated AtActions
    <%= location.id %><%= location.name %><%= location.street %><%= location.city %><%= location.website %><%= location.phone %><%= location.created_at.to_s(:basic) %><%= location.updated_at.to_s(:basic) %> + <%= link_to 'Edit', '/admin/location_edit?id=' + location.id.to_s %> | +
    + + diff --git a/app/views/events/_event_brief.html.erb b/app/views/events/_event_brief.html.erb index 984af1f..9ea95a1 100644 --- a/app/views/events/_event_brief.html.erb +++ b/app/views/events/_event_brief.html.erb @@ -28,7 +28,7 @@ limitations under the License.
    <%= link_to event.name, event_url(event) %>
    <%= event.start_time.to_s(:event_brief) %> to <%= event.end_time.to_s(:event_brief) %>
    - <%= event.location %>
    + <%= event.location.name %>
    <%= event.description %>
    Organized By: <%= event.organized_by %>
    Event Type: <%= event.event_type %> diff --git a/app/views/events/_event_details.html.erb b/app/views/events/_event_details.html.erb index 500127b..8fed94b 100644 --- a/app/views/events/_event_details.html.erb +++ b/app/views/events/_event_details.html.erb @@ -27,8 +27,9 @@ limitations under the License.
    <%= @event.name %>
    <%= link_to @event.website, @event.website %>
    Time: <%= @event.start_time.to_s(:event_brief) %>
    - Location: <%= @event.location %>
    - City/Town: <%= @event.city %>
    + Location: <%= @event.location.name %>
    + City/Town: <%= @event.location.city %>
    + State: <%= @event.location.state %>
    Event Type: <%= @event.event_type %>
    Organized By: <%= @event.organized_by %>
    diff --git a/app/views/events/_event_form.html.erb b/app/views/events/_event_form.html.erb index 41f3547..5d515e6 100644 --- a/app/views/events/_event_form.html.erb +++ b/app/views/events/_event_form.html.erb @@ -40,20 +40,20 @@ limitations under the License.
    <%= f.datetime_select :end_time, :twelve_hour => true, :class=>'input_field' %>
    - <%= f.text_field :location, :class=>'input_field' %> +
    <%= select "event", "location_id", @locations.map {|l| [l.name, l.id]}, :class=>'input_field' %>
    - - <%= f.text_field :street, :class=>'input_field' %> + <%#*%> + <%#= f.text_field :street, :class=>'input_field' %> - - <%= f.text_field :city, :class=>'input_field' %> + <%#*%> + <%#= f.text_field :city, :class=>'input_field' %> - - <%= f.text_field :website, :class=>'input_field' %> -
    Add the web address for the venue or link to a Google Map
    + <%#*%> + <%#= f.text_field :website, :class=>'input_field' %> + <%#*
    Add the web address for the venue or link to a Google Map
    %> - - <%= f.text_field :phone, :class=>'input_field' %> + <%#*%> + <%#= f.text_field :phone, :class=>'input_field' %> <%= f.text_field :organized_by, :class=>'input_field' %> diff --git a/app/views/locations/_location_admin_widget.html.erb b/app/views/locations/_location_admin_widget.html.erb new file mode 100644 index 0000000..4d56211 --- /dev/null +++ b/app/views/locations/_location_admin_widget.html.erb @@ -0,0 +1,6 @@ +
    +
    Location Admin
    +
    + <%= link_to 'Edit Location', edit_event_url(@location) %>
    +
    +
    \ No newline at end of file diff --git a/app/views/locations/_location_details.html.erb.erb b/app/views/locations/_location_details.html.erb.erb new file mode 100644 index 0000000..17125c9 --- /dev/null +++ b/app/views/locations/_location_details.html.erb.erb @@ -0,0 +1,16 @@ +
    +
    Location Details
    +
    +
    +
    <%= @location.name %>
    + <%= link_to @location.website, @location.website %>
    + Name: <%= @location.name %>
    + Street: <%= @location.street %>
    + City/Town: <%= @location.city %>
    + State: <%= @location.state %>
    + Website: <%= @location.website %>
    + Phone: <%= @location.phone %> +
    +
    +
    +
    \ No newline at end of file diff --git a/app/views/locations/_location_form.html.erb b/app/views/locations/_location_form.html.erb new file mode 100644 index 0000000..b3fbb82 --- /dev/null +++ b/app/views/locations/_location_form.html.erb @@ -0,0 +1,28 @@ + +<% form_for(@location) do |f| -%> + <%= f.error_messages %> + + + + <%= f.text_field :name, :class=>'input_field' %> + + + <%= f.text_field :street, :class=>'input_field' %> + + + <%= f.text_field :city, :class=>'input_field' %> + + + <%= f.text_field :state, :class=>'input_field' %> + + + <%= f.text_field :website, :class=>'input_field' %> +
    Add the web address for the venue or link to a Google Map
    + + + <%= f.text_field :phone, :class=>'input_field' %> + + <%= f.submit "Add Location", :class=>'add_button' %> +
    + +<% end %> diff --git a/app/views/locations/create.html.erb b/app/views/locations/create.html.erb new file mode 100644 index 0000000..c618aec --- /dev/null +++ b/app/views/locations/create.html.erb @@ -0,0 +1,2 @@ +

    Locations#create

    +

    Find me in app/views/locations/create.html.erb

    diff --git a/app/views/locations/destroy.html.erb b/app/views/locations/destroy.html.erb new file mode 100644 index 0000000..ca6d73c --- /dev/null +++ b/app/views/locations/destroy.html.erb @@ -0,0 +1,2 @@ +

    Locations#destroy

    +

    Find me in app/views/locations/destroy.html.erb

    diff --git a/app/views/locations/edit.html.erb b/app/views/locations/edit.html.erb new file mode 100644 index 0000000..46bc667 --- /dev/null +++ b/app/views/locations/edit.html.erb @@ -0,0 +1,2 @@ +

    Locations#edit

    +

    Find me in app/views/locations/edit.html.erb

    diff --git a/app/views/locations/index.html.erb b/app/views/locations/index.html.erb new file mode 100644 index 0000000..a41b98a --- /dev/null +++ b/app/views/locations/index.html.erb @@ -0,0 +1,2 @@ +

    Locations#index

    +

    Find me in app/views/locations/index.html.erb

    diff --git a/app/views/locations/new.html.erb b/app/views/locations/new.html.erb new file mode 100644 index 0000000..b54cf59 --- /dev/null +++ b/app/views/locations/new.html.erb @@ -0,0 +1,7 @@ +<%= stylesheet_link_tag 'events' %> + +

    Add a Location

    + +
    + <%= render :partial => 'location_form' %> +
    diff --git a/app/views/locations/show.html.erb b/app/views/locations/show.html.erb new file mode 100644 index 0000000..6414027 --- /dev/null +++ b/app/views/locations/show.html.erb @@ -0,0 +1,22 @@ +<%= stylesheet_link_tag 'locations' %> + +<% content_for :script_content do %> + <%= javascript_include_tag 'wall_posts' %> +<% end %> + +
    + <%= render :partial => 'location_details' %> +
    +
    Location Name
    +
    + <%= @location.name %> +
    +
    +
    +
    + <% if (current_user && current_user.is_admin) %> + <%= render :partial => 'location_admin_widget' %> + <% end %> +
    + + diff --git a/app/views/locations/update.html.erb b/app/views/locations/update.html.erb new file mode 100644 index 0000000..91c089e --- /dev/null +++ b/app/views/locations/update.html.erb @@ -0,0 +1,2 @@ +

    Locations#update

    +

    Find me in app/views/locations/update.html.erb

    diff --git a/app/views/widgets/events_home.html.erb b/app/views/widgets/events_home.html.erb index 60c566b..6960fa2 100644 --- a/app/views/widgets/events_home.html.erb +++ b/app/views/widgets/events_home.html.erb @@ -41,7 +41,7 @@ limitations under the License. <%= link_to event.name, event_url(event) %>
    <%= event.start_time.to_s(:event_brief) %>
    - <%= event.location %> + <%= event.location.name %> <% end %> diff --git a/app/views/widgets/events_profile.html.erb b/app/views/widgets/events_profile.html.erb index 95354d5..f86f43c 100644 --- a/app/views/widgets/events_profile.html.erb +++ b/app/views/widgets/events_profile.html.erb @@ -35,7 +35,7 @@ limitations under the License. <%= link_to event.name, event_url(event) %>
    <%= event.start_time.to_s(:event_brief) %>
    - <%= event.location %> + <%= event.location.name %> <% end %> <% if @user.events.length == 0 %> diff --git a/config/routes.rb b/config/routes.rb index ed92f2e..c71a9b1 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -33,6 +33,7 @@ map.resources :forum_posts, :collection => {:grid_data=>:get} map.resources :blog_posts, :collection => {:publish=>:get} map.resources :events, :collection => {:full_index=>:get} + map.resources :locations, :coolection => {:index => :get} map.resources :stats, :collection => {:index=>:get} map.resources :memberships, :collection => {:find=>:get} diff --git a/db/migrate/20101212153538_create_locations.rb b/db/migrate/20101212153538_create_locations.rb new file mode 100644 index 0000000..26bd4c3 --- /dev/null +++ b/db/migrate/20101212153538_create_locations.rb @@ -0,0 +1,63 @@ +class CreateLocations < ActiveRecord::Migration + def self.up + create_table :locations do |t| + t.string :name + t.string :street + t.string :city + t.string :state + t.string :country + t.string :phone + t.string :website + t.boolean :active, :default => true + t.timestamps + end + + rename_column :events, :location, :xlocation + + add_column :events, :location_id, :int + + #Move event locations to location while trying to dedupe the location + Event.find(:all).each do |event| + newloc = nil + if (! (event.xlocation.nil? || event.xlocation.empty?)) + newloc = Location.find(:first, :conditions => { + :name => event.xlocation, + }) + end + + if (newloc.nil?) + newloc = Location.new( + :name => event.xlocation, + :street => event.street, + :city => event.city, + :phone => event.phone + ) + newloc.save + end + event.location = newloc + event.save + end + + remove_column :events, :xlocation + remove_column :events, :street + remove_column :events, :city + remove_column :events, :phone + + end + + def self.down + add_column :events, :xlocation, :string + add_column :events, :street, :string + add_column :events, :city, :string + add_column :events, :phone, :string + Event.find(:all).each do |event| + event.xlocation = event.location.name + event.street = event.location.street + event.city = event.location.city + event.phone = event.location.phone + end + drop_table :locations + remove_column :events, :location_id + rename_column :events, :xlocation, :location + end +end diff --git a/db/schema.rb b/db/schema.rb index 844cc12..64ecc75 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -9,7 +9,7 @@ # # It's strongly recommended to check this file into your version control system. -ActiveRecord::Schema.define(:version => 20100707160333) do +ActiveRecord::Schema.define(:version => 20101212153538) do create_table "activities", :force => true do |t| t.integer "user_id" @@ -146,6 +146,18 @@ t.datetime "updated_at" end + create_table "documents", :force => true do |t| + t.string "document_file_name" + t.string "document_content_type" + t.integer "document_file_size" + t.datetime "document_updated_at" + t.integer "user_id" + t.integer "group_id" + t.integer "event_id" + t.datetime "created_at" + t.datetime "updated_at" + end + create_table "domain_themes", :force => true do |t| t.string "uri" t.string "name" @@ -153,6 +165,11 @@ add_index "domain_themes", ["uri"], :name => "index_domain_themes_on_uri" + create_table "event_reviews", :force => true do |t| + t.datetime "created_at" + t.datetime "updated_at" + end + create_table "events", :force => true do |t| t.string "name" t.integer "user_id" @@ -161,14 +178,14 @@ t.string "event_type" t.datetime "start_time" t.datetime "end_time" - t.string "location" - t.string "street" - t.string "city" t.string "website" - t.string "phone" t.string "organized_by" t.datetime "created_at" t.datetime "updated_at" + t.integer "group_id" + t.string "feed_url" + t.string "article_guid" + t.integer "location_id" end create_table "ey_modules", :force => true do |t| @@ -248,6 +265,7 @@ t.integer "user_id" t.datetime "created_at" t.datetime "updated_at" + t.integer "group_id" end create_table "invites", :force => true do |t| @@ -293,6 +311,19 @@ t.datetime "updated_at" end + create_table "locations", :force => true do |t| + t.string "name" + t.string "street" + t.string "city" + t.string "state" + t.string "country" + t.string "phone" + t.string "website" + t.boolean "active", :default => true + t.datetime "created_at" + t.datetime "updated_at" + end + create_table "memberships", :force => true do |t| t.integer "user_id" t.integer "group_id" diff --git a/log/test.log b/log/test.log index d2ca63d..af036d6 100644 --- a/log/test.log +++ b/log/test.log @@ -87389,3 +87389,15865 @@ Processing BlogPostsController#update (for 0.0.0.0 at 2010-03-17 23:12:17) [PUT] Redirected to http://test.host/blog_posts/1 Completed in 7ms (DB: 3) | 302 Found [http://test.host/blog_posts/1?] SQL (0.1ms) ROLLBACK +** acts_as_taggable_on: initialized properly. + SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 + SQL (0.1ms) BEGIN + Activity Load (0.4ms) SELECT * FROM `activities` WHERE (`activities`.`id` = 24)  + User Load (0.4ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Announcement Load (0.3ms) SELECT * FROM `announcements` WHERE (`announcements`.`id` = 1)  + SQL (0.1ms) ROLLBACK + SQL (0.0ms) BEGIN + Activity Load (0.3ms) SELECT * FROM `activities` WHERE (`activities`.`id` = 16)  + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Attendance Load (0.2ms) SELECT * FROM `attendances` WHERE (`attendances`.`id` = 1)  + Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.`id` = 1)  + SQL (0.1ms) ROLLBACK + SQL (0.0ms) BEGIN + Activity Load (0.4ms) SELECT * FROM `activities` WHERE (`activities`.`id` = 15)  + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + BlogPost Load (0.2ms) SELECT * FROM `blog_posts` WHERE (`blog_posts`.`id` = 1)  + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + Activity Load (0.2ms) SELECT * FROM `activities` WHERE (`activities`.`id` = 20)  + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + BookReview Load (0.2ms) SELECT * FROM `book_reviews` WHERE (`book_reviews`.`id` = 1)  + SQL (0.1ms) ROLLBACK + SQL (0.0ms) BEGIN + Activity Load (0.2ms) SELECT * FROM `activities` WHERE (`activities`.`id` = 25)  + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Classified Load (0.2ms) SELECT * FROM `classifieds` WHERE (`classifieds`.`id` = 1)  + SQL (0.1ms) ROLLBACK + SQL (0.0ms) BEGIN + Activity Load (0.3ms) SELECT * FROM `activities` WHERE (`activities`.`id` = 11)  + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.`id` = 1)  + SQL (0.1ms) ROLLBACK + SQL (0.0ms) BEGIN + Activity Load (0.2ms) SELECT * FROM `activities` WHERE (`activities`.`id` = 18)  + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + ForumPost Load (0.2ms) SELECT * FROM `forum_posts` WHERE (`forum_posts`.`id` = 1)  + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + Activity Load (0.2ms) SELECT * FROM `activities` WHERE (`activities`.`id` = 10)  + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Friendship Load (0.2ms) SELECT * FROM `friendships` WHERE (`friendships`.`id` = 5)  + User Load (0.4ms) SELECT * FROM `users` WHERE (`users`.`id` = 8)  + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + Activity Load (0.2ms) SELECT * FROM `activities` WHERE (`activities`.`id` = 14)  + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 1)  + SQL (0.1ms) ROLLBACK + SQL (0.0ms) BEGIN + Activity Load (0.3ms) SELECT * FROM `activities` WHERE (`activities`.`id` = 19)  + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + JobPost Load (0.2ms) SELECT * FROM `job_posts` WHERE (`job_posts`.`id` = 1)  + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + Activity Load (0.3ms) SELECT * FROM `activities` WHERE (`activities`.`id` = 22)  + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Link Load (1.3ms) SELECT * FROM `links` WHERE (`links`.`id` = 1)  + SQL (0.2ms) ROLLBACK + SQL (0.0ms) BEGIN + Activity Load (0.2ms) SELECT * FROM `activities` WHERE (`activities`.`id` = 17)  + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Membership Load (0.2ms) SELECT * FROM `memberships` WHERE (`memberships`.`id` = 1)  + Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 1)  + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + Activity Load (0.2ms) SELECT * FROM `activities` WHERE (`activities`.`id` = 13)  + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Photo Load (0.2ms) SELECT * FROM `photos` WHERE (`photos`.`id` = 1)  + Photo Load (0.2ms) SELECT id, user_id, filename, parent_id, created_at FROM `photos` WHERE (`photos`.`id` = 1)  + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + Activity Load (0.3ms) SELECT * FROM `activities` WHERE (`activities`.`id` = 23)  + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + Activity Load (0.2ms) SELECT * FROM `activities` WHERE (`activities`.`id` = 21)  + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + StatusPost Load (0.2ms) SELECT * FROM `status_posts` WHERE (`status_posts`.`id` = 1)  + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + Activity Load (0.3ms) SELECT * FROM `activities` WHERE (`activities`.`id` = 12)  + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + Activity Load (0.5ms) SELECT * FROM `activities` ORDER BY created_at DESC + SQL (0.1ms) ROLLBACK + SQL (0.0ms) BEGIN + Activity Load (0.3ms) SELECT * FROM `activities` ORDER BY created_at DESC LIMIT 10 + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.1ms) SAVEPOINT active_record_1 + Announcement Create (0.2ms) INSERT INTO `announcements` (`created_at`, `title`, `body`, `updated_at`, `group_id`, `user_id`) VALUES('2010-12-22 05:13:47', 'Test Announcement', 'This is a unit test announcement', '2010-12-22 05:13:47', NULL, 1) + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Activity Create (0.3ms) INSERT INTO `activities` (`created_at`, `public`, `updated_at`, `action`, `user_id`, `item_id`, `item_type`) VALUES('2010-12-22 05:13:47', 1, '2010-12-22 05:13:47', NULL, 1, 3, 'Announcement') + Network Load (0.2ms) SELECT * FROM `networks` LIMIT 1 + User Load (1.2ms) SELECT * FROM `users`  +Sent mail to quentin@example.com,aaron@example.com,sfisher@example.com,henry@example.com,mitch@example.com,bobby@example.com,user7@test.com,user8@test.com,user9@test.com,user10@test.com,user11@test.com,user12@test.com,user13@test.com,user14@test.com,user15@test.com,user16@test.com,user17@test.com,user18@test.com,user19@test.com,user20@test.com,user21@test.com,user22@test.com,user23@test.com,user24@test.com,user25@test.com,user26@test.com,user27@test.com,user28@test.com,user29@test.com,user30@test.com,user31@test.com,user32@test.com,user33@test.com,user34@test.com,user35@test.com,user36@test.com,user37@test.com,user38@test.com,user39@test.com,user40@test.com + +Date: Tue, 21 Dec 2010 22:13:47 -0700 +To: quentin@example.com, aaron@example.com, sfisher@example.com, henry@example.com, mitch@example.com, bobby@example.com, user7@test.com, user8@test.com, user9@test.com, user10@test.com, + user11@test.com, user12@test.com, user13@test.com, user14@test.com, user15@test.com, user16@test.com, user17@test.com, user18@test.com, user19@test.com, user20@test.com, user21@test.com, + user22@test.com, user23@test.com, user24@test.com, user25@test.com, user26@test.com, user27@test.com, user28@test.com, user29@test.com, user30@test.com, user31@test.com, user32@test.com, + user33@test.com, user34@test.com, user35@test.com, user36@test.com, user37@test.com, user38@test.com, user39@test.com, user40@test.com +Subject: [Test Network] Test Announcement +Mime-Version: 1.0 +Content-Type: text/html; charset=utf-8 + + +A new announcement has been posted to the Michigan Ruby Community website. +

    +Test Announcement +

    +Read it online at: RubyMI.org + + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + Activity Load (0.4ms) SELECT * FROM `activities` WHERE (`activities`.`item_id` = 3 AND `activities`.`item_type` = 'Announcement') LIMIT 1 + SQL (60.2ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.1ms) SAVEPOINT active_record_1 + Attendance Create (0.2ms) INSERT INTO `attendances` (`created_at`, `attendee_id`, `event_id`, `updated_at`, `status`) VALUES('2010-12-22 05:13:47', 3, 2, '2010-12-22 05:13:47', '') + User Load (0.5ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  + Activity Create (0.2ms) INSERT INTO `activities` (`created_at`, `public`, `updated_at`, `action`, `user_id`, `item_id`, `item_type`) VALUES('2010-12-22 05:13:47', 1, '2010-12-22 05:13:47', NULL, 3, 5, 'Attendance') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + Activity Load (0.3ms) SELECT * FROM `activities` WHERE (`activities`.`item_id` = 5 AND `activities`.`item_type` = 'Attendance') LIMIT 1 + SQL (42.0ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.1ms) SAVEPOINT active_record_1 + BlogPost Create (0.3ms) INSERT INTO `blog_posts` (`created_at`, `title`, `body`, `guid`, `published`, `featured`, `updated_at`, `url`, `views`, `user_id`, `parent_id`, `summary`, `published_at`) VALUES('2010-12-22 05:13:47', 'Test Blog Post', 'Body of a test blog post 2Body of a test blog post \n 3Body of a test blog post 4Body of a test blog post\n 5Body of a test blog post 6Body of a test blog post\n 7Body of a test blog post 8Body of a test blog post\n 9Body of a test blog post 0Body of a test blog post\n 1Body of a test blog post 2Body of a test blog post\n 3Body of a test blog post 4Body of a test blog post\n 5Body of a test blog post 6Body of a test blog post\n 7Body of a test blog post 8Body of a test blog post\n 9Body of a test blog post 0Body of a test blog post', NULL, 1, 0, '2010-12-22 05:13:47', NULL, 0, 1, NULL, 'Summary of the post', NULL) + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Activity Create (0.2ms) INSERT INTO `activities` (`created_at`, `public`, `updated_at`, `action`, `user_id`, `item_id`, `item_type`) VALUES('2010-12-22 05:13:47', 1, '2010-12-22 05:13:47', NULL, 1, 4, 'BlogPost') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (41.5ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.1ms) SAVEPOINT active_record_1 + BlogPost Create (0.3ms) INSERT INTO `blog_posts` (`created_at`, `title`, `body`, `guid`, `published`, `featured`, `updated_at`, `url`, `views`, `user_id`, `parent_id`, `summary`, `published_at`) VALUES('2010-12-22 05:13:47', 'Test Blog Post', 'Body of a test blog post 2Body of a test blog post \n 3Body of a test blog post 4Body of a test blog post\n 5Body of a test blog post 6Body of a test blog post\n 7Body of a test blog post 8Body of a test blog post\n 9Body of a test blog post 0Body of a test blog post\n 1Body of a test blog post 2Body of a test blog post\n 3Body of a test blog post 4Body of a test blog post\n 5Body of a test blog post 6Body of a test blog post\n 7Body of a test blog post 8Body of a test blog post\n 9Body of a test blog post 0Body of a test blog post', NULL, 1, 0, '2010-12-22 05:13:47', NULL, 0, 1, NULL, 'Summary of the post', NULL) + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Activity Create (0.2ms) INSERT INTO `activities` (`created_at`, `public`, `updated_at`, `action`, `user_id`, `item_id`, `item_type`) VALUES('2010-12-22 05:13:47', 1, '2010-12-22 05:13:47', NULL, 1, 5, 'BlogPost') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + Activity Load (0.4ms) SELECT * FROM `activities` WHERE (`activities`.`item_id` = 5 AND `activities`.`item_type` = 'BlogPost') LIMIT 1 + SQL (41.2ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.1ms) SAVEPOINT active_record_1 + BlogPost Create (0.3ms) INSERT INTO `blog_posts` (`created_at`, `title`, `body`, `guid`, `published`, `featured`, `updated_at`, `url`, `views`, `user_id`, `parent_id`, `summary`, `published_at`) VALUES('2010-12-22 05:13:47', 'Test Blog Post', 'Body of a test blog post 2Body of a test blog post \n 3Body of a test blog post 4Body of a test blog post\n 5Body of a test blog post 6Body of a test blog post\n 7Body of a test blog post 8Body of a test blog post\n 9Body of a test blog post 0Body of a test blog post\n 1Body of a test blog post 2Body of a test blog post\n 3Body of a test blog post 4Body of a test blog post\n 5Body of a test blog post 6Body of a test blog post\n 7Body of a test blog post 8Body of a test blog post\n 9Body of a test blog post 0Body of a test blog post', NULL, 0, 0, '2010-12-22 05:13:47', NULL, 0, 1, NULL, 'Summary of the post', NULL) + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + Activity Load (0.3ms) SELECT * FROM `activities` WHERE (`activities`.`item_id` = 6 AND `activities`.`item_type` = 'BlogPost') LIMIT 1 + SQL (44.3ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.1ms) SAVEPOINT active_record_1 + BlogPost Create (0.3ms) INSERT INTO `blog_posts` (`created_at`, `title`, `body`, `guid`, `published`, `featured`, `updated_at`, `url`, `views`, `user_id`, `parent_id`, `summary`, `published_at`) VALUES('2010-12-22 05:13:47', 'Test Blog Post', 'Body of a test blog post 2Body of a test blog post \n 3Body of a test blog post 4Body of a test blog post\n 5Body of a test blog post 6Body of a test blog post\n 7Body of a test blog post 8Body of a test blog post\n 9Body of a test blog post 0Body of a test blog post\n 1Body of a test blog post 2Body of a test blog post\n 3Body of a test blog post 4Body of a test blog post\n 5Body of a test blog post 6Body of a test blog post\n 7Body of a test blog post 8Body of a test blog post\n 9Body of a test blog post 0Body of a test blog post', NULL, 0, 0, '2010-12-22 05:13:47', NULL, 0, 1, NULL, 'Summary of the post', NULL) + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + BlogPost Update (0.3ms) UPDATE `blog_posts` SET `updated_at` = '2010-12-22 05:13:47', `published` = 1 WHERE `id` = 7 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + Activity Create (0.2ms) INSERT INTO `activities` (`created_at`, `public`, `updated_at`, `action`, `user_id`, `item_id`, `item_type`) VALUES('2010-12-22 05:13:47', 1, '2010-12-22 05:13:47', NULL, 1, 7, 'BlogPost') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + BlogPost Load (0.3ms) SELECT * FROM `blog_posts` WHERE (`blog_posts`.`id` = 7)  + SQL (39.6ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.1ms) SAVEPOINT active_record_1 + BookReview Create (0.3ms) INSERT INTO `book_reviews` (`name`, `buy_link`, `created_at`, `image_url`, `featured`, `updated_at`, `review`, `publisher`, `user_id`, `website`, `release_date`) VALUES('Test Book Review', 'www.coolbook.com/buy', '2010-12-22 05:13:47', 'www.coolbook.com/image.jpg', 0, '2010-12-22 05:13:47', 'I thought this was a great and cool book.', 'O\'Reilly', 1, 'www.coolbook.com', '2010-12-21 22:13:47') + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Activity Create (0.2ms) INSERT INTO `activities` (`created_at`, `public`, `updated_at`, `action`, `user_id`, `item_id`, `item_type`) VALUES('2010-12-22 05:13:47', 1, '2010-12-22 05:13:47', NULL, 1, 3, 'BookReview') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + Activity Load (0.4ms) SELECT * FROM `activities` WHERE (`activities`.`item_id` = 3 AND `activities`.`item_type` = 'BookReview') LIMIT 1 + SQL (36.4ms) ROLLBACK + SQL (0.1ms) BEGIN + BugReport Load (0.3ms) SELECT * FROM `bug_reports` WHERE (`bug_reports`.`id` = 1)  + BugReport Load (0.3ms) SELECT * FROM `bug_reports` WHERE (`bug_reports`.`id` = 4)  + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + BugReport Load (0.1ms) SELECT * FROM `bug_reports` WHERE (`bug_reports`.`id` = 1)  + BugReport Load (0.2ms) SELECT * FROM `bug_reports` WHERE (`bug_reports`.`id` = 3)  + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + ClassifiedCategory Load (0.2ms) SELECT * FROM `classified_categories` WHERE (`classified_categories`.`id` = 1)  + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + Classified Load (0.1ms) SELECT * FROM `classifieds` WHERE (`classifieds`.`id` = 1)  + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + Classified Load (0.1ms) SELECT * FROM `classifieds` WHERE (`classifieds`.`id` = 1)  + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.1ms) ROLLBACK + SQL (0.0ms) BEGIN + SQL (0.0ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.1ms) ROLLBACK + SQL (0.0ms) BEGIN + SQL (0.0ms) ROLLBACK + SQL (0.0ms) BEGIN + Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.`id` = 1)  + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.1ms) ROLLBACK + SQL (0.0ms) BEGIN + Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.`id` = 1)  + SQL (0.1ms) ROLLBACK + SQL (0.0ms) BEGIN + Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.`id` = 1)  + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.1ms) ROLLBACK + SQL (0.0ms) BEGIN + SQL (0.0ms) ROLLBACK + SQL (0.0ms) BEGIN + SQL (0.0ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.1ms) ROLLBACK + SQL (0.0ms) BEGIN + SQL (0.1ms) SAVEPOINT active_record_1 + ForumPost Create (0.2ms) INSERT INTO `forum_posts` (`forum_topic_id`, `created_at`, `title`, `body`, `featured`, `updated_at`, `views`, `user_id`, `parent_id`) VALUES(1, '2010-12-22 05:13:47', 'Test Forum Post', 'This is the body of my forum post', 0, '2010-12-22 05:13:47', 0, 1, NULL) + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Activity Create (0.2ms) INSERT INTO `activities` (`created_at`, `public`, `updated_at`, `action`, `user_id`, `item_id`, `item_type`) VALUES('2010-12-22 05:13:47', 1, '2010-12-22 05:13:47', NULL, 1, 16, 'ForumPost') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + Activity Load (0.4ms) SELECT * FROM `activities` WHERE (`activities`.`item_id` = 16 AND `activities`.`item_type` = 'ForumPost') LIMIT 1 + SQL (36.0ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.1ms) SAVEPOINT active_record_1 + ForumPost Create (0.3ms) INSERT INTO `forum_posts` (`forum_topic_id`, `created_at`, `title`, `body`, `featured`, `updated_at`, `views`, `user_id`, `parent_id`) VALUES(1, '2010-12-22 05:13:48', 'Test Forum Post', 'This is the body of my forum post,\n This is the body of my forum post,\n This is the body of my forum post,\n This is the body of my forum post,\n This is the body of my forum post,\n This is the body of my forum post,\n This is the body of my forum post,\n This is the body of my forum post,\n This is the body of my forum post,\n This is the body of my forum post,\n This is the body of my forum post', 0, '2010-12-22 05:13:48', 0, 1, NULL) + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Activity Create (0.2ms) INSERT INTO `activities` (`created_at`, `public`, `updated_at`, `action`, `user_id`, `item_id`, `item_type`) VALUES('2010-12-22 05:13:48', 1, '2010-12-22 05:13:48', NULL, 1, 17, 'ForumPost') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (50.8ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  + Friendship Load (0.3ms) SELECT * FROM `friendships` WHERE (`friendships`.`friend_id` = 3 AND `friendships`.`user_id` = 1) LIMIT 1 + SQL (0.1ms) SAVEPOINT active_record_1 + Friendship Load (0.1ms) SELECT * FROM `friendships` WHERE (`friendships`.`friend_id` = 3 AND `friendships`.`user_id` = 1) LIMIT 1 + Friendship Update (0.3ms) UPDATE `friendships` SET `updated_at` = '2010-12-22 05:13:48', `status` = 'accepted' WHERE `id` = 3 + Friendship Load (0.2ms) SELECT * FROM `friendships` WHERE (`friendships`.`friend_id` = 1 AND `friendships`.`user_id` = 3) LIMIT 1 + Friendship Update (0.2ms) UPDATE `friendships` SET `updated_at` = '2010-12-22 05:13:48', `status` = 'accepted' WHERE `id` = 4 + Friendship Load (0.2ms) SELECT * FROM `friendships` WHERE (`friendships`.`friend_id` = 3 AND `friendships`.`user_id` = 1) LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Activity Create (0.2ms) INSERT INTO `activities` (`created_at`, `public`, `updated_at`, `action`, `user_id`, `item_id`, `item_type`) VALUES('2010-12-22 05:13:48', 1, '2010-12-22 05:13:48', NULL, 1, 3, 'Friendship') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + Friendship Load (0.2ms) SELECT * FROM `friendships` WHERE (`friendships`.`friend_id` = 3 AND `friendships`.`user_id` = 1) LIMIT 1 + SQL (45.4ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  + Friendship Load (0.3ms) SELECT * FROM `friendships` WHERE (`friendships`.`friend_id` = 3 AND `friendships`.`user_id` = 1) LIMIT 1 + SQL (0.1ms) SAVEPOINT active_record_1 + Friendship Load (0.1ms) SELECT * FROM `friendships` WHERE (`friendships`.`friend_id` = 3 AND `friendships`.`user_id` = 1) LIMIT 1 + Friendship Update (0.3ms) UPDATE `friendships` SET `updated_at` = '2010-12-22 05:13:48', `status` = 'accepted' WHERE `id` = 3 + Friendship Load (0.2ms) SELECT * FROM `friendships` WHERE (`friendships`.`friend_id` = 1 AND `friendships`.`user_id` = 3) LIMIT 1 + Friendship Update (0.2ms) UPDATE `friendships` SET `updated_at` = '2010-12-22 05:13:48', `status` = 'accepted' WHERE `id` = 4 + Friendship Load (0.2ms) SELECT * FROM `friendships` WHERE (`friendships`.`friend_id` = 3 AND `friendships`.`user_id` = 1) LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Activity Create (0.2ms) INSERT INTO `activities` (`created_at`, `public`, `updated_at`, `action`, `user_id`, `item_id`, `item_type`) VALUES('2010-12-22 05:13:48', 1, '2010-12-22 05:13:48', NULL, 1, 3, 'Friendship') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + Friendship Load (0.2ms) SELECT * FROM `friendships` WHERE (`friendships`.`friend_id` = 1 AND `friendships`.`user_id` = 3) LIMIT 1 + SQL (0.1ms) SAVEPOINT active_record_1 + Friendship Load (0.2ms) SELECT * FROM `friendships` WHERE (`friendships`.`friend_id` = 1 AND `friendships`.`user_id` = 3) LIMIT 1 + Friendship Load (0.2ms) SELECT * FROM `friendships` WHERE (`friendships`.`id` = 4)  + Friendship Destroy (0.1ms) DELETE FROM `friendships` WHERE `id` = 4 + Friendship Load (0.2ms) SELECT * FROM `friendships` WHERE (`friendships`.`friend_id` = 3 AND `friendships`.`user_id` = 1) LIMIT 1 + Friendship Load (0.2ms) SELECT * FROM `friendships` WHERE (`friendships`.`id` = 3)  + Friendship Destroy (0.1ms) DELETE FROM `friendships` WHERE `id` = 3 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + Friendship Load (0.2ms) SELECT * FROM `friendships` WHERE (`friendships`.`friend_id` = 3 AND `friendships`.`user_id` = 1) LIMIT 1 + SQL (91.8ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Friendship Load (0.3ms) SELECT * FROM `friendships` WHERE (`friendships`.`friend_id` = 1 AND `friendships`.`user_id` = 3) LIMIT 1 + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.1ms) SAVEPOINT active_record_1 + Group Create (0.2ms) INSERT INTO `groups` (`name`, `created_at`, `featured`, `announcements`, `private`, `updated_at`, `creator_id`, `description`, `photo_id`) VALUES('Test Group', '2010-12-22 05:13:48', 0, NULL, 0, '2010-12-22 05:13:48', 3, 'A group used for testing.', 1) + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  + Activity Create (0.2ms) INSERT INTO `activities` (`created_at`, `public`, `updated_at`, `action`, `user_id`, `item_id`, `item_type`) VALUES('2010-12-22 05:13:48', 1, '2010-12-22 05:13:48', NULL, 3, 3, 'Group') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + Activity Load (0.3ms) SELECT * FROM `activities` WHERE (`activities`.`item_id` = 3 AND `activities`.`item_type` = 'Group') LIMIT 1 + SQL (39.2ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.1ms) ROLLBACK + SQL (0.0ms) BEGIN + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + Invite Load (0.3ms) SELECT * FROM `invites` WHERE (`invites`.`invite_code` = 'invite_code1') LIMIT 1 + Invite Load (0.1ms) SELECT * FROM `invites` WHERE (`invites`.`invite_code` = 'invite_code1') LIMIT 1 + SQL (0.1ms) SAVEPOINT active_record_1 + Invite Update (0.3ms) UPDATE `invites` SET `updated_at` = '2010-12-22 05:13:48', `accepted` = 1 WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + Invite Load (0.2ms) SELECT * FROM `invites` WHERE (`invites`.`invite_code` = 'invite_code1') LIMIT 1 + SQL (41.7ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.1ms) SAVEPOINT active_record_1 + JobPost Create (0.3ms) INSERT INTO `job_posts` (`company`, `contact_name`, `created_at`, `job_title`, `featured`, `updated_at`, `website`, `description`, `job_id`, `end_date`, `email`) VALUES('My Company', 'Joe Jobbee', '2010-12-22 05:13:48', 'Test Job Title', 0, '2010-12-22 05:13:48', 'www.mycompany.com', 'This is a great job', 123, '2010-12-21 22:13:48', 'joe@jobbee.com') + Activity Create (0.2ms) INSERT INTO `activities` (`created_at`, `public`, `updated_at`, `action`, `user_id`, `item_id`, `item_type`) VALUES('2010-12-22 05:13:48', 1, '2010-12-22 05:13:48', NULL, NULL, 3, 'JobPost') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + Activity Load (0.4ms) SELECT * FROM `activities` WHERE (`activities`.`item_id` = 3 AND `activities`.`item_type` = 'JobPost') LIMIT 1 + SQL (39.7ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.1ms) SAVEPOINT active_record_1 + Link Create (0.2ms) INSERT INTO `links` (`created_at`, `title`, `updated_at`, `url`, `user_id`) VALUES('2010-12-22 05:13:48', 'Ruby on Rails', '2010-12-22 05:13:48', 'www.rubyonrails.com', 1) + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Activity Create (0.2ms) INSERT INTO `activities` (`created_at`, `public`, `updated_at`, `action`, `user_id`, `item_id`, `item_type`) VALUES('2010-12-22 05:13:48', 1, '2010-12-22 05:13:48', NULL, 1, 3, 'Link') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + Activity Load (0.3ms) SELECT * FROM `activities` WHERE (`activities`.`item_id` = 3 AND `activities`.`item_type` = 'Link') LIMIT 1 + SQL (42.7ms) ROLLBACK + SQL (0.1ms) BEGIN + Link Load (0.3ms) SELECT * FROM `links` WHERE (`links`.`id` = 1)  + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + Link Load (0.1ms) SELECT * FROM `links` WHERE (`links`.`id` = 1)  + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.0ms) ROLLBACK + SQL (0.0ms) BEGIN + SQL (0.1ms) SAVEPOINT active_record_1 + Membership Create (0.2ms) INSERT INTO `memberships` (`created_at`, `updated_at`, `role_id`, `group_id`, `user_id`) VALUES('2010-12-22 05:13:48', '2010-12-22 05:13:48', 3, 1, 1) + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Activity Create (0.2ms) INSERT INTO `activities` (`created_at`, `public`, `updated_at`, `action`, `user_id`, `item_id`, `item_type`) VALUES('2010-12-22 05:13:48', 1, '2010-12-22 05:13:48', NULL, 1, 4, 'Membership') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + Activity Load (0.3ms) SELECT * FROM `activities` WHERE (`activities`.`item_id` = 4 AND `activities`.`item_type` = 'Membership') LIMIT 1 + SQL (46.2ms) ROLLBACK + SQL (0.1ms) BEGIN + Membership Load (0.3ms) SELECT * FROM `memberships`  + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.1ms) ROLLBACK + SQL (0.0ms) BEGIN + SQL (0.1ms) ROLLBACK + SQL (0.0ms) BEGIN + Network Load (0.1ms) SELECT * FROM `networks` LIMIT 1 + Network Load (0.1ms) SELECT * FROM `networks` LIMIT 1 + SQL (0.1ms) ROLLBACK + SQL (0.0ms) BEGIN + Network Load (0.1ms) SELECT * FROM `networks` LIMIT 1 + Network Load (0.1ms) SELECT * FROM `networks` LIMIT 1 + Role Load (0.2ms) SELECT * FROM `roles`  + SQL (0.1ms) SAVEPOINT active_record_1 + Permission Load (0.3ms) SELECT * FROM `permissions` WHERE (`permissions`.role_id = 1)  + Permission Destroy (0.2ms) DELETE FROM `permissions` WHERE `id` = 5 + Role Destroy (0.1ms) DELETE FROM `roles` WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Permission Load (0.2ms) SELECT * FROM `permissions` WHERE (`permissions`.role_id = 2)  + Permission Destroy (0.1ms) DELETE FROM `permissions` WHERE `id` = 1 + Role Destroy (0.1ms) DELETE FROM `roles` WHERE `id` = 2 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Permission Load (0.2ms) SELECT * FROM `permissions` WHERE (`permissions`.role_id = 3)  + Permission Destroy (0.1ms) DELETE FROM `permissions` WHERE `id` = 2 + Permission Destroy (0.1ms) DELETE FROM `permissions` WHERE `id` = 3 + Permission Destroy (0.1ms) DELETE FROM `permissions` WHERE `id` = 4 + Role Destroy (0.1ms) DELETE FROM `roles` WHERE `id` = 3 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Permission Load (0.1ms) SELECT * FROM `permissions` WHERE (`permissions`.role_id = 4)  + Role Destroy (0.1ms) DELETE FROM `roles` WHERE `id` = 4 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Permission Load (0.1ms) SELECT * FROM `permissions` WHERE (`permissions`.role_id = 5)  + Role Destroy (0.1ms) DELETE FROM `roles` WHERE `id` = 5 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + Role Load (0.1ms) SELECT * FROM `roles` LIMIT 1 + Role Load (0.1ms) SELECT * FROM `roles`  + SQL (0.1ms) SAVEPOINT active_record_1 + Role Create (0.2ms) INSERT INTO `roles` (`created_at`, `updated_at`, `rolename`) VALUES('2010-12-22 05:13:48', '2010-12-22 05:13:48', 'creator') + SQL (0.0ms) RELEASE SAVEPOINT active_record_1 + SQL (0.0ms) SAVEPOINT active_record_1 + Role Create (0.1ms) INSERT INTO `roles` (`created_at`, `updated_at`, `rolename`) VALUES('2010-12-22 05:13:48', '2010-12-22 05:13:48', 'administrator') + SQL (0.2ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Role Create (0.1ms) INSERT INTO `roles` (`created_at`, `updated_at`, `rolename`) VALUES('2010-12-22 05:13:48', '2010-12-22 05:13:48', 'group_admin') + SQL (0.0ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Role Create (0.2ms) INSERT INTO `roles` (`created_at`, `updated_at`, `rolename`) VALUES('2010-12-22 05:13:48', '2010-12-22 05:13:48', 'user') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Role Create (0.1ms) INSERT INTO `roles` (`created_at`, `updated_at`, `rolename`) VALUES('2010-12-22 05:13:48', '2010-12-22 05:13:48', 'contributor') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + Role Load (0.2ms) SELECT * FROM `roles`  + SQL (54.2ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.1ms) SAVEPOINT active_record_1 + Page Create (0.2ms) INSERT INTO `pages` (`permalink`, `name`, `created_at`, `title`, `updated_at`) VALUES('test_page', 'Test page', '2010-12-22 05:13:48', 'Test Page', '2010-12-22 05:13:48') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (37.5ms) ROLLBACK + SQL (0.1ms) BEGIN + Page Load (0.5ms) SELECT * FROM `pages` WHERE (`pages`.`id` = 1)  + SQL (0.1ms) ROLLBACK + SQL (0.0ms) BEGIN + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + PhotoAlbum Load (0.2ms) SELECT * FROM `photo_albums` WHERE (`photo_albums`.`id` = 1)  + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + PhotoAlbum Load (0.1ms) SELECT * FROM `photo_albums` WHERE (`photo_albums`.`id` = 1)  + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + PhotoAlbum Load (0.1ms) SELECT * FROM `photo_albums` WHERE (`photo_albums`.`id` = 1)  + SQL (0.1ms) ROLLBACK + SQL (0.0ms) BEGIN + Photo Load (0.3ms) SELECT * FROM `photos`  + SQL (0.1ms) SAVEPOINT active_record_1 + Photo Update (0.4ms) UPDATE `photos` SET `updated_at` = '2010-12-22 05:13:48', `content_type` = 'image/jpeg', `height` = 235, `width` = 180, `size` = 8908 WHERE `id` = 1 + Photo Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'thumb' AND `photos`.`parent_id` = 1) LIMIT 1 + Photo Create (0.3ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:13:48', NULL, NULL, 'image/jpeg', NULL, 'thumb', '2010-12-22 05:13:48', NULL, NULL, 0, NULL, 1, 'test_thumb.jpg', 32, NULL, 25, NULL) + Photo Load (0.6ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'small' AND `photos`.`parent_id` = 1) LIMIT 1 + Photo Create (0.5ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:13:48', NULL, NULL, 'image/jpeg', NULL, 'small', '2010-12-22 05:13:48', NULL, NULL, 0, NULL, 1, 'test_small.jpg', 48, NULL, 37, NULL) + Photo Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'display' AND `photos`.`parent_id` = 1) LIMIT 1 + Photo Create (0.7ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:13:48', NULL, NULL, 'image/jpeg', NULL, 'display', '2010-12-22 05:13:48', NULL, NULL, 0, NULL, 1, 'test_display.jpg', 175, NULL, 134, NULL) + Photo Load (8.5ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'member' AND `photos`.`parent_id` = 1) LIMIT 1 + Photo Create (0.3ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:13:48', NULL, NULL, 'image/jpeg', NULL, 'member', '2010-12-22 05:13:48', NULL, NULL, 0, NULL, 1, 'test_member.jpg', 96, NULL, 74, NULL) + Photo Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'medium' AND `photos`.`parent_id` = 1) LIMIT 1 + Photo Create (0.2ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:13:48', NULL, NULL, 'image/jpeg', NULL, 'medium', '2010-12-22 05:13:48', NULL, NULL, 0, NULL, 1, 'test_medium.jpg', 82, NULL, 63, NULL) + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Photo Update (0.3ms) UPDATE `photos` SET `updated_at` = '2010-12-22 05:13:48', `content_type` = 'image/jpeg', `height` = 235, `width` = 180, `size` = 8908 WHERE `id` = 2 + Photo Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'thumb' AND `photos`.`parent_id` = 2) LIMIT 1 + Photo Create (0.4ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:13:48', NULL, NULL, 'image/jpeg', NULL, 'thumb', '2010-12-22 05:13:48', NULL, NULL, 0, NULL, 2, 'test_thumb.jpg', 32, NULL, 25, NULL) + Photo Load (0.4ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'small' AND `photos`.`parent_id` = 2) LIMIT 1 + Photo Create (0.5ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:13:48', NULL, NULL, 'image/jpeg', NULL, 'small', '2010-12-22 05:13:48', NULL, NULL, 0, NULL, 2, 'test_small.jpg', 48, NULL, 37, NULL) + Photo Load (0.5ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'display' AND `photos`.`parent_id` = 2) LIMIT 1 + Photo Create (0.7ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:13:48', NULL, NULL, 'image/jpeg', NULL, 'display', '2010-12-22 05:13:48', NULL, NULL, 0, NULL, 2, 'test_display.jpg', 175, NULL, 134, NULL) + Photo Load (0.6ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'member' AND `photos`.`parent_id` = 2) LIMIT 1 + Photo Create (0.7ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:13:48', NULL, NULL, 'image/jpeg', NULL, 'member', '2010-12-22 05:13:48', NULL, NULL, 0, NULL, 2, 'test_member.jpg', 96, NULL, 74, NULL) + Photo Load (0.6ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'medium' AND `photos`.`parent_id` = 2) LIMIT 1 + Photo Create (0.6ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:13:48', NULL, NULL, 'image/jpeg', NULL, 'medium', '2010-12-22 05:13:48', NULL, NULL, 0, NULL, 2, 'test_medium.jpg', 82, NULL, 63, NULL) + SQL (0.2ms) RELEASE SAVEPOINT active_record_1 + SQL (0.2ms) SAVEPOINT active_record_1 + Photo Update (0.4ms) UPDATE `photos` SET `updated_at` = '2010-12-22 05:13:49', `content_type` = 'image/jpeg', `height` = 235, `width` = 180, `size` = 8908 WHERE `id` = 3 + Photo Load (0.7ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'thumb' AND `photos`.`parent_id` = 3) LIMIT 1 + Photo Create (0.7ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:13:49', NULL, NULL, 'image/jpeg', NULL, 'thumb', '2010-12-22 05:13:49', NULL, NULL, 0, NULL, 3, 'test_thumb.jpg', 32, NULL, 25, NULL) + Photo Load (0.7ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'small' AND `photos`.`parent_id` = 3) LIMIT 1 + Photo Create (0.8ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:13:49', NULL, NULL, 'image/jpeg', NULL, 'small', '2010-12-22 05:13:49', NULL, NULL, 0, NULL, 3, 'test_small.jpg', 48, NULL, 37, NULL) + Photo Load (0.7ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'display' AND `photos`.`parent_id` = 3) LIMIT 1 + Photo Create (0.5ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:13:49', NULL, NULL, 'image/jpeg', NULL, 'display', '2010-12-22 05:13:49', NULL, NULL, 0, NULL, 3, 'test_display.jpg', 175, NULL, 134, NULL) + Photo Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'member' AND `photos`.`parent_id` = 3) LIMIT 1 + Photo Create (0.5ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:13:49', NULL, NULL, 'image/jpeg', NULL, 'member', '2010-12-22 05:13:49', NULL, NULL, 0, NULL, 3, 'test_member.jpg', 96, NULL, 74, NULL) + Photo Load (0.5ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'medium' AND `photos`.`parent_id` = 3) LIMIT 1 + Photo Create (0.4ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:13:49', NULL, NULL, 'image/jpeg', NULL, 'medium', '2010-12-22 05:13:49', NULL, NULL, 0, NULL, 3, 'test_medium.jpg', 82, NULL, 63, NULL) + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Photo Update (0.4ms) UPDATE `photos` SET `updated_at` = '2010-12-22 05:13:49', `content_type` = 'image/jpeg', `height` = 235, `width` = 180, `size` = 8908 WHERE `id` = 4 + Photo Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'thumb' AND `photos`.`parent_id` = 4) LIMIT 1 + Photo Create (0.5ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:13:49', NULL, NULL, 'image/jpeg', NULL, 'thumb', '2010-12-22 05:13:49', NULL, NULL, 0, NULL, 4, 'test_thumb.jpg', 32, NULL, 25, NULL) + Photo Load (0.6ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'small' AND `photos`.`parent_id` = 4) LIMIT 1 + Photo Create (0.3ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:13:49', NULL, NULL, 'image/jpeg', NULL, 'small', '2010-12-22 05:13:49', NULL, NULL, 0, NULL, 4, 'test_small.jpg', 48, NULL, 37, NULL) + Photo Load (3.8ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'display' AND `photos`.`parent_id` = 4) LIMIT 1 + Photo Create (0.4ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:13:49', NULL, NULL, 'image/jpeg', NULL, 'display', '2010-12-22 05:13:49', NULL, NULL, 0, NULL, 4, 'test_display.jpg', 175, NULL, 134, NULL) + Photo Load (0.6ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'member' AND `photos`.`parent_id` = 4) LIMIT 1 + Photo Create (0.7ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:13:49', NULL, NULL, 'image/jpeg', NULL, 'member', '2010-12-22 05:13:49', NULL, NULL, 0, NULL, 4, 'test_member.jpg', 96, NULL, 74, NULL) + Photo Load (0.8ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'medium' AND `photos`.`parent_id` = 4) LIMIT 1 + Photo Create (0.6ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:13:49', NULL, NULL, 'image/jpeg', NULL, 'medium', '2010-12-22 05:13:49', NULL, NULL, 0, NULL, 4, 'test_medium.jpg', 82, NULL, 63, NULL) + SQL (0.2ms) RELEASE SAVEPOINT active_record_1 + Photo Load (0.6ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` IS NULL AND `photos`.`is_profile` IS NULL)  + SQL (55.8ms) ROLLBACK + SQL (0.0ms) BEGIN + Photo Load (0.3ms) SELECT * FROM `photos`  + SQL (0.1ms) SAVEPOINT active_record_1 + Photo Update (0.4ms) UPDATE `photos` SET `updated_at` = '2010-12-22 05:13:49', `content_type` = 'image/jpeg', `height` = 235, `width` = 180, `size` = 8908 WHERE `id` = 1 + Photo Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'thumb' AND `photos`.`parent_id` = 1) LIMIT 1 + Photo Create (0.3ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:13:49', NULL, NULL, 'image/jpeg', NULL, 'thumb', '2010-12-22 05:13:49', NULL, NULL, 0, NULL, 1, 'test_thumb.jpg', 32, NULL, 25, NULL) + Photo Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'small' AND `photos`.`parent_id` = 1) LIMIT 1 + Photo Create (0.3ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:13:49', NULL, NULL, 'image/jpeg', NULL, 'small', '2010-12-22 05:13:49', NULL, NULL, 0, NULL, 1, 'test_small.jpg', 48, NULL, 37, NULL) + Photo Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'display' AND `photos`.`parent_id` = 1) LIMIT 1 + Photo Create (0.3ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:13:49', NULL, NULL, 'image/jpeg', NULL, 'display', '2010-12-22 05:13:49', NULL, NULL, 0, NULL, 1, 'test_display.jpg', 175, NULL, 134, NULL) + Photo Load (0.4ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'member' AND `photos`.`parent_id` = 1) LIMIT 1 + Photo Create (0.3ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:13:49', NULL, NULL, 'image/jpeg', NULL, 'member', '2010-12-22 05:13:49', NULL, NULL, 0, NULL, 1, 'test_member.jpg', 96, NULL, 74, NULL) + Photo Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'medium' AND `photos`.`parent_id` = 1) LIMIT 1 + Photo Create (0.3ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:13:49', NULL, NULL, 'image/jpeg', NULL, 'medium', '2010-12-22 05:13:49', NULL, NULL, 0, NULL, 1, 'test_medium.jpg', 82, NULL, 63, NULL) + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Photo Update (0.3ms) UPDATE `photos` SET `updated_at` = '2010-12-22 05:13:49', `content_type` = 'image/jpeg', `height` = 235, `width` = 180, `size` = 8908 WHERE `id` = 2 + Photo Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'thumb' AND `photos`.`parent_id` = 2) LIMIT 1 + Photo Create (0.3ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:13:49', NULL, NULL, 'image/jpeg', NULL, 'thumb', '2010-12-22 05:13:49', NULL, NULL, 0, NULL, 2, 'test_thumb.jpg', 32, NULL, 25, NULL) + Photo Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'small' AND `photos`.`parent_id` = 2) LIMIT 1 + Photo Create (0.3ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:13:49', NULL, NULL, 'image/jpeg', NULL, 'small', '2010-12-22 05:13:49', NULL, NULL, 0, NULL, 2, 'test_small.jpg', 48, NULL, 37, NULL) + Photo Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'display' AND `photos`.`parent_id` = 2) LIMIT 1 + Photo Create (0.3ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:13:49', NULL, NULL, 'image/jpeg', NULL, 'display', '2010-12-22 05:13:49', NULL, NULL, 0, NULL, 2, 'test_display.jpg', 175, NULL, 134, NULL) + Photo Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'member' AND `photos`.`parent_id` = 2) LIMIT 1 + Photo Create (0.3ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:13:49', NULL, NULL, 'image/jpeg', NULL, 'member', '2010-12-22 05:13:49', NULL, NULL, 0, NULL, 2, 'test_member.jpg', 96, NULL, 74, NULL) + Photo Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'medium' AND `photos`.`parent_id` = 2) LIMIT 1 + Photo Create (0.3ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:13:49', NULL, NULL, 'image/jpeg', NULL, 'medium', '2010-12-22 05:13:49', NULL, NULL, 0, NULL, 2, 'test_medium.jpg', 82, NULL, 63, NULL) + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Photo Update (0.3ms) UPDATE `photos` SET `updated_at` = '2010-12-22 05:13:49', `content_type` = 'image/jpeg', `height` = 235, `width` = 180, `size` = 8908 WHERE `id` = 3 + Photo Load (0.4ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'thumb' AND `photos`.`parent_id` = 3) LIMIT 1 + Photo Create (0.3ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:13:49', NULL, NULL, 'image/jpeg', NULL, 'thumb', '2010-12-22 05:13:49', NULL, NULL, 0, NULL, 3, 'test_thumb.jpg', 32, NULL, 25, NULL) + Photo Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'small' AND `photos`.`parent_id` = 3) LIMIT 1 + Photo Create (0.2ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:13:49', NULL, NULL, 'image/jpeg', NULL, 'small', '2010-12-22 05:13:49', NULL, NULL, 0, NULL, 3, 'test_small.jpg', 48, NULL, 37, NULL) + Photo Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'display' AND `photos`.`parent_id` = 3) LIMIT 1 + Photo Create (0.3ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:13:49', NULL, NULL, 'image/jpeg', NULL, 'display', '2010-12-22 05:13:49', NULL, NULL, 0, NULL, 3, 'test_display.jpg', 175, NULL, 134, NULL) + Photo Load (0.4ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'member' AND `photos`.`parent_id` = 3) LIMIT 1 + Photo Create (0.3ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:13:49', NULL, NULL, 'image/jpeg', NULL, 'member', '2010-12-22 05:13:49', NULL, NULL, 0, NULL, 3, 'test_member.jpg', 96, NULL, 74, NULL) + Photo Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'medium' AND `photos`.`parent_id` = 3) LIMIT 1 + Photo Create (0.3ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:13:49', NULL, NULL, 'image/jpeg', NULL, 'medium', '2010-12-22 05:13:49', NULL, NULL, 0, NULL, 3, 'test_medium.jpg', 82, NULL, 63, NULL) + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Photo Update (0.4ms) UPDATE `photos` SET `updated_at` = '2010-12-22 05:13:49', `content_type` = 'image/jpeg', `height` = 235, `width` = 180, `size` = 8908 WHERE `id` = 4 + Photo Load (0.4ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'thumb' AND `photos`.`parent_id` = 4) LIMIT 1 + Photo Create (0.3ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:13:49', NULL, NULL, 'image/jpeg', NULL, 'thumb', '2010-12-22 05:13:49', NULL, NULL, 0, NULL, 4, 'test_thumb.jpg', 32, NULL, 25, NULL) + Photo Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'small' AND `photos`.`parent_id` = 4) LIMIT 1 + Photo Create (0.2ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:13:49', NULL, NULL, 'image/jpeg', NULL, 'small', '2010-12-22 05:13:49', NULL, NULL, 0, NULL, 4, 'test_small.jpg', 48, NULL, 37, NULL) + Photo Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'display' AND `photos`.`parent_id` = 4) LIMIT 1 + Photo Create (0.3ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:13:49', NULL, NULL, 'image/jpeg', NULL, 'display', '2010-12-22 05:13:49', NULL, NULL, 0, NULL, 4, 'test_display.jpg', 175, NULL, 134, NULL) + Photo Load (0.4ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'member' AND `photos`.`parent_id` = 4) LIMIT 1 + Photo Create (0.3ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:13:49', NULL, NULL, 'image/jpeg', NULL, 'member', '2010-12-22 05:13:49', NULL, NULL, 0, NULL, 4, 'test_member.jpg', 96, NULL, 74, NULL) + Photo Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'medium' AND `photos`.`parent_id` = 4) LIMIT 1 + Photo Create (0.3ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:13:49', NULL, NULL, 'image/jpeg', NULL, 'medium', '2010-12-22 05:13:49', NULL, NULL, 0, NULL, 4, 'test_medium.jpg', 82, NULL, 63, NULL) + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Photo Create (0.2ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8908, '2010-12-22 05:13:49', NULL, NULL, 'image/jpeg', NULL, NULL, '2010-12-22 05:13:49', NULL, NULL, 0, NULL, NULL, 'test.jpg', 235, NULL, 180, NULL) + Activity Create (0.1ms) INSERT INTO `activities` (`created_at`, `public`, `updated_at`, `action`, `user_id`, `item_id`, `item_type`) VALUES('2010-12-22 05:13:49', 1, '2010-12-22 05:13:49', 'create', NULL, 45, 'Photo') + Photo Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'thumb' AND `photos`.`parent_id` = 45) LIMIT 1 + Photo Create (0.3ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:13:49', NULL, NULL, 'image/jpeg', NULL, 'thumb', '2010-12-22 05:13:49', NULL, NULL, 0, NULL, 45, 'test_thumb.jpg', 32, NULL, 25, NULL) + Photo Load (0.4ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'small' AND `photos`.`parent_id` = 45) LIMIT 1 + Photo Create (0.2ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:13:49', NULL, NULL, 'image/jpeg', NULL, 'small', '2010-12-22 05:13:49', NULL, NULL, 0, NULL, 45, 'test_small.jpg', 48, NULL, 37, NULL) + Photo Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'display' AND `photos`.`parent_id` = 45) LIMIT 1 + Photo Create (0.3ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:13:49', NULL, NULL, 'image/jpeg', NULL, 'display', '2010-12-22 05:13:49', NULL, NULL, 0, NULL, 45, 'test_display.jpg', 175, NULL, 134, NULL) + Photo Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'member' AND `photos`.`parent_id` = 45) LIMIT 1 + Photo Create (0.3ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:13:49', NULL, NULL, 'image/jpeg', NULL, 'member', '2010-12-22 05:13:49', NULL, NULL, 0, NULL, 45, 'test_member.jpg', 96, NULL, 74, NULL) + Photo Load (0.4ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'medium' AND `photos`.`parent_id` = 45) LIMIT 1 + Photo Create (0.3ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:13:49', NULL, NULL, 'image/jpeg', NULL, 'medium', '2010-12-22 05:13:49', NULL, NULL, 0, NULL, 45, 'test_medium.jpg', 82, NULL, 63, NULL) + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + Activity Load (0.3ms) SELECT * FROM `activities` WHERE (`activities`.`item_id` = 45 AND `activities`.`item_type` = 'Photo') LIMIT 1 + SQL (74.8ms) ROLLBACK + SQL (0.1ms) BEGIN + Photo Load (0.5ms) SELECT * FROM `photos`  + SQL (0.2ms) SAVEPOINT active_record_1 + Photo Update (0.4ms) UPDATE `photos` SET `updated_at` = '2010-12-22 05:13:49', `content_type` = 'image/jpeg', `height` = 235, `width` = 180, `size` = 8908 WHERE `id` = 1 + Photo Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'thumb' AND `photos`.`parent_id` = 1) LIMIT 1 + Photo Create (0.6ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:13:50', NULL, NULL, 'image/jpeg', NULL, 'thumb', '2010-12-22 05:13:50', NULL, NULL, 0, NULL, 1, 'test_thumb.jpg', 32, NULL, 25, NULL) + Photo Load (0.4ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'small' AND `photos`.`parent_id` = 1) LIMIT 1 + Photo Create (0.6ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:13:50', NULL, NULL, 'image/jpeg', NULL, 'small', '2010-12-22 05:13:50', NULL, NULL, 0, NULL, 1, 'test_small.jpg', 48, NULL, 37, NULL) + Photo Load (0.5ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'display' AND `photos`.`parent_id` = 1) LIMIT 1 + Photo Create (0.4ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:13:50', NULL, NULL, 'image/jpeg', NULL, 'display', '2010-12-22 05:13:50', NULL, NULL, 0, NULL, 1, 'test_display.jpg', 175, NULL, 134, NULL) + Photo Load (0.6ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'member' AND `photos`.`parent_id` = 1) LIMIT 1 + Photo Create (0.5ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:13:50', NULL, NULL, 'image/jpeg', NULL, 'member', '2010-12-22 05:13:50', NULL, NULL, 0, NULL, 1, 'test_member.jpg', 96, NULL, 74, NULL) + Photo Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'medium' AND `photos`.`parent_id` = 1) LIMIT 1 + Photo Create (0.7ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:13:50', NULL, NULL, 'image/jpeg', NULL, 'medium', '2010-12-22 05:13:50', NULL, NULL, 0, NULL, 1, 'test_medium.jpg', 82, NULL, 63, NULL) + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Photo Update (0.6ms) UPDATE `photos` SET `updated_at` = '2010-12-22 05:13:50', `content_type` = 'image/jpeg', `height` = 235, `width` = 180, `size` = 8908 WHERE `id` = 2 + Photo Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'thumb' AND `photos`.`parent_id` = 2) LIMIT 1 + Photo Create (0.4ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:13:50', NULL, NULL, 'image/jpeg', NULL, 'thumb', '2010-12-22 05:13:50', NULL, NULL, 0, NULL, 2, 'test_thumb.jpg', 32, NULL, 25, NULL) + Photo Load (0.5ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'small' AND `photos`.`parent_id` = 2) LIMIT 1 + Photo Create (0.6ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:13:50', NULL, NULL, 'image/jpeg', NULL, 'small', '2010-12-22 05:13:50', NULL, NULL, 0, NULL, 2, 'test_small.jpg', 48, NULL, 37, NULL) + Photo Load (0.7ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'display' AND `photos`.`parent_id` = 2) LIMIT 1 + Photo Create (0.4ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:13:50', NULL, NULL, 'image/jpeg', NULL, 'display', '2010-12-22 05:13:50', NULL, NULL, 0, NULL, 2, 'test_display.jpg', 175, NULL, 134, NULL) + Photo Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'member' AND `photos`.`parent_id` = 2) LIMIT 1 + Photo Create (0.5ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:13:50', NULL, NULL, 'image/jpeg', NULL, 'member', '2010-12-22 05:13:50', NULL, NULL, 0, NULL, 2, 'test_member.jpg', 96, NULL, 74, NULL) + Photo Load (0.6ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'medium' AND `photos`.`parent_id` = 2) LIMIT 1 + Photo Create (0.5ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:13:50', NULL, NULL, 'image/jpeg', NULL, 'medium', '2010-12-22 05:13:50', NULL, NULL, 0, NULL, 2, 'test_medium.jpg', 82, NULL, 63, NULL) + SQL (0.2ms) RELEASE SAVEPOINT active_record_1 + SQL (0.2ms) SAVEPOINT active_record_1 + Photo Update (0.7ms) UPDATE `photos` SET `updated_at` = '2010-12-22 05:13:50', `content_type` = 'image/jpeg', `height` = 235, `width` = 180, `size` = 8908 WHERE `id` = 3 + Photo Load (0.7ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'thumb' AND `photos`.`parent_id` = 3) LIMIT 1 + Photo Create (0.3ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:13:50', NULL, NULL, 'image/jpeg', NULL, 'thumb', '2010-12-22 05:13:50', NULL, NULL, 0, NULL, 3, 'test_thumb.jpg', 32, NULL, 25, NULL) + Photo Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'small' AND `photos`.`parent_id` = 3) LIMIT 1 + Photo Create (0.3ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:13:50', NULL, NULL, 'image/jpeg', NULL, 'small', '2010-12-22 05:13:50', NULL, NULL, 0, NULL, 3, 'test_small.jpg', 48, NULL, 37, NULL) + Photo Load (0.4ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'display' AND `photos`.`parent_id` = 3) LIMIT 1 + Photo Create (0.5ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:13:50', NULL, NULL, 'image/jpeg', NULL, 'display', '2010-12-22 05:13:50', NULL, NULL, 0, NULL, 3, 'test_display.jpg', 175, NULL, 134, NULL) + Photo Load (0.5ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'member' AND `photos`.`parent_id` = 3) LIMIT 1 + Photo Create (0.5ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:13:50', NULL, NULL, 'image/jpeg', NULL, 'member', '2010-12-22 05:13:50', NULL, NULL, 0, NULL, 3, 'test_member.jpg', 96, NULL, 74, NULL) + Photo Load (0.5ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'medium' AND `photos`.`parent_id` = 3) LIMIT 1 + Photo Create (0.6ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:13:50', NULL, NULL, 'image/jpeg', NULL, 'medium', '2010-12-22 05:13:50', NULL, NULL, 0, NULL, 3, 'test_medium.jpg', 82, NULL, 63, NULL) + SQL (0.2ms) RELEASE SAVEPOINT active_record_1 + SQL (0.2ms) SAVEPOINT active_record_1 + Photo Update (0.6ms) UPDATE `photos` SET `updated_at` = '2010-12-22 05:13:50', `content_type` = 'image/jpeg', `height` = 235, `width` = 180, `size` = 8908 WHERE `id` = 4 + Photo Load (0.6ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'thumb' AND `photos`.`parent_id` = 4) LIMIT 1 + Photo Create (0.6ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:13:50', NULL, NULL, 'image/jpeg', NULL, 'thumb', '2010-12-22 05:13:50', NULL, NULL, 0, NULL, 4, 'test_thumb.jpg', 32, NULL, 25, NULL) + Photo Load (0.4ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'small' AND `photos`.`parent_id` = 4) LIMIT 1 + Photo Create (0.2ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:13:50', NULL, NULL, 'image/jpeg', NULL, 'small', '2010-12-22 05:13:50', NULL, NULL, 0, NULL, 4, 'test_small.jpg', 48, NULL, 37, NULL) + Photo Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'display' AND `photos`.`parent_id` = 4) LIMIT 1 + Photo Create (0.5ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:13:50', NULL, NULL, 'image/jpeg', NULL, 'display', '2010-12-22 05:13:50', NULL, NULL, 0, NULL, 4, 'test_display.jpg', 175, NULL, 134, NULL) + Photo Load (0.6ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'member' AND `photos`.`parent_id` = 4) LIMIT 1 + Photo Create (0.5ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:13:50', NULL, NULL, 'image/jpeg', NULL, 'member', '2010-12-22 05:13:50', NULL, NULL, 0, NULL, 4, 'test_member.jpg', 96, NULL, 74, NULL) + Photo Load (0.6ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'medium' AND `photos`.`parent_id` = 4) LIMIT 1 + Photo Create (0.5ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:13:50', NULL, NULL, 'image/jpeg', NULL, 'medium', '2010-12-22 05:13:50', NULL, NULL, 0, NULL, 4, 'test_medium.jpg', 82, NULL, 63, NULL) + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Photo Create (0.6ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8908, '2010-12-22 05:13:50', NULL, NULL, 'image/jpeg', NULL, NULL, '2010-12-22 05:13:50', NULL, NULL, 0, NULL, NULL, 'test.jpg', 235, NULL, 180, NULL) + Activity Create (0.4ms) INSERT INTO `activities` (`created_at`, `public`, `updated_at`, `action`, `user_id`, `item_id`, `item_type`) VALUES('2010-12-22 05:13:50', 1, '2010-12-22 05:13:50', 'create', NULL, 71, 'Photo') + Photo Load (0.6ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'thumb' AND `photos`.`parent_id` = 71) LIMIT 1 + Photo Create (0.3ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:13:50', NULL, NULL, 'image/jpeg', NULL, 'thumb', '2010-12-22 05:13:50', NULL, NULL, 0, NULL, 71, 'test_thumb.jpg', 32, NULL, 25, NULL) + Photo Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'small' AND `photos`.`parent_id` = 71) LIMIT 1 + Photo Create (0.5ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:13:50', NULL, NULL, 'image/jpeg', NULL, 'small', '2010-12-22 05:13:50', NULL, NULL, 0, NULL, 71, 'test_small.jpg', 48, NULL, 37, NULL) + Photo Load (0.7ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'display' AND `photos`.`parent_id` = 71) LIMIT 1 + Photo Create (0.6ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:13:50', NULL, NULL, 'image/jpeg', NULL, 'display', '2010-12-22 05:13:50', NULL, NULL, 0, NULL, 71, 'test_display.jpg', 175, NULL, 134, NULL) + Photo Load (0.4ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'member' AND `photos`.`parent_id` = 71) LIMIT 1 + Photo Create (0.5ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:13:50', NULL, NULL, 'image/jpeg', NULL, 'member', '2010-12-22 05:13:50', NULL, NULL, 0, NULL, 71, 'test_member.jpg', 96, NULL, 74, NULL) + Photo Load (0.6ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'medium' AND `photos`.`parent_id` = 71) LIMIT 1 + Photo Create (0.5ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:13:50', NULL, NULL, 'image/jpeg', NULL, 'medium', '2010-12-22 05:13:50', NULL, NULL, 0, NULL, 71, 'test_medium.jpg', 82, NULL, 63, NULL) + SQL (0.5ms) RELEASE SAVEPOINT active_record_1 + Activity Load (0.5ms) SELECT * FROM `activities` WHERE (`activities`.`item_id` = 71 AND `activities`.`item_type` = 'Photo')  + Photo Load (0.2ms) SELECT * FROM `photos` WHERE (`photos`.`id` = 71)  + SQL (0.1ms) SAVEPOINT active_record_1 + Comment Load (0.4ms) SELECT * FROM `comments` WHERE (`comments`.commentable_id = 71 AND `comments`.commentable_type = 'Photo') ORDER BY created_at ASC + Tagging Load (0.4ms) SELECT * FROM `taggings` WHERE (`taggings`.taggable_id = 71 AND `taggings`.taggable_type = 'Photo' AND (context = 'tags'))  + Tagging Load (0.4ms) SELECT * FROM `taggings` WHERE (`taggings`.taggable_id = 71 AND `taggings`.taggable_type = 'Photo')  + Photo Load (0.7ms) SELECT * FROM `photos` WHERE (`photos`.parent_id = 71)  + Comment Load (0.2ms) SELECT * FROM `comments` WHERE (`comments`.commentable_id = 72 AND `comments`.commentable_type = 'Photo') ORDER BY created_at ASC + Tagging Load (0.3ms) SELECT * FROM `taggings` WHERE (`taggings`.taggable_id = 72 AND `taggings`.taggable_type = 'Photo' AND (context = 'tags'))  + Tagging Load (0.2ms) SELECT * FROM `taggings` WHERE (`taggings`.taggable_id = 72 AND `taggings`.taggable_type = 'Photo')  + Photo Destroy (0.2ms) DELETE FROM `photos` WHERE `id` = 72 + Comment Load (0.3ms) SELECT * FROM `comments` WHERE (`comments`.commentable_id = 73 AND `comments`.commentable_type = 'Photo') ORDER BY created_at ASC + Tagging Load (0.3ms) SELECT * FROM `taggings` WHERE (`taggings`.taggable_id = 73 AND `taggings`.taggable_type = 'Photo' AND (context = 'tags'))  + Tagging Load (0.2ms) SELECT * FROM `taggings` WHERE (`taggings`.taggable_id = 73 AND `taggings`.taggable_type = 'Photo')  + Photo Destroy (0.1ms) DELETE FROM `photos` WHERE `id` = 73 + Comment Load (0.2ms) SELECT * FROM `comments` WHERE (`comments`.commentable_id = 74 AND `comments`.commentable_type = 'Photo') ORDER BY created_at ASC + Tagging Load (0.5ms) SELECT * FROM `taggings` WHERE (`taggings`.taggable_id = 74 AND `taggings`.taggable_type = 'Photo' AND (context = 'tags'))  + Tagging Load (0.4ms) SELECT * FROM `taggings` WHERE (`taggings`.taggable_id = 74 AND `taggings`.taggable_type = 'Photo')  + Photo Destroy (0.1ms) DELETE FROM `photos` WHERE `id` = 74 + Comment Load (0.2ms) SELECT * FROM `comments` WHERE (`comments`.commentable_id = 75 AND `comments`.commentable_type = 'Photo') ORDER BY created_at ASC + Tagging Load (0.2ms) SELECT * FROM `taggings` WHERE (`taggings`.taggable_id = 75 AND `taggings`.taggable_type = 'Photo' AND (context = 'tags'))  + Tagging Load (0.2ms) SELECT * FROM `taggings` WHERE (`taggings`.taggable_id = 75 AND `taggings`.taggable_type = 'Photo')  + Photo Destroy (0.1ms) DELETE FROM `photos` WHERE `id` = 75 + Comment Load (0.2ms) SELECT * FROM `comments` WHERE (`comments`.commentable_id = 76 AND `comments`.commentable_type = 'Photo') ORDER BY created_at ASC + Tagging Load (0.2ms) SELECT * FROM `taggings` WHERE (`taggings`.taggable_id = 76 AND `taggings`.taggable_type = 'Photo' AND (context = 'tags'))  + Tagging Load (0.2ms) SELECT * FROM `taggings` WHERE (`taggings`.taggable_id = 76 AND `taggings`.taggable_type = 'Photo')  + Photo Destroy (0.4ms) DELETE FROM `photos` WHERE `id` = 76 + Photo Destroy (0.1ms) DELETE FROM `photos` WHERE `id` = 71 + Activity Create (0.2ms) INSERT INTO `activities` (`created_at`, `public`, `updated_at`, `action`, `user_id`, `item_id`, `item_type`) VALUES('2010-12-22 05:13:50', 1, '2010-12-22 05:13:50', 'destroy', NULL, 71, 'Photo') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + Activity Load (0.3ms) SELECT * FROM `activities` WHERE (`activities`.`item_id` = 71 AND `activities`.`item_type` = 'Photo')  + SQL (77.7ms) ROLLBACK + SQL (0.2ms) BEGIN + Photo Load (0.3ms) SELECT * FROM `photos`  + SQL (0.1ms) SAVEPOINT active_record_1 + Photo Update (0.6ms) UPDATE `photos` SET `updated_at` = '2010-12-22 05:13:50', `content_type` = 'image/jpeg', `height` = 235, `width` = 180, `size` = 8908 WHERE `id` = 1 + Photo Load (0.5ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'thumb' AND `photos`.`parent_id` = 1) LIMIT 1 + Photo Create (1.8ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:13:50', NULL, NULL, 'image/jpeg', NULL, 'thumb', '2010-12-22 05:13:50', NULL, NULL, 0, NULL, 1, 'test_thumb.jpg', 32, NULL, 25, NULL) + Photo Load (0.8ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'small' AND `photos`.`parent_id` = 1) LIMIT 1 + Photo Create (0.5ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:13:50', NULL, NULL, 'image/jpeg', NULL, 'small', '2010-12-22 05:13:50', NULL, NULL, 0, NULL, 1, 'test_small.jpg', 48, NULL, 37, NULL) + Photo Load (0.7ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'display' AND `photos`.`parent_id` = 1) LIMIT 1 + Photo Create (0.3ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:13:50', NULL, NULL, 'image/jpeg', NULL, 'display', '2010-12-22 05:13:50', NULL, NULL, 0, NULL, 1, 'test_display.jpg', 175, NULL, 134, NULL) + Photo Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'member' AND `photos`.`parent_id` = 1) LIMIT 1 + Photo Create (0.3ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:13:50', NULL, NULL, 'image/jpeg', NULL, 'member', '2010-12-22 05:13:50', NULL, NULL, 0, NULL, 1, 'test_member.jpg', 96, NULL, 74, NULL) + Photo Load (0.4ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'medium' AND `photos`.`parent_id` = 1) LIMIT 1 + Photo Create (0.3ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:13:50', NULL, NULL, 'image/jpeg', NULL, 'medium', '2010-12-22 05:13:50', NULL, NULL, 0, NULL, 1, 'test_medium.jpg', 82, NULL, 63, NULL) + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Photo Update (0.4ms) UPDATE `photos` SET `updated_at` = '2010-12-22 05:13:50', `content_type` = 'image/jpeg', `height` = 235, `width` = 180, `size` = 8908 WHERE `id` = 2 + Photo Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'thumb' AND `photos`.`parent_id` = 2) LIMIT 1 + Photo Create (0.3ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:13:50', NULL, NULL, 'image/jpeg', NULL, 'thumb', '2010-12-22 05:13:50', NULL, NULL, 0, NULL, 2, 'test_thumb.jpg', 32, NULL, 25, NULL) + Photo Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'small' AND `photos`.`parent_id` = 2) LIMIT 1 + Photo Create (0.3ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:13:50', NULL, NULL, 'image/jpeg', NULL, 'small', '2010-12-22 05:13:50', NULL, NULL, 0, NULL, 2, 'test_small.jpg', 48, NULL, 37, NULL) + Photo Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'display' AND `photos`.`parent_id` = 2) LIMIT 1 + Photo Create (0.3ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:13:50', NULL, NULL, 'image/jpeg', NULL, 'display', '2010-12-22 05:13:50', NULL, NULL, 0, NULL, 2, 'test_display.jpg', 175, NULL, 134, NULL) + Photo Load (0.4ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'member' AND `photos`.`parent_id` = 2) LIMIT 1 + Photo Create (0.3ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:13:50', NULL, NULL, 'image/jpeg', NULL, 'member', '2010-12-22 05:13:50', NULL, NULL, 0, NULL, 2, 'test_member.jpg', 96, NULL, 74, NULL) + Photo Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'medium' AND `photos`.`parent_id` = 2) LIMIT 1 + Photo Create (0.2ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:13:50', NULL, NULL, 'image/jpeg', NULL, 'medium', '2010-12-22 05:13:50', NULL, NULL, 0, NULL, 2, 'test_medium.jpg', 82, NULL, 63, NULL) + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Photo Update (0.3ms) UPDATE `photos` SET `updated_at` = '2010-12-22 05:13:50', `content_type` = 'image/jpeg', `height` = 235, `width` = 180, `size` = 8908 WHERE `id` = 3 + Photo Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'thumb' AND `photos`.`parent_id` = 3) LIMIT 1 + Photo Create (0.3ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:13:50', NULL, NULL, 'image/jpeg', NULL, 'thumb', '2010-12-22 05:13:50', NULL, NULL, 0, NULL, 3, 'test_thumb.jpg', 32, NULL, 25, NULL) + Photo Load (0.4ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'small' AND `photos`.`parent_id` = 3) LIMIT 1 + Photo Create (0.3ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:13:50', NULL, NULL, 'image/jpeg', NULL, 'small', '2010-12-22 05:13:50', NULL, NULL, 0, NULL, 3, 'test_small.jpg', 48, NULL, 37, NULL) + Photo Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'display' AND `photos`.`parent_id` = 3) LIMIT 1 + Photo Create (0.3ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:13:50', NULL, NULL, 'image/jpeg', NULL, 'display', '2010-12-22 05:13:50', NULL, NULL, 0, NULL, 3, 'test_display.jpg', 175, NULL, 134, NULL) + Photo Load (0.4ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'member' AND `photos`.`parent_id` = 3) LIMIT 1 + Photo Create (0.3ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:13:50', NULL, NULL, 'image/jpeg', NULL, 'member', '2010-12-22 05:13:50', NULL, NULL, 0, NULL, 3, 'test_member.jpg', 96, NULL, 74, NULL) + Photo Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'medium' AND `photos`.`parent_id` = 3) LIMIT 1 + Photo Create (0.3ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:13:51', NULL, NULL, 'image/jpeg', NULL, 'medium', '2010-12-22 05:13:51', NULL, NULL, 0, NULL, 3, 'test_medium.jpg', 82, NULL, 63, NULL) + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Photo Update (0.3ms) UPDATE `photos` SET `updated_at` = '2010-12-22 05:13:51', `content_type` = 'image/jpeg', `height` = 235, `width` = 180, `size` = 8908 WHERE `id` = 4 + Photo Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'thumb' AND `photos`.`parent_id` = 4) LIMIT 1 + Photo Create (0.4ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:13:51', NULL, NULL, 'image/jpeg', NULL, 'thumb', '2010-12-22 05:13:51', NULL, NULL, 0, NULL, 4, 'test_thumb.jpg', 32, NULL, 25, NULL) + Photo Load (0.4ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'small' AND `photos`.`parent_id` = 4) LIMIT 1 + Photo Create (1.0ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:13:51', NULL, NULL, 'image/jpeg', NULL, 'small', '2010-12-22 05:13:51', NULL, NULL, 0, NULL, 4, 'test_small.jpg', 48, NULL, 37, NULL) + Photo Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'display' AND `photos`.`parent_id` = 4) LIMIT 1 + Photo Create (0.3ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:13:51', NULL, NULL, 'image/jpeg', NULL, 'display', '2010-12-22 05:13:51', NULL, NULL, 0, NULL, 4, 'test_display.jpg', 175, NULL, 134, NULL) + Photo Load (0.4ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'member' AND `photos`.`parent_id` = 4) LIMIT 1 + Photo Create (0.3ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:13:51', NULL, NULL, 'image/jpeg', NULL, 'member', '2010-12-22 05:13:51', NULL, NULL, 0, NULL, 4, 'test_member.jpg', 96, NULL, 74, NULL) + Photo Load (0.4ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'medium' AND `photos`.`parent_id` = 4) LIMIT 1 + Photo Create (0.3ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:13:51', NULL, NULL, 'image/jpeg', NULL, 'medium', '2010-12-22 05:13:51', NULL, NULL, 0, NULL, 4, 'test_medium.jpg', 82, NULL, 63, NULL) + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + Photo Load (0.4ms) SELECT * FROM `photos`  + Photo Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`parent_id` = 1)  + SQL (51.7ms) ROLLBACK + SQL (0.1ms) BEGIN + ProfilePhoto Columns (1.1ms) SHOW FIELDS FROM `photos` + SQL (0.1ms) SAVEPOINT active_record_1 + ProfilePhoto Create (0.3ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8908, '2010-12-22 05:13:51', NULL, NULL, 'image/jpeg', NULL, NULL, '2010-12-22 05:13:51', NULL, NULL, 0, NULL, NULL, 'test.jpg', 175, NULL, 134, NULL) + Activity Create (0.2ms) INSERT INTO `activities` (`created_at`, `public`, `updated_at`, `action`, `user_id`, `item_id`, `item_type`) VALUES('2010-12-22 05:13:51', 1, '2010-12-22 05:13:51', 'create', NULL, 97, 'Photo') + ProfilePhoto Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'thumb' AND `photos`.`parent_id` = 97) LIMIT 1 + ProfilePhoto Create (0.3ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 5780, '2010-12-22 05:13:51', NULL, NULL, 'image/jpeg', NULL, 'thumb', '2010-12-22 05:13:51', NULL, NULL, 0, NULL, 97, 'test_thumb.jpg', 32, NULL, 25, NULL) + ProfilePhoto Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'small' AND `photos`.`parent_id` = 97) LIMIT 1 + ProfilePhoto Create (0.3ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 5780, '2010-12-22 05:13:51', NULL, NULL, 'image/jpeg', NULL, 'small', '2010-12-22 05:13:51', NULL, NULL, 0, NULL, 97, 'test_small.jpg', 48, NULL, 37, NULL) + ProfilePhoto Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'member' AND `photos`.`parent_id` = 97) LIMIT 1 + ProfilePhoto Create (0.3ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 5780, '2010-12-22 05:13:51', NULL, NULL, 'image/jpeg', NULL, 'member', '2010-12-22 05:13:51', NULL, NULL, 0, NULL, 97, 'test_member.jpg', 96, NULL, 74, NULL) + ProfilePhoto Load (0.4ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'medium' AND `photos`.`parent_id` = 97) LIMIT 1 + ProfilePhoto Create (0.3ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 5780, '2010-12-22 05:13:51', NULL, NULL, 'image/jpeg', NULL, 'medium', '2010-12-22 05:13:51', NULL, NULL, 0, NULL, 97, 'test_medium.jpg', 82, NULL, 63, NULL) + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + Photo Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`parent_id` = 97)  + SQL (49.2ms) ROLLBACK + SQL (0.1ms) BEGIN + Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  + SQL (0.1ms) ROLLBACK + SQL (0.0ms) BEGIN + SQL (0.1ms) SAVEPOINT active_record_1 + Project Create (0.4ms) INSERT INTO `projects` (`name`, `created_at`, `updated_at`, `url`, `user_id`, `description`) VALUES('A Test Project', '2010-12-22 05:13:51', '2010-12-22 05:13:51', 'www.rubyonrails.com', 1, 'This project is created for testing') + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Activity Create (0.2ms) INSERT INTO `activities` (`created_at`, `public`, `updated_at`, `action`, `user_id`, `item_id`, `item_type`) VALUES('2010-12-22 05:13:51', 1, '2010-12-22 05:13:51', NULL, 1, 3, 'Project') + SQL (0.0ms) RELEASE SAVEPOINT active_record_1 + Activity Load (0.3ms) SELECT * FROM `activities` WHERE (`activities`.`item_id` = 3 AND `activities`.`item_type` = 'Project') LIMIT 1 + SQL (32.5ms) ROLLBACK + SQL (0.1ms) BEGIN + Project Load (0.3ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  + SQL (0.1ms) ROLLBACK + SQL (0.0ms) BEGIN + Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  + SQL (0.1ms) ROLLBACK + SQL (0.0ms) BEGIN + SQL (0.0ms) ROLLBACK + SQL (0.0ms) BEGIN + Role Load (0.2ms) SELECT * FROM `roles` WHERE (`roles`.`rolename` = 'administrator') LIMIT 1 + SQL (0.1ms) ROLLBACK + SQL (0.0ms) BEGIN + Role Load (0.2ms) SELECT * FROM `roles` WHERE (`roles`.`rolename` = 'creator') LIMIT 1 + SQL (0.1ms) ROLLBACK + SQL (0.0ms) BEGIN + SQL (0.0ms) ROLLBACK + SQL (0.0ms) BEGIN + Country Load (0.2ms) SELECT * FROM `countries` WHERE (`countries`.`abbreviation` = 'US') LIMIT 1 + SQL (0.1ms) ROLLBACK + SQL (0.0ms) BEGIN + Country Load (0.1ms) SELECT * FROM `countries` WHERE (`countries`.`abbreviation` = 'US') LIMIT 1 + SQL (0.1ms) ROLLBACK + SQL (0.0ms) BEGIN + SQL (2.5ms) SAVEPOINT active_record_1 + StatusPost Create (0.2ms) INSERT INTO `status_posts` (`created_at`, `body`, `updated_at`, `user_id`) VALUES('2010-12-22 05:13:51', 'A Test Status Post', '2010-12-22 05:13:51', 1) + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Activity Create (0.1ms) INSERT INTO `activities` (`created_at`, `public`, `updated_at`, `action`, `user_id`, `item_id`, `item_type`) VALUES('2010-12-22 05:13:51', 1, '2010-12-22 05:13:51', NULL, 1, 3, 'StatusPost') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + Activity Load (0.3ms) SELECT * FROM `activities` WHERE (`activities`.`item_id` = 3 AND `activities`.`item_type` = 'StatusPost') LIMIT 1 + SQL (36.0ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.6ms) SELECT `users`.* FROM `users` INNER JOIN `permissions` ON permissions.user_id = users.id WHERE (role_id = 2)  + User Load (0.4ms) SELECT `users`.* FROM `users` INNER JOIN `permissions` ON permissions.user_id = users.id WHERE (role_id = 1)  + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + StatusPost Load (0.3ms) SELECT * FROM `status_posts` WHERE (`status_posts`.user_id = 1) ORDER BY created_at DESC + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  + StatusPost Load (0.2ms) SELECT * FROM `status_posts` WHERE (`status_posts`.user_id = 3) ORDER BY created_at DESC + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + User Load (0.5ms) SELECT `users`.* FROM `users` INNER JOIN `friendships` ON `users`.id = `friendships`.friend_id WHERE ((`friendships`.user_id = 1) AND ((status = 'accepted')))  + Activity Load (0.4ms) SELECT * FROM `activities` WHERE (`activities`.`user_id` IN (8,5,1)) ORDER BY created_at DESC + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + User Load (0.1ms) SELECT `users`.* FROM `users` INNER JOIN `friendships` ON `users`.id = `friendships`.friend_id WHERE ((`friendships`.user_id = 1) AND ((status = 'accepted')))  + SQL (0.1ms) ROLLBACK + SQL (0.0ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + User Load (0.1ms) SELECT `users`.* FROM `users` INNER JOIN `friendships` ON `users`.id = `friendships`.friend_id WHERE ((`friendships`.user_id = 1) AND ((status = 'accepted')))  + Activity Load (0.3ms) SELECT * FROM `activities` WHERE (`activities`.`user_id` IN (8,5,1) AND `activities`.`item_type` = 'StatusPost') ORDER BY created_at DESC + SQL (0.1ms) ROLLBACK + SQL (0.0ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + User Load (0.4ms) SELECT * FROM `users` WHERE (`users`.`id` = 6)  + SQL (0.1ms) ROLLBACK + SQL (0.0ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (0.1ms) ROLLBACK + SQL (0.0ms) BEGIN + User Load (0.7ms) SELECT * FROM `users` WHERE (activated_at IS NULL)  + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Activity Load (0.4ms) SELECT * FROM `activities` WHERE (`activities`.user_id = 1) ORDER BY created_at DESC + SQL (0.1ms) ROLLBACK + SQL (0.0ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + User Load (0.5ms) SELECT * FROM `users` WHERE (login = 'quentin' and activated_at IS NOT NULL) LIMIT 1 + SQL (0.1ms) ROLLBACK + SQL (0.0ms) BEGIN + SQL (0.3ms) SELECT count(*) AS count_all FROM `users`  + SQL (0.1ms) SAVEPOINT active_record_1 + User Load (0.5ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'quire') LIMIT 1 + User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'quire@example.com') LIMIT 1 + User Create (0.4ms) INSERT INTO `users` (`city`, `occupation`, `flickr`, `facebook_id`, `salt`, `created_at`, `zip`, `about_me`, `activated_at`, `blog`, `display_tweets`, `yahoo_messenger_name`, `skype_name`, `facebook_url`, `company_url`, `crypted_password`, `remember_token_expires_at`, `updated_at`, `featured`, `last_seen_at`, `password_reset_code`, `country_id`, `skills`, `show_blog_posts_on_home`, `msn_name`, `activation_code`, `api_key`, `flickr_username`, `linked_in_url`, `gtalk_name`, `posts_count`, `enabled`, `email_hash`, `sex`, `phone2`, `last_name`, `phone`, `website`, `blog_feed`, `twitter_id`, `aim_name`, `resume_url`, `login_count`, `remember_token`, `is_active`, `time_zone`, `organization`, `login`, `state_id`, `youtube_username`, `identity_url`, `email`, `first_name`, `use_gravatar`, `receive_emails`) VALUES(NULL, NULL, NULL, NULL, '4c47be37f4b0253ae443ab9d354aef0d01273e0b', '2010-12-22 05:13:51', NULL, 'this is about me', NULL, NULL, 0, NULL, NULL, NULL, NULL, '04bff5f28fab87d4478b533a0ed005ef2848f26d', NULL, '2010-12-22 05:13:51', 0, NULL, NULL, NULL, NULL, 1, NULL, 'ae53977b8716eda2e14c346afe0063b51e1d1adf', '', NULL, NULL, NULL, 0, 1, NULL, NULL, NULL, 'user', NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, 0, 'UTC', NULL, 'quire', NULL, NULL, NULL, 'quire@example.com', 'test', 0, 1) + ConfigSetting Load (0.2ms) SELECT * FROM `config_settings`  + SQL (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 + SQL (52.0ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.1ms) SAVEPOINT active_record_1 + User Load (0.4ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'quire') LIMIT 1 + User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'quire@example.com') LIMIT 1 + User Create (0.4ms) INSERT INTO `users` (`city`, `occupation`, `flickr`, `facebook_id`, `salt`, `created_at`, `zip`, `about_me`, `activated_at`, `blog`, `display_tweets`, `yahoo_messenger_name`, `skype_name`, `facebook_url`, `company_url`, `crypted_password`, `remember_token_expires_at`, `updated_at`, `featured`, `last_seen_at`, `password_reset_code`, `country_id`, `skills`, `show_blog_posts_on_home`, `msn_name`, `activation_code`, `api_key`, `flickr_username`, `linked_in_url`, `gtalk_name`, `posts_count`, `enabled`, `email_hash`, `sex`, `phone2`, `last_name`, `phone`, `website`, `blog_feed`, `twitter_id`, `aim_name`, `resume_url`, `login_count`, `remember_token`, `is_active`, `time_zone`, `organization`, `login`, `state_id`, `youtube_username`, `identity_url`, `email`, `first_name`, `use_gravatar`, `receive_emails`) VALUES(NULL, NULL, NULL, NULL, '4c47be37f4b0253ae443ab9d354aef0d01273e0b', '2010-12-22 05:13:51', NULL, 'this is about me', NULL, NULL, 0, NULL, NULL, NULL, NULL, '04bff5f28fab87d4478b533a0ed005ef2848f26d', NULL, '2010-12-22 05:13:51', 0, NULL, NULL, NULL, NULL, 1, NULL, 'cf54ba5e27f1dfffa4bdf8e8dd2e107d8b8f112d', '', NULL, NULL, NULL, 0, 1, NULL, NULL, NULL, 'user', NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, 0, 'UTC', NULL, 'quire', NULL, NULL, NULL, 'quire@example.com', 'test', 0, 1) + SQL (39.8ms) ROLLBACK TO SAVEPOINT active_record_1 + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.5ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + User Load (0.5ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'quentin2' AND `users`.id <> 1) LIMIT 1 + User Load (0.3ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'quentin@example.com' AND `users`.id <> 1) LIMIT 1 + User Update (0.3ms) UPDATE `users` SET `updated_at` = '2010-12-22 05:13:51', `login` = 'quentin2' WHERE `id` = 1 + User Load (0.5ms) SELECT `users`.* FROM `users` INNER JOIN `permissions` ON permissions.user_id = users.id WHERE (role_id = 2)  + User Load (0.4ms) SELECT `users`.* FROM `users` INNER JOIN `permissions` ON permissions.user_id = users.id WHERE (role_id = 1)  + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + User Load (0.4ms) SELECT * FROM `users` WHERE (login = 'quentin2' and activated_at IS NOT NULL) LIMIT 1 + SQL (62.1ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.6ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + User Update (0.4ms) UPDATE `users` SET `updated_at` = '2010-12-22 05:13:51', `remember_token_expires_at` = '2011-01-05 05:13:51', `remember_token` = 'ac2f3d48f8f328a8887013ce0c91fa12e744a78d' WHERE `id` = 1 + User Load (0.5ms) SELECT `users`.* FROM `users` INNER JOIN `permissions` ON permissions.user_id = users.id WHERE (role_id = 2)  + User Load (0.4ms) SELECT `users`.* FROM `users` INNER JOIN `permissions` ON permissions.user_id = users.id WHERE (role_id = 1)  + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (63.2ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.5ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + User Update (0.3ms) UPDATE `users` SET `updated_at` = '2010-12-22 05:13:52', `remember_token_expires_at` = '2010-12-29 05:13:52', `remember_token` = 'fd5e0ec33fee344090401186e7e7c664a28f8b15' WHERE `id` = 1 + User Load (0.5ms) SELECT `users`.* FROM `users` INNER JOIN `permissions` ON permissions.user_id = users.id WHERE (role_id = 2)  + User Load (0.4ms) SELECT `users`.* FROM `users` INNER JOIN `permissions` ON permissions.user_id = users.id WHERE (role_id = 1)  + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (56.9ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.5ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + User Update (0.3ms) UPDATE `users` SET `updated_at` = '2010-12-22 05:13:52', `remember_token_expires_at` = '2010-12-29 05:13:52', `remember_token` = 'fd5e0ec33fee344090401186e7e7c664a28f8b15' WHERE `id` = 1 + User Load (0.5ms) SELECT `users`.* FROM `users` INNER JOIN `permissions` ON permissions.user_id = users.id WHERE (role_id = 2)  + User Load (0.4ms) SELECT `users`.* FROM `users` INNER JOIN `permissions` ON permissions.user_id = users.id WHERE (role_id = 1)  + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (41.1ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.3ms) SELECT count(*) AS count_all FROM `users`  + SQL (0.1ms) SAVEPOINT active_record_1 + User Load (0.4ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'quire') LIMIT 1 + User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (`users`.`email` IS NULL) LIMIT 1 + SQL (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 + SQL (0.1ms) SELECT count(*) AS count_all FROM `users`  + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.1ms) SELECT count(*) AS count_all FROM `users`  + SQL (0.1ms) SAVEPOINT active_record_1 + User Load (0.3ms) SELECT `users`.id FROM `users` WHERE (`users`.`login` IS NULL) LIMIT 1 + User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'quire@example.com') LIMIT 1 + SQL (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 + SQL (0.1ms) SELECT count(*) AS count_all FROM `users`  + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.1ms) SELECT count(*) AS count_all FROM `users`  + SQL (0.1ms) SAVEPOINT active_record_1 + User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'quire') LIMIT 1 + User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'quire@example.com') LIMIT 1 + SQL (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 + SQL (0.1ms) SELECT count(*) AS count_all FROM `users`  + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.1ms) SELECT count(*) AS count_all FROM `users`  + SQL (0.1ms) SAVEPOINT active_record_1 + User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'quire') LIMIT 1 + User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'quire@example.com') LIMIT 1 + SQL (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 + SQL (0.1ms) SELECT count(*) AS count_all FROM `users`  + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.5ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + User Load (0.4ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'quentin' AND `users`.id <> 1) LIMIT 1 + User Load (0.3ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'quentin@example.com' AND `users`.id <> 1) LIMIT 1 + User Update (0.3ms) UPDATE `users` SET `updated_at` = '2010-12-22 05:13:52', `crypted_password` = '4b6dd603c64f03bc2f676658e287094878df9603' WHERE `id` = 1 + User Load (0.5ms) SELECT `users`.* FROM `users` INNER JOIN `permissions` ON permissions.user_id = users.id WHERE (role_id = 2)  + User Load (0.4ms) SELECT `users`.* FROM `users` INNER JOIN `permissions` ON permissions.user_id = users.id WHERE (role_id = 1)  + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + User Load (0.4ms) SELECT * FROM `users` WHERE (login = 'quentin' and activated_at IS NOT NULL) LIMIT 1 + SQL (38.8ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.5ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + User Update (0.4ms) UPDATE `users` SET `updated_at` = '2010-12-22 05:13:52', `remember_token_expires_at` = '2011-01-05 05:13:52', `remember_token` = '4937c446bd9029f4bb5332455d024e9964c32448' WHERE `id` = 1 + User Load (0.5ms) SELECT `users`.* FROM `users` INNER JOIN `permissions` ON permissions.user_id = users.id WHERE (role_id = 2)  + User Load (0.5ms) SELECT `users`.* FROM `users` INNER JOIN `permissions` ON permissions.user_id = users.id WHERE (role_id = 1)  + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (74.6ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.5ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + User Update (0.3ms) UPDATE `users` SET `updated_at` = '2010-12-22 05:13:52', `remember_token_expires_at` = '2011-01-05 05:13:52', `remember_token` = '4937c446bd9029f4bb5332455d024e9964c32448' WHERE `id` = 1 + User Load (0.6ms) SELECT `users`.* FROM `users` INNER JOIN `permissions` ON permissions.user_id = users.id WHERE (role_id = 2)  + User Load (0.4ms) SELECT `users`.* FROM `users` INNER JOIN `permissions` ON permissions.user_id = users.id WHERE (role_id = 1)  + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + User Update (0.3ms) UPDATE `users` SET `updated_at` = '2010-12-22 05:13:52', `remember_token_expires_at` = NULL, `remember_token` = NULL WHERE `id` = 1 + User Load (0.5ms) SELECT `users`.* FROM `users` INNER JOIN `permissions` ON permissions.user_id = users.id WHERE (role_id = 2)  + User Load (0.4ms) SELECT `users`.* FROM `users` INNER JOIN `permissions` ON permissions.user_id = users.id WHERE (role_id = 1)  + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (44.0ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.1ms) ROLLBACK + SQL (0.0ms) BEGIN + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.1ms) ROLLBACK + SQL (0.0ms) BEGIN + SQL (0.1ms) ROLLBACK +** acts_as_taggable_on: initialized properly. + SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 + SQL (0.2ms) BEGIN + User Load (0.5ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + + +Processing ActivitiesController#index (for 0.0.0.0 at 2010-12-21 22:13:57) [GET] + Theme Load (0.3ms) SELECT * FROM `themes` LIMIT 1 + Network Load (0.2ms) SELECT * FROM `networks` LIMIT 1 + Activity Load (0.5ms) SELECT * FROM `activities` ORDER BY created_at DESC LIMIT 0, 15 + SQL (0.2ms) SELECT count(*) AS count_all FROM `activities`  + SQL (0.1ms) SELECT count(*) AS count_all FROM `activities`  +Rendering template within layouts/application +Rendering activities/index + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + BlogPost Load (0.3ms) SELECT * FROM `blog_posts` WHERE (`blog_posts`.`id` = 1)  + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + BlogPost Load (0.4ms) SELECT * FROM `blog_posts` WHERE (`blog_posts`.`id` = 2)  + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + StatusPost Load (0.2ms) SELECT * FROM `status_posts` WHERE (`status_posts`.`id` = 1)  + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + StatusPost Load (0.2ms) SELECT * FROM `status_posts` WHERE (`status_posts`.`id` = 2)  + User Load (0.4ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  + BlogPost Load (0.1ms) SELECT * FROM `blog_posts` WHERE (`blog_posts`.`id` = 2)  + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  + ForumPost Load (0.2ms) SELECT * FROM `forum_posts` WHERE (`forum_posts`.`id` = 1)  + User Load (0.4ms) SELECT * FROM `users` WHERE (`users`.`id` = 4)  + Photo Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`id` = 1)  + Photo Load (0.2ms) SELECT id, user_id, filename, parent_id, created_at FROM `photos` WHERE (`photos`.`id` = 1)  + User Load (0.5ms) SELECT * FROM `users` WHERE (`users`.`id` = 5)  + Photo Load (0.2ms) SELECT * FROM `photos` WHERE (`photos`.`id` = 2)  + Photo Load (0.2ms) SELECT id, user_id, filename, parent_id, created_at FROM `photos` WHERE (`photos`.`id` = 2)  + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 5)  + StatusPost Load (0.1ms) SELECT * FROM `status_posts` WHERE (`status_posts`.`id` = 2)  + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Friendship Load (0.2ms) SELECT * FROM `friendships` WHERE (`friendships`.`id` = 5)  + User Load (0.4ms) SELECT * FROM `users` WHERE (`users`.`id` = 8)  + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.`id` = 1)  + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Photo Load (0.1ms) SELECT * FROM `photos` WHERE (`photos`.`id` = 1)  + Photo Load (0.1ms) SELECT id, user_id, filename, parent_id, created_at FROM `photos` WHERE (`photos`.`id` = 1)  + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 1)  + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + BlogPost Load (0.1ms) SELECT * FROM `blog_posts` WHERE (`blog_posts`.`id` = 1)  +Rendered layouts/_widgets (1.3ms) + ConfigSetting Load (0.1ms) SELECT * FROM `config_settings`  + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + + +Processing AdminController#analytics_code (for 0.0.0.0 at 2010-12-21 22:13:58) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.6ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + HtmlContent Load (0.4ms) SELECT * FROM `html_contents` WHERE (`html_contents`.`title` = '?analytics?') LIMIT 1 +Rendering template within layouts/admin +Rendering admin/analytics_code + ProfilePhoto Columns (1.1ms) SHOW FIELDS FROM `photos` + ProfilePhoto Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 1 AND (is_profile = 1)) LIMIT 1 +Rendered admin/_left_nav (3.5ms) +Completed in 51ms (View: 36, DB: 9) | 200 OK [http://test.host/admin/analytics_code] + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + + +Processing AdminController#blog_post_edit (for 0.0.0.0 at 2010-12-21 22:13:58) [GET] + Parameters: {"id"=>"2"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + BlogPost Load (0.1ms) SELECT * FROM `blog_posts` WHERE (`blog_posts`.`id` = 2)  + BlogPostTopic Load (0.3ms) SELECT * FROM `blog_post_topics`  +Rendering template within layouts/admin +Rendering admin/blog_post_form + blog_post_topics_blog_posts Columns (0.8ms) SHOW FIELDS FROM `blog_post_topics_blog_posts` + BlogPostTopic Load (0.3ms) SELECT * FROM `blog_post_topics` INNER JOIN `blog_post_topics_blog_posts` ON `blog_post_topics`.id = `blog_post_topics_blog_posts`.blog_post_topic_id WHERE (`blog_post_topics_blog_posts`.blog_post_id = 2 )  +Rendered blog_posts/_blog_post_topic_list (5.0ms) + Tagging Columns (0.6ms) SHOW FIELDS FROM `taggings` + Tag Load (0.4ms) SELECT `tags`.* FROM `tags` INNER JOIN `taggings` ON `tags`.id = `taggings`.tag_id WHERE ((`taggings`.taggable_id = 2) AND (`taggings`.taggable_type = 'BlogPost') AND (context = 'tags'))  +Rendered blog_posts/_blog_post_form (13.8ms) + ProfilePhoto Load (0.1ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 1 AND (is_profile = 1)) LIMIT 1 +Rendered admin/_left_nav (1.6ms) +Completed in 47ms (View: 41, DB: 3) | 200 OK [http://test.host/admin/blog_post_edit/2] + SQL (0.1ms) ROLLBACK + SQL (0.0ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + + +Processing AdminController#event_edit (for 0.0.0.0 at 2010-12-21 22:13:58) [GET] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.`id` = 1)  + Location Load (0.4ms) SELECT * FROM `locations` ORDER BY name +Rendering template within layouts/admin +Rendering admin/event_form +Rendered events/_event_form (23.7ms) + ProfilePhoto Load (0.2ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 1 AND (is_profile = 1)) LIMIT 1 +Rendered admin/_left_nav (1.6ms) +Completed in 179ms (View: 175, DB: 1) | 200 OK [http://test.host/admin/event_edit/1] + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + + +Processing AdminController#event_new (for 0.0.0.0 at 2010-12-21 22:13:58) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + Location Load (0.1ms) SELECT * FROM `locations` ORDER BY name +Rendering template within layouts/admin +Rendering admin/event_form +Rendered events/_event_form (17.2ms) + ProfilePhoto Load (0.2ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 1 AND (is_profile = 1)) LIMIT 1 +Rendered admin/_left_nav (1.5ms) +Completed in 50ms (View: 46, DB: 1) | 200 OK [http://test.host/admin/event_new] + SQL (0.1ms) ROLLBACK + SQL (0.0ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + + +Processing AdminController#group_edit (for 0.0.0.0 at 2010-12-21 22:13:58) [GET] + Parameters: {"id"=>"2"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + Group Load (0.3ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 2)  +Rendering template within layouts/admin +Rendering admin/group_form + ProfilePhoto Load (0.4ms) SELECT * FROM `photos` WHERE (`photos`.group_id = 2) LIMIT 1 +Rendered groups/_group_form (5.8ms) + ProfilePhoto Load (0.1ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 1 AND (is_profile = 1)) LIMIT 1 +Rendered admin/_left_nav (1.6ms) +Completed in 37ms (View: 33, DB: 1) | 200 OK [http://test.host/admin/group_edit/2] + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + + +Processing AdminController#group_new (for 0.0.0.0 at 2010-12-21 22:13:58) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 +Rendering template within layouts/admin +Rendering admin/group_form +Rendered groups/_group_form (2.5ms) + ProfilePhoto Load (0.2ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 1 AND (is_profile = 1)) LIMIT 1 +Rendered admin/_left_nav (1.7ms) +Completed in 162ms (View: 159, DB: 1) | 200 OK [http://test.host/admin/group_new] + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + + +Processing AdminController#network_description (for 0.0.0.0 at 2010-12-21 22:13:58) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + Network Load (0.1ms) SELECT * FROM `networks` LIMIT 1 +Rendering template within layouts/admin +Rendering admin/network_description + ProfilePhoto Load (0.2ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 1 AND (is_profile = 1)) LIMIT 1 +Rendered admin/_left_nav (1.6ms) +Completed in 33ms (View: 30, DB: 1) | 200 OK [http://test.host/admin/network_description] + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + + +Processing AdminController#network_name (for 0.0.0.0 at 2010-12-21 22:13:58) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + Network Load (0.1ms) SELECT * FROM `networks` LIMIT 1 +Rendering template within layouts/admin +Rendering admin/network_name + ProfilePhoto Load (0.2ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 1 AND (is_profile = 1)) LIMIT 1 +Rendered admin/_left_nav (1.5ms) +Completed in 31ms (View: 28, DB: 1) | 200 OK [http://test.host/admin/network_name] + SQL (0.1ms) ROLLBACK + SQL (0.0ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + + +Processing AdminController#pending_users (for 0.0.0.0 at 2010-12-21 22:13:58) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + User Load (0.8ms) SELECT * FROM `users` WHERE (`users`.`activation_code` = 1 AND `users`.`enabled` = 0)  +Rendered admin/_pending_users (0.9ms) +Completed in 151ms (View: 148, DB: 1) | 200 OK [http://test.host/admin/pending_users] + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + + +Processing AdminController#privacy_edit (for 0.0.0.0 at 2010-12-21 22:13:59) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + HtmlContent Load (0.3ms) SELECT * FROM `html_contents` WHERE (`html_contents`.`title` = 'privacy') LIMIT 1 +Rendering template within layouts/admin +Rendering admin/privacy_edit + ProfilePhoto Load (0.2ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 1 AND (is_profile = 1)) LIMIT 1 +Rendered admin/_left_nav (1.6ms) +Completed in 33ms (View: 30, DB: 1) | 200 OK [http://test.host/admin/privacy_edit] + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + + +Processing AdminController#save_analytics (for 0.0.0.0 at 2010-12-21 22:13:59) [GET] + Parameters: {"id"=>"1", "analytics_text"=>"This is some analytics code."} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + HtmlContent Load (0.3ms) SELECT * FROM `html_contents` WHERE (`html_contents`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + HtmlContent Update (0.3ms) UPDATE `html_contents` SET `updated_at` = '2010-12-22 05:13:59', `body` = 'This is some analytics code.' WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/admin/settings +Completed in 9ms (DB: 1) | 302 Found [http://test.host/admin/save_analytics/1?analytics_text=This+is+some+analytics+code.] + SQL (69.9ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + + +Processing AdminController#save_privacy (for 0.0.0.0 at 2010-12-21 22:13:59) [GET] + Parameters: {"privacy_text"=>"This is a test privacy statement.", "id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + HtmlContent Load (0.3ms) SELECT * FROM `html_contents` WHERE (`html_contents`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + HtmlContent Update (0.2ms) UPDATE `html_contents` SET `updated_at` = '2010-12-22 05:13:59', `body` = 'This is a test privacy statement.' WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/admin/settings +Completed in 6ms (DB: 71) | 302 Found [http://test.host/admin/save_privacy/1?privacy_text=This+is+a+test+privacy+statement.] + SQL (57.8ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + + +Processing AdminController#user_activate (for 0.0.0.0 at 2010-12-21 22:13:59) [GET] + Parameters: {"id"=>"2"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + User Load (0.5ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  + SQL (0.1ms) SAVEPOINT active_record_1 + User Update (0.4ms) UPDATE `users` SET `updated_at` = '2010-12-22 05:13:59', `activated_at` = '2010-12-22 05:13:59', `activation_code` = NULL WHERE `id` = 2 + Network Load (0.1ms) SELECT * FROM `networks` LIMIT 1 +Sent mail to aaron@example.com + +Date: Tue, 21 Dec 2010 22:13:59 -0700 +To: aaron@example.com +Subject: [Test Network] Your account has been activated! +Mime-Version: 1.0 +Content-Type: text/plain; charset=utf-8 + + +aaron, your account has been activated. You may now log in to the site: + + + Role Load (0.3ms) SELECT * FROM `roles` WHERE (`roles`.`rolename` = 'administrator') LIMIT 1 + User Load (0.4ms) SELECT `users`.* FROM `users` INNER JOIN `permissions` ON permissions.user_id = users.id WHERE (role_id = 2)  + Role Load (0.2ms) SELECT * FROM `roles` WHERE (`roles`.`rolename` = 'creator') LIMIT 1 + User Load (0.4ms) SELECT `users`.* FROM `users` INNER JOIN `permissions` ON permissions.user_id = users.id WHERE (role_id = 1)  + Network Load (0.1ms) SELECT * FROM `networks` LIMIT 1 + User Load (0.4ms) SELECT `users`.* FROM `users` INNER JOIN `permissions` ON permissions.user_id = users.id WHERE (role_id = 2)  + User Load (0.4ms) SELECT `users`.* FROM `users` INNER JOIN `permissions` ON permissions.user_id = users.id WHERE (role_id = 1)  +Sent mail to quentin@example.com,bobby@example.com + +Date: Tue, 21 Dec 2010 22:13:59 -0700 +To: quentin@example.com, bobby@example.com +Subject: [Test Network] New User Activated +Mime-Version: 1.0 +Content-Type: text/plain; charset=utf-8 + + +A new user has been activated on RubyMI: + +aaron + + + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.2ms) SAVEPOINT active_record_1 + Activity Create (0.3ms) INSERT INTO `activities` (`created_at`, `public`, `updated_at`, `action`, `user_id`, `item_id`, `item_type`) VALUES('2010-12-22 05:13:59', 1, '2010-12-22 05:13:59', NULL, 2, 2, 'User') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/admin/users +Completed in 26ms (DB: 62) | 302 Found [http://test.host/admin/user_activate/2] + SQL (47.7ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.9ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (0.3ms) SELECT count(*) AS count_all FROM `users`  + + +Processing AdminController#user_delete (for 0.0.0.0 at 2010-12-21 22:13:59) [GET] + Parameters: {"id"=>"3"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.5ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + User Load (0.4ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  + SQL (0.1ms) SAVEPOINT active_record_1 + Permission Load (0.2ms) SELECT * FROM `permissions` WHERE (`permissions`.user_id = 3)  + Permission Destroy (0.2ms) DELETE FROM `permissions` WHERE `id` = 2 + Membership Load (0.2ms) SELECT * FROM `memberships` WHERE (`memberships`.user_id = 3)  + Attendance Load (0.2ms) SELECT * FROM `attendances` WHERE (`attendances`.attendee_id = 3)  + Attendance Destroy (0.1ms) DELETE FROM `attendances` WHERE `id` = 2 + Friendship Load (0.2ms) SELECT * FROM `friendships` WHERE (`friendships`.user_id = 3)  + Friendship Destroy (0.1ms) DELETE FROM `friendships` WHERE `id` = 4 + ProfilePhoto Load (0.2ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 3 AND (is_profile = 1)) LIMIT 1 + User Destroy (0.2ms) DELETE FROM `users` WHERE `id` = 3 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/admin/users +Completed in 12ms (DB: 52) | 302 Found [http://test.host/admin/user_delete/3] + SQL (0.2ms) SELECT count(*) AS count_all FROM `users`  + SQL (50.4ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.5ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + + +Processing AdminController#user_edit (for 0.0.0.0 at 2010-12-21 22:13:59) [GET] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.5ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  +Rendering template within layouts/admin +Rendering admin/user_form + Country Load (0.4ms) SELECT * FROM `countries`  + State Load (0.2ms) SELECT * FROM `states`  + ProfilePhoto Load (0.1ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 1 AND (is_profile = 1)) LIMIT 1 +Rendered users/_user_form (21.2ms) + ProfilePhoto Load (0.1ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 1 AND (is_profile = 1)) LIMIT 1 +Rendered admin/_left_nav (1.6ms) +Completed in 181ms (View: 177, DB: 53) | 200 OK [http://test.host/admin/user_edit/1] + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + + +Processing AdminController#user_new (for 0.0.0.0 at 2010-12-21 22:13:59) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 +Rendering template within layouts/admin +Rendering admin/user_form + Country Load (0.1ms) SELECT * FROM `countries`  + State Load (0.1ms) SELECT * FROM `states`  +Rendered users/_user_form (10.0ms) + ProfilePhoto Load (0.1ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 1 AND (is_profile = 1)) LIMIT 1 +Rendered admin/_left_nav (1.6ms) +Completed in 42ms (View: 39, DB: 1) | 200 OK [http://test.host/admin/user_new] + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + User Load (0.5ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  + Role Load (0.2ms) SELECT `roles`.* FROM `roles` INNER JOIN `permissions` ON `roles`.id = `permissions`.role_id WHERE ((`permissions`.user_id = 3))  + + +Processing AdminController#user_promote (for 0.0.0.0 at 2010-12-21 22:13:59) [GET] + Parameters: {"id"=>"3"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  + Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`rolename` = 'administrator') LIMIT 1 + SQL (0.1ms) SAVEPOINT active_record_1 + Permission Create (0.6ms) INSERT INTO `permissions` (`created_at`, `updated_at`, `role_id`, `group_id`, `user_id`) VALUES('2010-12-22 05:13:59', '2010-12-22 05:13:59', 2, NULL, 3) + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/admin/users +Completed in 6ms (DB: 2) | 302 Found [http://test.host/admin/user_promote/3] + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  + Role Load (0.3ms) SELECT `roles`.* FROM `roles` INNER JOIN `permissions` ON `roles`.id = `permissions`.role_id WHERE ((`permissions`.user_id = 3))  + SQL (63.4ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + + +Processing AdminController#blog_posts (for 0.0.0.0 at 2010-12-21 22:13:59) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + BlogPostTopic Load (0.1ms) SELECT * FROM `blog_post_topics`  + BlogPost Load (0.4ms) SELECT * FROM `blog_posts` ORDER BY created_at DESC +Rendering template within layouts/admin +Rendering admin/blog_posts + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + ProfilePhoto Load (0.1ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 1 AND (is_profile = 1)) LIMIT 1 +Rendered admin/_left_nav (1.5ms) +Completed in 36ms (View: 31, DB: 66) | 200 OK [http://test.host/admin/blog_posts] + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + + +Processing AdminController#events (for 0.0.0.0 at 2010-12-21 22:13:59) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + Event Load (0.3ms) SELECT * FROM `events`  +Rendering template within layouts/admin +Rendering admin/events + Location Load (0.4ms) SELECT * FROM `locations` WHERE (`locations`.`id` = 657069860)  + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + + +Processing AdminController#groups (for 0.0.0.0 at 2010-12-21 22:14:00) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + Group Load (0.3ms) SELECT * FROM `groups`  +Rendering template within layouts/admin +Rendering admin/groups + ProfilePhoto Load (0.2ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 1 AND (is_profile = 1)) LIMIT 1 +Rendered admin/_left_nav (1.5ms) +Completed in 34ms (View: 31, DB: 1) | 200 OK [http://test.host/admin/groups] + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + + +Processing AdminController#index (for 0.0.0.0 at 2010-12-21 22:14:00) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 +Rendering template within layouts/admin +Rendering admin/index + ProfilePhoto Load (0.2ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 1 AND (is_profile = 1)) LIMIT 1 +Rendered admin/_left_nav (1.5ms) + Network Load (0.1ms) SELECT * FROM `networks` LIMIT 1 + Network Load (0.1ms) SELECT * FROM `networks` LIMIT 1 + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + SQL (0.3ms) SELECT count(*) AS count_all FROM `users`  + SQL (0.1ms) SELECT count(*) AS count_all FROM `groups`  + SQL (0.1ms) SELECT count(*) AS count_all FROM `events`  +Rendered admin/_quick_stats (4.3ms) +Rendered admin/_quick_tasks (0.6ms) +Rendered admin/_twitter_widget (0.6ms) +Completed in 37ms (View: 33, DB: 2) | 200 OK [http://test.host/admin] + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + + +Processing AdminController#settings (for 0.0.0.0 at 2010-12-21 22:14:00) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + Network Load (0.1ms) SELECT * FROM `networks` LIMIT 1 +Rendering template within layouts/admin +Rendering admin/settings + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + ProfilePhoto Load (0.1ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 1 AND (is_profile = 1)) LIMIT 1 +Rendered admin/_left_nav (1.7ms) +Completed in 163ms (View: 160, DB: 1) | 200 OK [http://test.host/admin/settings] + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + + +Processing AdminController#users (for 0.0.0.0 at 2010-12-21 22:14:00) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + User Load (1.3ms) SELECT * FROM `users`  + User Load (0.5ms) SELECT `users`.* FROM `users` INNER JOIN `permissions` ON permissions.user_id = users.id WHERE (role_id = 2)  + User Load (0.4ms) SELECT `users`.* FROM `users` INNER JOIN `permissions` ON permissions.user_id = users.id WHERE (role_id = 1)  + User Load (0.7ms) SELECT * FROM `users` WHERE (enabled = 0)  +Rendering template within layouts/admin +Rendering admin/users + ProfilePhoto Load (0.2ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 1 AND (is_profile = 1)) LIMIT 1 +Rendered admin/_left_nav (1.5ms) +Completed in 102ms (View: 93, DB: 4) | 200 OK [http://test.host/admin/users] + SQL (0.1ms) ROLLBACK + SQL (0.0ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (0.3ms) SELECT count(*) AS count_all FROM `announcements`  + + +Processing AnnouncementsController#create (for 0.0.0.0 at 2010-12-21 22:14:00) [POST] + Parameters: {"announcement"=>{"title"=>"Test Announcement", "body"=>"Test Announcement Body"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + SQL (0.1ms) SAVEPOINT active_record_1 + Announcement Create (0.2ms) INSERT INTO `announcements` (`created_at`, `title`, `body`, `updated_at`, `group_id`, `user_id`) VALUES('2010-12-22 05:14:00', 'Test Announcement', 'Test Announcement Body', '2010-12-22 05:14:00', NULL, 1) + Activity Create (0.2ms) INSERT INTO `activities` (`created_at`, `public`, `updated_at`, `action`, `user_id`, `item_id`, `item_type`) VALUES('2010-12-22 05:14:00', 1, '2010-12-22 05:14:00', NULL, 1, 4, 'Announcement') + Network Load (0.1ms) SELECT * FROM `networks` LIMIT 1 + User Load (0.2ms) SELECT * FROM `users`  +Sent mail to quentin@example.com,aaron@example.com,sfisher@example.com,henry@example.com,mitch@example.com,bobby@example.com,user7@test.com,user8@test.com,user9@test.com,user10@test.com,user11@test.com,user12@test.com,user13@test.com,user14@test.com,user15@test.com,user16@test.com,user17@test.com,user18@test.com,user19@test.com,user20@test.com,user21@test.com,user22@test.com,user23@test.com,user24@test.com,user25@test.com,user26@test.com,user27@test.com,user28@test.com,user29@test.com,user30@test.com,user31@test.com,user32@test.com,user33@test.com,user34@test.com,user35@test.com,user36@test.com,user37@test.com,user38@test.com,user39@test.com,user40@test.com + +Date: Tue, 21 Dec 2010 22:14:00 -0700 +To: quentin@example.com, aaron@example.com, sfisher@example.com, henry@example.com, mitch@example.com, bobby@example.com, user7@test.com, user8@test.com, user9@test.com, user10@test.com, + user11@test.com, user12@test.com, user13@test.com, user14@test.com, user15@test.com, user16@test.com, user17@test.com, user18@test.com, user19@test.com, user20@test.com, user21@test.com, + user22@test.com, user23@test.com, user24@test.com, user25@test.com, user26@test.com, user27@test.com, user28@test.com, user29@test.com, user30@test.com, user31@test.com, user32@test.com, + user33@test.com, user34@test.com, user35@test.com, user36@test.com, user37@test.com, user38@test.com, user39@test.com, user40@test.com +Subject: [Test Network] Test Announcement +Mime-Version: 1.0 +Content-Type: text/html; charset=utf-8 + + +A new announcement has been posted to the Michigan Ruby Community website. +

    +Test Announcement +

    +Read it online at: RubyMI.org + + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/ +Completed in 25ms (DB: 2) | 302 Found [http://test.host/announcements?announcement%5Bbody%5D=Test+Announcement+Body&announcement%5Btitle%5D=Test+Announcement] + SQL (0.2ms) SELECT count(*) AS count_all FROM `announcements`  + SQL (45.2ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (0.2ms) SELECT count(*) AS count_all FROM `announcements`  + Announcement Load (0.2ms) SELECT * FROM `announcements` WHERE (`announcements`.`id` = 1)  + + +Processing AnnouncementsController#destroy (for 0.0.0.0 at 2010-12-21 22:14:00) [DELETE] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + Announcement Load (0.1ms) SELECT * FROM `announcements` WHERE (`announcements`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + Announcement Destroy (0.3ms) DELETE FROM `announcements` WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/ +Completed in 4ms (DB: 47) | 302 Found [http://test.host/announcements/1] + SQL (0.2ms) SELECT count(*) AS count_all FROM `announcements`  + SQL (47.9ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Announcement Load (0.3ms) SELECT * FROM `announcements` WHERE (`announcements`.`id` = 1)  + + +Processing AnnouncementsController#edit (for 0.0.0.0 at 2010-12-21 22:14:00) [GET] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + Announcement Load (0.1ms) SELECT * FROM `announcements` WHERE (`announcements`.`id` = 1)  +Rendering template within layouts/application +Rendering announcements/edit +Rendered announcements/_announcement_form (3.9ms) +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.0ms) BEGIN + + +Processing AnnouncementsController#index (for 0.0.0.0 at 2010-12-21 22:14:00) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + Announcement Load (0.3ms) SELECT * FROM `announcements` ORDER BY created_at DESC LIMIT 0, 30 + SQL (0.1ms) SELECT count(*) AS count_all FROM `announcements`  +Rendering template within layouts/application +Rendering announcements/announcements_list +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.0ms) BEGIN + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + + +Processing AnnouncementsController#new (for 0.0.0.0 at 2010-12-21 22:14:00) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 +Rendering template within layouts/application +Rendering announcements/new +Rendered announcements/_announcement_form (2.0ms) +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Announcement Load (0.1ms) SELECT * FROM `announcements` WHERE (`announcements`.`id` = 1)  + + +Processing AnnouncementsController#update (for 0.0.0.0 at 2010-12-21 22:14:00) [PUT] + Parameters: {"id"=>"1", "announcement"=>{"title"=>"Test Announcement", "body"=>"Test Announcement Body"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + Announcement Load (0.1ms) SELECT * FROM `announcements` WHERE (`announcements`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + Announcement Update (0.3ms) UPDATE `announcements` SET `updated_at` = '2010-12-22 05:14:00', `title` = 'Test Announcement', `body` = 'Test Announcement Body' WHERE `id` = 1 + Network Load (0.1ms) SELECT * FROM `networks` LIMIT 1 + User Load (0.2ms) SELECT * FROM `users`  +Sent mail to quentin@example.com,aaron@example.com,sfisher@example.com,henry@example.com,mitch@example.com,bobby@example.com,user7@test.com,user8@test.com,user9@test.com,user10@test.com,user11@test.com,user12@test.com,user13@test.com,user14@test.com,user15@test.com,user16@test.com,user17@test.com,user18@test.com,user19@test.com,user20@test.com,user21@test.com,user22@test.com,user23@test.com,user24@test.com,user25@test.com,user26@test.com,user27@test.com,user28@test.com,user29@test.com,user30@test.com,user31@test.com,user32@test.com,user33@test.com,user34@test.com,user35@test.com,user36@test.com,user37@test.com,user38@test.com,user39@test.com,user40@test.com + +Date: Tue, 21 Dec 2010 22:14:00 -0700 +To: quentin@example.com, aaron@example.com, sfisher@example.com, henry@example.com, mitch@example.com, bobby@example.com, user7@test.com, user8@test.com, user9@test.com, user10@test.com, + user11@test.com, user12@test.com, user13@test.com, user14@test.com, user15@test.com, user16@test.com, user17@test.com, user18@test.com, user19@test.com, user20@test.com, user21@test.com, + user22@test.com, user23@test.com, user24@test.com, user25@test.com, user26@test.com, user27@test.com, user28@test.com, user29@test.com, user30@test.com, user31@test.com, user32@test.com, + user33@test.com, user34@test.com, user35@test.com, user36@test.com, user37@test.com, user38@test.com, user39@test.com, user40@test.com +Subject: [Test Network] Test Announcement +Mime-Version: 1.0 +Content-Type: text/html; charset=utf-8 + + +A new announcement has been posted to the Michigan Ruby Community website. +

    +Test Announcement +

    +Read it online at: RubyMI.org + + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/ +Completed in 18ms (DB: 2) | 302 Found [http://test.host/announcements/1?announcement%5Bbody%5D=Test+Announcement+Body&announcement%5Btitle%5D=Test+Announcement] + SQL (42.8ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  + + +Processing ApiKeysController#create (for 0.0.0.0 at 2010-12-21 22:14:01) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.6ms) SELECT * FROM `users` WHERE (`users`.`id` = 3) LIMIT 1 + SQL (0.1ms) SAVEPOINT active_record_1 + User Update (0.4ms) UPDATE `users` SET `updated_at` = '2010-12-22 05:14:01', `api_key` = '01b5c809116d74a5800b135b906edfa72d726b2d' WHERE `id` = 3 + User Load (0.5ms) SELECT `users`.* FROM `users` INNER JOIN `permissions` ON permissions.user_id = users.id WHERE (role_id = 2)  + User Load (0.4ms) SELECT `users`.* FROM `users` INNER JOIN `permissions` ON permissions.user_id = users.id WHERE (role_id = 1)  + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/users/3/edit +Completed in 19ms (DB: 45) | 302 Found [http://test.host/api_key] + User Load (0.5ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  + SQL (62.0ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.5ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + + +Processing ApiKeysController#destroy (for 0.0.0.0 at 2010-12-21 22:14:01) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.5ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + SQL (0.1ms) SAVEPOINT active_record_1 + User Update (0.3ms) UPDATE `users` SET `updated_at` = '2010-12-22 05:14:01', `api_key` = '' WHERE `id` = 1 + User Load (0.5ms) SELECT `users`.* FROM `users` INNER JOIN `permissions` ON permissions.user_id = users.id WHERE (role_id = 2)  + User Load (0.4ms) SELECT `users`.* FROM `users` INNER JOIN `permissions` ON permissions.user_id = users.id WHERE (role_id = 1)  + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/users/1/edit +Completed in 10ms (DB: 65) | 302 Found [http://test.host/api_key] + User Load (0.4ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (71.4ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing AttendancesController#create (for 0.0.0.0 at 2010-12-21 22:14:01) [POST] + Parameters: {"event_id"=>"1", "user_id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.6ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + Attendance Create (0.2ms) INSERT INTO `attendances` (`created_at`, `attendee_id`, `event_id`, `updated_at`, `status`) VALUES('2010-12-22 05:14:01', 1, 1, '2010-12-22 05:14:01', NULL) + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Activity Create (0.2ms) INSERT INTO `activities` (`created_at`, `public`, `updated_at`, `action`, `user_id`, `item_id`, `item_type`) VALUES('2010-12-22 05:14:01', 1, '2010-12-22 05:14:01', NULL, 1, 6, 'Attendance') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/events/1 +Completed in 16ms (DB: 73) | 302 Found [http://test.host/attendances/create?event_id=1&user_id=1] + SQL (43.3ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.3ms) SELECT count(*) AS count_all FROM `attendances`  + + +Processing AttendancesController#destroy (for 0.0.0.0 at 2010-12-21 22:14:01) [DELETE] + Parameters: {"event_id"=>"1", "user_id"=>"3"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.5ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  + Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.`id` = 1)  + Attendance Load (0.2ms) SELECT * FROM `attendances` WHERE (`attendances`.`event_id` = 1 AND `attendances`.`attendee_id` = 3) LIMIT 1 + SQL (0.1ms) SAVEPOINT active_record_1 + Attendance Destroy (0.2ms) DELETE FROM `attendances` WHERE `id` = 2 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/events/1 +Completed in 8ms (DB: 45) | 302 Found [http://test.host/attendances/destroy?event_id=1&user_id=3] + SQL (0.2ms) SELECT count(*) AS count_all FROM `attendances`  + SQL (56.1ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing AttendancesController#index (for 0.0.0.0 at 2010-12-21 22:14:01) [GET] + Parameters: {"event_id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.`id` = 1)  +Rendering template within layouts/application +Rendering attendances/index + SQL (0.4ms) SELECT count(*) AS count_all FROM `users` INNER JOIN `attendances` ON `users`.id = `attendances`.attendee_id WHERE ((`attendances`.event_id = 1))  + User Load (1.4ms) SELECT `users`.* FROM `users` INNER JOIN `attendances` ON `users`.id = `attendances`.attendee_id WHERE ((`attendances`.event_id = 1)) ORDER BY RAND() + ProfilePhoto Load (0.1ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 3 AND (is_profile = 1)) LIMIT 1 +Rendered users/_user_brief (3.5ms) + ProfilePhoto Load (0.1ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 1 AND (is_profile = 1)) LIMIT 1 +Rendered users/_user_brief (2.3ms) +Rendered layouts/_widgets (0.1ms) + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.3ms) SELECT count(*) AS count_all FROM `blog_post_topics`  + + +Processing BlogPostTopicsController#create (for 0.0.0.0 at 2010-12-21 22:14:01) [POST] + Parameters: {"blog_post_topic"=>{}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + SQL (0.1ms) SAVEPOINT active_record_1 + BlogPostTopic Create (0.3ms) INSERT INTO `blog_post_topics` (`name`, `created_at`, `default`, `updated_at`, `user_id`, `parent_id`) VALUES(NULL, '2010-12-22 05:14:01', NULL, '2010-12-22 05:14:01', NULL, NULL) + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/blog_post_topics/3 +Completed in 11ms (DB: 3) | 302 Found [http://test.host/blog_post_topics?] + SQL (0.2ms) SELECT count(*) AS count_all FROM `blog_post_topics`  + SQL (56.4ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.2ms) SELECT count(*) AS count_all FROM `blog_post_topics`  + BlogPostTopic Load (0.2ms) SELECT * FROM `blog_post_topics` WHERE (`blog_post_topics`.`id` = 1)  + + +Processing BlogPostTopicsController#destroy (for 0.0.0.0 at 2010-12-21 22:14:01) [DELETE] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + BlogPostTopic Load (0.1ms) SELECT * FROM `blog_post_topics` WHERE (`blog_post_topics`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + blog_post_topics_blog_posts Columns (0.6ms) SHOW FIELDS FROM `blog_post_topics_blog_posts` + BlogPost Load (0.3ms) SELECT * FROM `blog_posts` INNER JOIN `blog_post_topics_blog_posts` ON `blog_posts`.id = `blog_post_topics_blog_posts`.blog_post_id WHERE (`blog_post_topics_blog_posts`.blog_post_topic_id = 1 )  + BlogPostTopic Destroy (0.2ms) DELETE FROM `blog_post_topics` WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/blog_post_topics +Completed in 5ms (DB: 59) | 302 Found [http://test.host/blog_post_topics/1] + SQL (0.1ms) SELECT count(*) AS count_all FROM `blog_post_topics`  + SQL (51.5ms) ROLLBACK + SQL (0.1ms) BEGIN + BlogPostTopic Load (0.3ms) SELECT * FROM `blog_post_topics` WHERE (`blog_post_topics`.`id` = 1)  + + +Processing BlogPostTopicsController#edit (for 0.0.0.0 at 2010-12-21 22:14:01) [GET] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + BlogPostTopic Load (0.1ms) SELECT * FROM `blog_post_topics` WHERE (`blog_post_topics`.`id` = 1)  +Rendering template within layouts/application +Rendering blog_post_topics/edit +Rendered layouts/_widgets (0.1ms) + SQL (0.3ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing BlogPostTopicsController#index (for 0.0.0.0 at 2010-12-21 22:14:01) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + BlogPostTopic Load (0.3ms) SELECT * FROM `blog_post_topics`  +Rendering template within layouts/application +Rendering blog_post_topics/index +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.0ms) BEGIN + + +Processing BlogPostTopicsController#new (for 0.0.0.0 at 2010-12-21 22:14:01) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Rendering template within layouts/application +Rendering blog_post_topics/new +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + BlogPostTopic Load (0.1ms) SELECT * FROM `blog_post_topics` WHERE (`blog_post_topics`.`id` = 1)  + + +Processing BlogPostTopicsController#show (for 0.0.0.0 at 2010-12-21 22:14:01) [GET] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + BlogPostTopic Load (0.1ms) SELECT * FROM `blog_post_topics` WHERE (`blog_post_topics`.`id` = 1)  +Rendering template within layouts/application +Rendering blog_post_topics/show +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.0ms) BEGIN + BlogPostTopic Load (0.1ms) SELECT * FROM `blog_post_topics` WHERE (`blog_post_topics`.`id` = 1)  + + +Processing BlogPostTopicsController#update (for 0.0.0.0 at 2010-12-21 22:14:02) [PUT] + Parameters: {"blog_post_topic"=>{}, "id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + BlogPostTopic Load (0.1ms) SELECT * FROM `blog_post_topics` WHERE (`blog_post_topics`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/blog_post_topics/1 +Completed in 4ms (DB: 1) | 302 Found [http://test.host/blog_post_topics/1?] + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (0.2ms) SELECT count(*) AS count_all FROM `blog_posts`  + + +Processing BlogPostsController#create (for 0.0.0.0 at 2010-12-21 22:14:02) [POST] + Parameters: {"blog_post"=>{"title"=>"Test Post", "body"=>"my test post", "featured"=>false, "published"=>true, "user_id"=>1}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.6ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + SQL (0.1ms) SAVEPOINT active_record_1 + BlogPost Create (0.3ms) INSERT INTO `blog_posts` (`created_at`, `title`, `body`, `guid`, `published`, `featured`, `updated_at`, `url`, `views`, `user_id`, `parent_id`, `summary`, `published_at`) VALUES('2010-12-22 05:14:02', 'Test Post', 'my test post', NULL, 1, 0, '2010-12-22 05:14:02', NULL, 0, 1, NULL, NULL, NULL) + Activity Create (0.2ms) INSERT INTO `activities` (`created_at`, `public`, `updated_at`, `action`, `user_id`, `item_id`, `item_type`) VALUES('2010-12-22 05:14:02', 1, '2010-12-22 05:14:02', NULL, 1, 8, 'BlogPost') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + BlogPostTopic Load (0.3ms) SELECT * FROM `blog_post_topics` INNER JOIN `blog_post_topics_blog_posts` ON `blog_post_topics`.id = `blog_post_topics_blog_posts`.blog_post_topic_id WHERE (`blog_post_topics_blog_posts`.blog_post_id = 8 )  + SQL (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/blog_posts/8 +Completed in 18ms (DB: 2) | 302 Found [http://test.host/blog_posts?blog_post%5Bbody%5D=my+test+post&blog_post%5Bfeatured%5D=false&blog_post%5Bpublished%5D=true&blog_post%5Btitle%5D=Test+Post&blog_post%5Buser_id%5D=1] + SQL (0.2ms) SELECT count(*) AS count_all FROM `blog_posts`  + SQL (68.3ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (0.2ms) SELECT count(*) AS count_all FROM `blog_posts`  + BlogPost Load (0.2ms) SELECT * FROM `blog_posts` WHERE (`blog_posts`.`id` = 1)  + + +Processing BlogPostsController#destroy (for 0.0.0.0 at 2010-12-21 22:14:02) [DELETE] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + BlogPost Load (0.1ms) SELECT * FROM `blog_posts` WHERE (`blog_posts`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + Comment Load (0.4ms) SELECT * FROM `comments` WHERE (`comments`.commentable_id = 1 AND `comments`.commentable_type = 'BlogPost') ORDER BY created_at ASC + Tagging Load (0.3ms) SELECT * FROM `taggings` WHERE (`taggings`.taggable_id = 1 AND `taggings`.taggable_type = 'BlogPost' AND (context = 'tags'))  + Tagging Load (0.2ms) SELECT * FROM `taggings` WHERE (`taggings`.taggable_id = 1 AND `taggings`.taggable_type = 'BlogPost')  + BlogPostTopic Load (0.2ms) SELECT * FROM `blog_post_topics` INNER JOIN `blog_post_topics_blog_posts` ON `blog_post_topics`.id = `blog_post_topics_blog_posts`.blog_post_topic_id WHERE (`blog_post_topics_blog_posts`.blog_post_id = 1 )  + BlogPost Destroy (0.2ms) DELETE FROM `blog_posts` WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/blog_posts +Completed in 10ms (DB: 71) | 302 Found [http://test.host/blog_posts/1] + SQL (0.2ms) SELECT count(*) AS count_all FROM `blog_posts`  + SQL (37.5ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + BlogPost Load (0.3ms) SELECT * FROM `blog_posts` WHERE (`blog_posts`.`id` = 1)  + + +Processing BlogPostsController#edit (for 0.0.0.0 at 2010-12-21 22:14:02) [GET] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + BlogPost Load (0.1ms) SELECT * FROM `blog_posts` WHERE (`blog_posts`.`id` = 1)  + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + BlogPost Load (0.1ms) SELECT * FROM `blog_posts` WHERE (`blog_posts`.`id` = 1)  +Rendering template within layouts/application + BlogPostTopic Load (0.4ms) SELECT * FROM `blog_post_topics` WHERE (`blog_post_topics`.user_id = 1)  + BlogPostTopic Load (0.1ms) SELECT * FROM `blog_post_topics` INNER JOIN `blog_post_topics_blog_posts` ON `blog_post_topics`.id = `blog_post_topics_blog_posts`.blog_post_topic_id WHERE (`blog_post_topics_blog_posts`.blog_post_id = 1 )  +Rendered blog_posts/_blog_post_topic_list (2.5ms) + Tag Load (0.3ms) SELECT `tags`.* FROM `tags` INNER JOIN `taggings` ON `tags`.id = `taggings`.tag_id WHERE ((`taggings`.taggable_id = 1) AND (`taggings`.taggable_type = 'BlogPost') AND (context = 'tags'))  +Rendered blog_posts/_blog_post_form (9.1ms) +Rendered blog_posts/_blog_posts_edit (11.3ms) +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + + +Processing BlogPostsController#index (for 0.0.0.0 at 2010-12-21 22:14:02) [GET] + Theme Load (0.2ms) SELECT * FROM `themes` LIMIT 1 + BlogPost Load (0.4ms) SELECT * FROM `blog_posts` ORDER BY created_at DESC LIMIT 0, 6 + SQL (0.2ms) SELECT count(*) AS count_all FROM `blog_posts` WHERE (published = true)  +Rendering template within layouts/application +Rendering blog_posts/blog_posts_list + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + ProfilePhoto Load (0.1ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 1 AND (is_profile = 1)) LIMIT 1 + Role Load (0.4ms) SELECT `roles`.* FROM `roles` INNER JOIN `permissions` ON `roles`.id = `permissions`.role_id WHERE ((`permissions`.user_id = 1))  +Rendered blog_posts/_blog_post_brief (9.3ms) + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + ProfilePhoto Load (0.1ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 1 AND (is_profile = 1)) LIMIT 1 +Rendered blog_posts/_blog_post_brief (5.9ms) + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + ProfilePhoto Load (0.1ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 1 AND (is_profile = 1)) LIMIT 1 +Rendered blog_posts/_blog_post_brief (6.1ms) +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + + +Processing BlogPostsController#new (for 0.0.0.0 at 2010-12-21 22:14:02) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 +Rendering template within layouts/application + BlogPostTopic Load (0.1ms) SELECT * FROM `blog_post_topics` WHERE (`blog_post_topics`.user_id = 1)  +Rendered blog_posts/_blog_post_topic_list (1.8ms) + Tag Load (0.3ms) SELECT `tags`.* FROM `tags` INNER JOIN `taggings` ON `tags`.id = `taggings`.tag_id WHERE ((`taggings`.taggable_id = NULL) AND (`taggings`.taggable_type = 'BlogPost') AND (context = 'tags'))  +Rendered blog_posts/_blog_post_form (6.5ms) +Rendered blog_posts/_blog_posts_edit (7.9ms) +Rendered layouts/_widgets (0.1ms) + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + BlogPost Load (0.1ms) SELECT * FROM `blog_posts` WHERE (`blog_posts`.`id` = 1)  + + +Processing BlogPostsController#show (for 0.0.0.0 at 2010-12-21 22:14:02) [GET] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + BlogPost Load (0.1ms) SELECT * FROM `blog_posts` WHERE (`blog_posts`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + BlogPost Update (0.3ms) UPDATE `blog_posts` SET `views` = 1, `updated_at` = '2010-12-22 05:14:02' WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Rendering template within layouts/application +Rendering blog_posts/blog_posts_show + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + ProfilePhoto Load (0.1ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 1 AND (is_profile = 1)) LIMIT 1 + Tag Load (0.1ms) SELECT `tags`.* FROM `tags` INNER JOIN `taggings` ON `tags`.id = `taggings`.tag_id WHERE ((`taggings`.taggable_id = 1) AND (`taggings`.taggable_type = 'BlogPost') AND (context = 'tags'))  + Comment Load (0.1ms) SELECT * FROM `comments` WHERE (`comments`.commentable_id = 1 AND `comments`.commentable_type = 'BlogPost') ORDER BY created_at ASC +Rendered blog_posts/_blog_post_comments (1.6ms) +Rendered blog_posts/_blog_post_comment_form (1.4ms) +Rendered layouts/_widgets (0.1ms) + SQL (45.3ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + BlogPost Load (0.3ms) SELECT * FROM `blog_posts` WHERE (`blog_posts`.`id` = 1)  + + +Processing BlogPostsController#update (for 0.0.0.0 at 2010-12-21 22:14:02) [PUT] + Parameters: {"id"=>"1", "blog_post"=>{}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + BlogPost Load (0.1ms) SELECT * FROM `blog_posts` WHERE (`blog_posts`.`id` = 1)  + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + BlogPost Load (0.1ms) SELECT * FROM `blog_posts` WHERE (`blog_posts`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + BlogPostTopic Load (0.1ms) SELECT * FROM `blog_post_topics` INNER JOIN `blog_post_topics_blog_posts` ON `blog_post_topics`.id = `blog_post_topics_blog_posts`.blog_post_topic_id WHERE (`blog_post_topics_blog_posts`.blog_post_id = 1 )  + SQL (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/blog_posts/1 +Completed in 9ms (DB: 47) | 302 Found [http://test.host/blog_posts/1?] + SQL (0.1ms) ROLLBACK + SQL (0.0ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (0.2ms) SELECT count(*) AS count_all FROM `book_reviews`  + + +Processing BookReviewsController#create (for 0.0.0.0 at 2010-12-21 22:14:02) [POST] + Parameters: {"book_review"=>{"name"=>"Test Review", "featured"=>false, "user_id"=>1, "publisher"=>"Marvel", "website"=>"website.com"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + SQL (0.1ms) SAVEPOINT active_record_1 + BookReview Create (0.3ms) INSERT INTO `book_reviews` (`name`, `buy_link`, `created_at`, `image_url`, `featured`, `updated_at`, `review`, `publisher`, `user_id`, `website`, `release_date`) VALUES('Test Review', NULL, '2010-12-22 05:14:02', NULL, 0, '2010-12-22 05:14:02', NULL, 'Marvel', 1, 'website.com', NULL) + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Activity Create (0.2ms) INSERT INTO `activities` (`created_at`, `public`, `updated_at`, `action`, `user_id`, `item_id`, `item_type`) VALUES('2010-12-22 05:14:02', 1, '2010-12-22 05:14:02', NULL, 1, 4, 'BookReview') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/book_reviews/4 +Completed in 21ms (DB: 2) | 302 Found [http://test.host/book_reviews?book_review%5Bfeatured%5D=false&book_review%5Bname%5D=Test+Review&book_review%5Bpublisher%5D=Marvel&book_review%5Buser_id%5D=1&book_review%5Bwebsite%5D=website.com] + SQL (0.2ms) SELECT count(*) AS count_all FROM `book_reviews`  + SQL (80.9ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (0.2ms) SELECT count(*) AS count_all FROM `book_reviews`  + BookReview Load (0.2ms) SELECT * FROM `book_reviews` WHERE (`book_reviews`.`id` = 1)  + + +Processing BookReviewsController#destroy (for 0.0.0.0 at 2010-12-21 22:14:02) [DELETE] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + BookReview Load (0.1ms) SELECT * FROM `book_reviews` WHERE (`book_reviews`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + Tagging Load (0.4ms) SELECT * FROM `taggings` WHERE (`taggings`.taggable_id = 1 AND `taggings`.taggable_type = 'BookReview' AND (context = 'tags'))  + Tagging Load (0.2ms) SELECT * FROM `taggings` WHERE (`taggings`.taggable_id = 1 AND `taggings`.taggable_type = 'BookReview')  + BookReview Destroy (0.2ms) DELETE FROM `book_reviews` WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/book_reviews +Completed in 6ms (DB: 83) | 302 Found [http://test.host/book_reviews/1] + SQL (0.2ms) SELECT count(*) AS count_all FROM `book_reviews`  + SQL (41.3ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + BookReview Load (0.3ms) SELECT * FROM `book_reviews` WHERE (`book_reviews`.`id` = 1)  + + +Processing BookReviewsController#edit (for 0.0.0.0 at 2010-12-21 22:14:02) [GET] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + BookReview Load (0.1ms) SELECT * FROM `book_reviews` WHERE (`book_reviews`.`id` = 1)  +Rendering template within layouts/application +Rendering book_reviews/edit +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing BookReviewsController#index (for 0.0.0.0 at 2010-12-21 22:14:02) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + BookReview Load (0.3ms) SELECT * FROM `book_reviews`  +Rendering template within layouts/application +Rendering book_reviews/index +Rendered book_reviews/_book_review_brief (0.5ms) +Rendered book_reviews/_book_review_brief (0.2ms) +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + + +Processing BookReviewsController#new (for 0.0.0.0 at 2010-12-21 22:14:03) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 +Rendering template within layouts/application +Rendering book_reviews/new +Rendered book_reviews/_book_review_form (5.5ms) +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + BookReview Load (0.1ms) SELECT * FROM `book_reviews` WHERE (`book_reviews`.`id` = 1)  + + +Processing BookReviewsController#show (for 0.0.0.0 at 2010-12-21 22:14:03) [GET] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + BookReview Load (0.1ms) SELECT * FROM `book_reviews` WHERE (`book_reviews`.`id` = 1)  +Rendering template within layouts/application +Rendering book_reviews/show +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.0ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + BookReview Load (0.1ms) SELECT * FROM `book_reviews` WHERE (`book_reviews`.`id` = 1)  + + +Processing BookReviewsController#update (for 0.0.0.0 at 2010-12-21 22:14:03) [PUT] + Parameters: {"book_review"=>{}, "id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + BookReview Load (0.1ms) SELECT * FROM `book_reviews` WHERE (`book_reviews`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/book_reviews/1 +Completed in 6ms (DB: 1) | 302 Found [http://test.host/book_reviews/1?] + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.2ms) SELECT count(*) AS count_all FROM `bug_reports`  + + +Processing BugReportsController#create (for 0.0.0.0 at 2010-12-21 22:14:03) [POST] + Parameters: {"bug_report"=>{"comment"=>"test comment", "title"=>"Test Bug", "module"=>"test module", "resolved"=>false, "priority"=>"high", "user_id"=>1, "description"=>"This is a bug", "browser"=>"IE"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + SQL (0.1ms) SAVEPOINT active_record_1 + BugReport Create (0.3ms) INSERT INTO `bug_reports` (`comment`, `created_at`, `title`, `module`, `resolution_date`, `updated_at`, `resolved`, `priority`, `user_id`, `browser`, `description`) VALUES('test comment', '2010-12-22 05:14:03', 'Test Bug', 'test module', NULL, '2010-12-22 05:14:03', 0, 'high', 1, 'IE', 'This is a bug') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/bug_reports +Completed in 13ms (DB: 1) | 302 Found [http://test.host/bug_reports?bug_report%5Bbrowser%5D=IE&bug_report%5Bcomment%5D=test+comment&bug_report%5Bdescription%5D=This+is+a+bug&bug_report%5Bmodule%5D=test+module&bug_report%5Bpriority%5D=high&bug_report%5Bresolved%5D=false&bug_report%5Btitle%5D=Test+Bug&bug_report%5Buser_id%5D=1] + SQL (0.2ms) SELECT count(*) AS count_all FROM `bug_reports`  + SQL (43.9ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.2ms) SELECT count(*) AS count_all FROM `bug_reports`  + BugReport Load (0.2ms) SELECT * FROM `bug_reports` WHERE (`bug_reports`.`id` = 1)  + + +Processing BugReportsController#destroy (for 0.0.0.0 at 2010-12-21 22:14:03) [DELETE] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + BugReport Load (0.1ms) SELECT * FROM `bug_reports` WHERE (`bug_reports`.`id` = 1)  + SQL (0.2ms) SAVEPOINT active_record_1 + BugReport Destroy (0.2ms) DELETE FROM `bug_reports` WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/bug_reports +Completed in 4ms (DB: 45) | 302 Found [http://test.host/bug_reports/1] + SQL (0.3ms) SELECT count(*) AS count_all FROM `bug_reports`  + SQL (29.0ms) ROLLBACK + SQL (0.1ms) BEGIN + BugReport Load (0.3ms) SELECT * FROM `bug_reports` WHERE (`bug_reports`.`id` = 1)  + + +Processing BugReportsController#edit (for 0.0.0.0 at 2010-12-21 22:14:03) [GET] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + BugReport Load (0.1ms) SELECT * FROM `bug_reports` WHERE (`bug_reports`.`id` = 1)  +Rendering template within layouts/application +Rendering bug_reports/edit +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing BugReportsController#index (for 0.0.0.0 at 2010-12-21 22:14:03) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + BugReport Load (0.4ms) SELECT * FROM `bug_reports`  +Rendering template within layouts/application +Rendering bug_reports/index +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.0ms) BEGIN + + +Processing BugReportsController#new (for 0.0.0.0 at 2010-12-21 22:14:03) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Rendering template within layouts/application +Rendering bug_reports/new +Rendered bug_reports/_bug_report_form (3.7ms) +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + BugReport Load (0.1ms) SELECT * FROM `bug_reports` WHERE (`bug_reports`.`id` = 1)  + + +Processing BugReportsController#show (for 0.0.0.0 at 2010-12-21 22:14:03) [GET] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + BugReport Load (0.1ms) SELECT * FROM `bug_reports` WHERE (`bug_reports`.`id` = 1)  +Rendering template within layouts/application +Rendering bug_reports/show +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + BugReport Load (0.1ms) SELECT * FROM `bug_reports` WHERE (`bug_reports`.`id` = 1)  + + +Processing BugReportsController#update (for 0.0.0.0 at 2010-12-21 22:14:03) [PUT] + Parameters: {"bug_report"=>{"comment"=>"comment", "title"=>"Test Bug Report", "resolved"=>false, "user_id"=>nil, "description"=>"I am reporting a bug", "browser"=>"FIREFOX"}, "id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + BugReport Load (0.1ms) SELECT * FROM `bug_reports` WHERE (`bug_reports`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + BugReport Update (0.3ms) UPDATE `bug_reports` SET `updated_at` = '2010-12-22 05:14:03', `resolved` = 0, `comment` = 'comment', `title` = 'Test Bug Report', `browser` = 'FIREFOX', `description` = 'I am reporting a bug' WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/bug_reports/1 +Completed in 5ms (DB: 1) | 302 Found [http://test.host/bug_reports/1?bug_report%5Bbrowser%5D=FIREFOX&bug_report%5Bcomment%5D=comment&bug_report%5Bdescription%5D=I+am+reporting+a+bug&bug_report%5Bresolved%5D=false&bug_report%5Btitle%5D=Test+Bug+Report&bug_report%5Buser_id%5D=] + SQL (45.3ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (0.2ms) SELECT count(*) AS count_all FROM `classifieds`  + + +Processing ClassifiedsController#create (for 0.0.0.0 at 2010-12-21 22:14:03) [POST] + Parameters: {"classified"=>{"title"=>"Test Classified", "user_id"=>1}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + SQL (0.1ms) SAVEPOINT active_record_1 + Classified Create (0.2ms) INSERT INTO `classifieds` (`created_at`, `title`, `updated_at`, `user_id`, `classified_category_id`, `description`) VALUES('2010-12-22 05:14:03', 'Test Classified', '2010-12-22 05:14:03', 1, NULL, NULL) + Activity Create (0.2ms) INSERT INTO `activities` (`created_at`, `public`, `updated_at`, `action`, `user_id`, `item_id`, `item_type`) VALUES('2010-12-22 05:14:03', 1, '2010-12-22 05:14:03', NULL, 1, 3, 'Classified') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/classifieds +Completed in 15ms (DB: 47) | 302 Found [http://test.host/classifieds?classified%5Btitle%5D=Test+Classified&classified%5Buser_id%5D=1] + SQL (0.2ms) SELECT count(*) AS count_all FROM `classifieds`  + SQL (58.0ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (0.2ms) SELECT count(*) AS count_all FROM `classifieds`  + Classified Load (0.2ms) SELECT * FROM `classifieds` WHERE (`classifieds`.`id` = 1)  + + +Processing ClassifiedsController#destroy (for 0.0.0.0 at 2010-12-21 22:14:04) [DELETE] + Parameters: {"id"=>"1"} + Theme Load (0.3ms) SELECT * FROM `themes` LIMIT 1 + Classified Load (0.1ms) SELECT * FROM `classifieds` WHERE (`classifieds`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + Classified Destroy (0.2ms) DELETE FROM `classifieds` WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/classifieds +Completed in 4ms (DB: 60) | 302 Found [http://test.host/classifieds/1] + SQL (0.2ms) SELECT count(*) AS count_all FROM `classifieds`  + SQL (41.5ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Classified Load (0.3ms) SELECT * FROM `classifieds` WHERE (`classifieds`.`id` = 1)  + + +Processing ClassifiedsController#edit (for 0.0.0.0 at 2010-12-21 22:14:04) [GET] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + Classified Load (0.1ms) SELECT * FROM `classifieds` WHERE (`classifieds`.`id` = 1)  +Rendering template within layouts/application +Rendering classifieds/edit +Rendered classifieds/_classified_form (3.3ms) +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + + +Processing ClassifiedsController#index (for 0.0.0.0 at 2010-12-21 22:14:04) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + Classified Load (0.3ms) SELECT * FROM `classifieds` ORDER BY created_at DESC +Rendering template within layouts/application +Rendering classifieds/classifieds_list + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 +Rendered classifieds/_classified_brief (1.0ms) + Role Load (0.1ms) SELECT `roles`.* FROM `roles` INNER JOIN `permissions` ON `roles`.id = `permissions`.role_id WHERE ((`permissions`.user_id = 1))  +Rendered classifieds/_classified_brief (0.3ms) +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.0ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + + +Processing ClassifiedsController#new (for 0.0.0.0 at 2010-12-21 22:14:04) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 +Rendering template within layouts/application +Rendering classifieds/new +Rendered classifieds/_classified_form (1.9ms) +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Classified Load (0.1ms) SELECT * FROM `classifieds` WHERE (`classifieds`.`id` = 1)  + + +Processing ClassifiedsController#show (for 0.0.0.0 at 2010-12-21 22:14:04) [GET] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + Classified Load (0.1ms) SELECT * FROM `classifieds` WHERE (`classifieds`.`id` = 1)  +Rendering template within layouts/application +Rendering classifieds/classifieds_show + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 +Rendered classifieds/_classified_brief (0.4ms) + Role Load (0.1ms) SELECT `roles`.* FROM `roles` INNER JOIN `permissions` ON `roles`.id = `permissions`.role_id WHERE ((`permissions`.user_id = 1))  +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Classified Load (0.1ms) SELECT * FROM `classifieds` WHERE (`classifieds`.`id` = 1)  + + +Processing ClassifiedsController#update (for 0.0.0.0 at 2010-12-21 22:14:04) [PUT] + Parameters: {"id"=>"1", "classified"=>{"title"=>"Test Updated Classified", "user_id"=>1}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + Classified Load (0.1ms) SELECT * FROM `classifieds` WHERE (`classifieds`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + Classified Update (0.3ms) UPDATE `classifieds` SET `updated_at` = '2010-12-22 05:14:04', `title` = 'Test Updated Classified' WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/classifieds/1 +Completed in 7ms (DB: 2) | 302 Found [http://test.host/classifieds/1?classified%5Btitle%5D=Test+Updated+Classified&classified%5Buser_id%5D=1] + SQL (47.9ms) ROLLBACK + SQL (0.1ms) BEGIN + Document Columns (1.0ms) SHOW FIELDS FROM `documents` + SQL (0.2ms) SELECT count(*) AS count_all FROM `documents`  + + +Processing DocumentsController#create (for 0.0.0.0 at 2010-12-21 22:14:04) [POST] + Parameters: {"document"=>{}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + SQL (0.1ms) SAVEPOINT active_record_1 + Document Create (0.3ms) INSERT INTO `documents` (`created_at`, `document_file_size`, `event_id`, `document_file_name`, `updated_at`, `document_updated_at`, `group_id`, `user_id`, `document_content_type`) VALUES('2010-12-22 05:14:04', NULL, NULL, NULL, '2010-12-22 05:14:04', NULL, NULL, NULL, NULL) + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/documents/1 +Completed in 13ms (DB: 50) | 302 Found [http://test.host/documents?] + SQL (0.2ms) SELECT count(*) AS count_all FROM `documents`  + SQL (41.3ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.3ms) SELECT count(*) AS count_all FROM `documents`  + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing DocumentsController#index (for 0.0.0.0 at 2010-12-21 22:14:04) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + Document Load (0.3ms) SELECT * FROM `documents`  +Rendering template within layouts/application +Rendering documents/index +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing DocumentsController#new (for 0.0.0.0 at 2010-12-21 22:14:04) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Rendering template within layouts/application +Rendering documents/new +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.1ms) ROLLBACK + SQL (0.0ms) BEGIN + EventReview Columns (0.6ms) SHOW FIELDS FROM `event_reviews` + SQL (0.2ms) SELECT count(*) AS count_all FROM `event_reviews`  + + +Processing EventReviewsController#create (for 0.0.0.0 at 2010-12-21 22:14:04) [POST] + Parameters: {"event_review"=>{}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + SQL (0.2ms) SAVEPOINT active_record_1 + EventReview Create (0.2ms) INSERT INTO `event_reviews` (`created_at`, `updated_at`) VALUES('2010-12-22 05:14:04', '2010-12-22 05:14:04') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/event_reviews/1 +Completed in 13ms (DB: 2) | 302 Found [http://test.host/event_reviews?] + SQL (0.2ms) SELECT count(*) AS count_all FROM `event_reviews`  + SQL (33.3ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.2ms) SELECT count(*) AS count_all FROM `event_reviews`  + SQL (0.1ms) ROLLBACK + SQL (0.0ms) BEGIN + SQL (0.1ms) ROLLBACK + SQL (0.0ms) BEGIN + + +Processing EventReviewsController#index (for 0.0.0.0 at 2010-12-21 22:14:05) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + EventReview Load (0.3ms) SELECT * FROM `event_reviews`  +Rendering template within layouts/application +Rendering event_reviews/index +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing EventReviewsController#new (for 0.0.0.0 at 2010-12-21 22:14:05) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Rendering template within layouts/application +Rendering event_reviews/new +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.0ms) BEGIN + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (0.1ms) SELECT count(*) AS count_all FROM `events`  + + +Processing EventsController#create (for 0.0.0.0 at 2010-12-21 22:14:05) [POST] + Parameters: {"event"=>{"city"=>"Detroit", "name"=>"Test Event", "end_time"=>Tue Dec 21 22:14:05 -0700 2010, "organized_by"=>"test dude", "location"=>"Compuware HQ", "street"=>"Fort", "user_id"=>1, "website"=>"website.com", "phone"=>"555-1212", "description"=>"Event Desc", "event_type"=>"party", "start_time"=>Tue Dec 21 22:14:05 -0700 2010}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (0.1ms) SELECT count(*) AS count_all FROM `events`  + Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.`id` = 1)  + + +Processing EventsController#destroy (for 0.0.0.0 at 2010-12-21 22:14:09) [DELETE] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + Attendance Load (0.3ms) SELECT * FROM `attendances` WHERE (`attendances`.event_id = 1)  + Attendance Destroy (0.2ms) DELETE FROM `attendances` WHERE `id` = 1 + Attendance Destroy (0.1ms) DELETE FROM `attendances` WHERE `id` = 2 + Event Destroy (0.1ms) DELETE FROM `events` WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/events +Completed in 5ms (DB: 3) | 302 Found [http://test.host/events/1] + SQL (0.2ms) SELECT count(*) AS count_all FROM `events`  + SQL (44.4ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Event Load (0.5ms) SELECT * FROM `events` WHERE (`events`.`id` = 1)  + + +Processing EventsController#edit (for 0.0.0.0 at 2010-12-21 22:14:09) [GET] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.`id` = 1)  + Location Load (0.1ms) SELECT * FROM `locations` ORDER BY name +Rendering template within layouts/application +Rendering events/edit +Rendered events/_event_form (22.1ms) +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + + +Processing EventsController#index (for 0.0.0.0 at 2010-12-21 22:14:09) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + Event Load (0.5ms) SELECT * FROM `events` WHERE (start_time>now()) ORDER BY start_time ASC +Rendering template within layouts/application +Rendering events/index + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + ProfilePhoto Load (0.4ms) SELECT * FROM `photos` WHERE (`photos`.event_id = 1) LIMIT 1 + Location Load (0.1ms) SELECT * FROM `locations` WHERE (`locations`.`id` = 657069860)  + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + + +Processing EventsController#new (for 0.0.0.0 at 2010-12-21 22:14:09) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + Location Load (0.1ms) SELECT * FROM `locations` ORDER BY name +Rendering template within layouts/application +Rendering events/new +Rendered events/_event_form (19.8ms) +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.`id` = 1)  + + +Processing EventsController#show (for 0.0.0.0 at 2010-12-21 22:14:09) [GET] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.`id` = 1)  +Rendering template within layouts/application +Rendering events/show + ProfilePhoto Load (0.2ms) SELECT * FROM `photos` WHERE (`photos`.event_id = 1) LIMIT 1 + Location Load (0.1ms) SELECT * FROM `locations` WHERE (`locations`.`id` = 657069860)  + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.`id` = 1)  + + +Processing EventsController#update (for 0.0.0.0 at 2010-12-21 22:14:09) [PUT] + Parameters: {"id"=>"1", "event"=>{"city"=>"Detroit", "name"=>"Test Event", "end_time"=>Tue Dec 21 22:14:09 -0700 2010, "organized_by"=>"test dude", "location"=>"Compuware HQ", "street"=>"Fort", "user_id"=>1, "website"=>"website.com", "phone"=>"555-1212", "description"=>"Event Desc", "event_type"=>"party", "start_time"=>Tue Dec 21 22:14:09 -0700 2010}} + Theme Load (0.2ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.`id` = 1)  + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + EyModule Columns (0.8ms) SHOW FIELDS FROM `ey_modules` + SQL (0.2ms) SELECT count(*) AS count_all FROM `ey_modules`  + + +Processing EyModulesController#create (for 0.0.0.0 at 2010-12-21 22:14:09) [POST] + Parameters: {"ey_module"=>{}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + SQL (0.1ms) SAVEPOINT active_record_1 + EyModule Create (0.3ms) INSERT INTO `ey_modules` (`name`, `created_at`, `updated_at`, `active`) VALUES(NULL, '2010-12-22 05:14:09', '2010-12-22 05:14:09', 1) + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/ey_modules/1 +Completed in 12ms (DB: 3) | 302 Found [http://test.host/ey_modules?] + SQL (0.3ms) SELECT count(*) AS count_all FROM `ey_modules`  + SQL (37.0ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.2ms) SELECT count(*) AS count_all FROM `ey_modules`  + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.0ms) ROLLBACK + SQL (0.0ms) BEGIN + + +Processing EyModulesController#index (for 0.0.0.0 at 2010-12-21 22:14:09) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + EyModule Load (0.2ms) SELECT * FROM `ey_modules`  +Rendering template within layouts/application +Rendering ey_modules/index +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing EyModulesController#new (for 0.0.0.0 at 2010-12-21 22:14:09) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Rendering template within layouts/application +Rendering ey_modules/new +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.1ms) ROLLBACK + SQL (0.0ms) BEGIN + SQL (0.0ms) ROLLBACK + SQL (0.0ms) BEGIN + SQL (0.3ms) SELECT count(*) AS count_all FROM `facebook_posts`  + + +Processing FacebookPostsController#create (for 0.0.0.0 at 2010-12-21 22:14:10) [POST] + Parameters: {"facebook_post"=>{}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + SQL (0.1ms) SAVEPOINT active_record_1 + FacebookPost Create (0.2ms) INSERT INTO `facebook_posts` (`created_at`, `updated_at`) VALUES('2010-12-22 05:14:10', '2010-12-22 05:14:10') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/facebook_posts/3 +Completed in 11ms (DB: 1) | 302 Found [http://test.host/facebook_posts?] + SQL (0.2ms) SELECT count(*) AS count_all FROM `facebook_posts`  + SQL (68.3ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.2ms) SELECT count(*) AS count_all FROM `facebook_posts`  + FacebookPost Load (0.2ms) SELECT * FROM `facebook_posts` WHERE (`facebook_posts`.`id` = 1)  + + +Processing FacebookPostsController#destroy (for 0.0.0.0 at 2010-12-21 22:14:10) [DELETE] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + FacebookPost Load (0.1ms) SELECT * FROM `facebook_posts` WHERE (`facebook_posts`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + FacebookPost Destroy (0.2ms) DELETE FROM `facebook_posts` WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/facebook_posts +Completed in 6ms (DB: 70) | 302 Found [http://test.host/facebook_posts/1] + SQL (0.2ms) SELECT count(*) AS count_all FROM `facebook_posts`  + SQL (42.5ms) ROLLBACK + SQL (0.1ms) BEGIN + FacebookPost Load (0.2ms) SELECT * FROM `facebook_posts` WHERE (`facebook_posts`.`id` = 1)  + + +Processing FacebookPostsController#edit (for 0.0.0.0 at 2010-12-21 22:14:10) [GET] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + FacebookPost Load (0.1ms) SELECT * FROM `facebook_posts` WHERE (`facebook_posts`.`id` = 1)  +Rendering template within layouts/application +Rendering facebook_posts/edit +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing FacebookPostsController#index (for 0.0.0.0 at 2010-12-21 22:14:10) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + FacebookPost Load (0.3ms) SELECT * FROM `facebook_posts`  +Rendering template within layouts/application +Rendering facebook_posts/index +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing FacebookPostsController#new (for 0.0.0.0 at 2010-12-21 22:14:10) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Rendering template within layouts/application +Rendering facebook_posts/new +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + FacebookPost Load (0.1ms) SELECT * FROM `facebook_posts` WHERE (`facebook_posts`.`id` = 1)  + + +Processing FacebookPostsController#show (for 0.0.0.0 at 2010-12-21 22:14:10) [GET] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + FacebookPost Load (0.1ms) SELECT * FROM `facebook_posts` WHERE (`facebook_posts`.`id` = 1)  +Rendering template within layouts/application +Rendering facebook_posts/show +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + FacebookPost Load (0.1ms) SELECT * FROM `facebook_posts` WHERE (`facebook_posts`.`id` = 1)  + + +Processing FacebookPostsController#update (for 0.0.0.0 at 2010-12-21 22:14:10) [PUT] + Parameters: {"id"=>"1", "facebook_post"=>{}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + FacebookPost Load (0.1ms) SELECT * FROM `facebook_posts` WHERE (`facebook_posts`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/facebook_posts/1 +Completed in 144ms (DB: 1) | 302 Found [http://test.host/facebook_posts/1?] + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.3ms) SELECT count(*) AS count_all FROM `feeds`  + + +Processing FeedsController#create (for 0.0.0.0 at 2010-12-21 22:14:10) [POST] + Parameters: {"feed"=>{}} + Theme Load (0.2ms) SELECT * FROM `themes` LIMIT 1 + SQL (0.1ms) SAVEPOINT active_record_1 + Feed Create (0.2ms) INSERT INTO `feeds` (`created_at`, `updated_at`) VALUES('2010-12-22 05:14:10', '2010-12-22 05:14:10') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/feeds/3 +Completed in 14ms (DB: 1) | 302 Found [http://test.host/feeds?] + SQL (0.3ms) SELECT count(*) AS count_all FROM `feeds`  + SQL (40.9ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.3ms) SELECT count(*) AS count_all FROM `feeds`  + Feed Load (0.2ms) SELECT * FROM `feeds` WHERE (`feeds`.`id` = 1)  + + +Processing FeedsController#destroy (for 0.0.0.0 at 2010-12-21 22:14:10) [DELETE] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + Feed Load (0.1ms) SELECT * FROM `feeds` WHERE (`feeds`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + Feed Destroy (0.2ms) DELETE FROM `feeds` WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/feeds +Completed in 4ms (DB: 42) | 302 Found [http://test.host/feeds/1] + SQL (0.2ms) SELECT count(*) AS count_all FROM `feeds`  + SQL (51.7ms) ROLLBACK + SQL (0.1ms) BEGIN + Feed Load (0.3ms) SELECT * FROM `feeds` WHERE (`feeds`.`id` = 1)  + + +Processing FeedsController#edit (for 0.0.0.0 at 2010-12-21 22:14:10) [GET] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + Feed Load (0.1ms) SELECT * FROM `feeds` WHERE (`feeds`.`id` = 1)  +Rendering template within layouts/application +Rendering feeds/edit +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing FeedsController#index (for 0.0.0.0 at 2010-12-21 22:14:10) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + Feed Load (0.3ms) SELECT * FROM `feeds`  +Rendering template within layouts/application +Rendering feeds/index +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing FeedsController#new (for 0.0.0.0 at 2010-12-21 22:14:10) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Rendering template within layouts/application +Rendering feeds/new +Rendered layouts/_widgets (0.2ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + Feed Load (0.1ms) SELECT * FROM `feeds` WHERE (`feeds`.`id` = 1)  + + +Processing FeedsController#update (for 0.0.0.0 at 2010-12-21 22:14:11) [PUT] + Parameters: {"id"=>"1", "feed"=>{}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + Feed Load (0.1ms) SELECT * FROM `feeds` WHERE (`feeds`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/feeds/1 +Completed in 4ms (DB: 1) | 302 Found [http://test.host/feeds/1?] + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (0.2ms) SELECT count(*) AS count_all FROM `follows`  + + +Processing FollowsController#create (for 0.0.0.0 at 2010-12-21 22:14:11) [POST] + Parameters: {"follow"=>{}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + SQL (0.1ms) SAVEPOINT active_record_1 + Follow Create (0.3ms) INSERT INTO `follows` (`created_at`, `updated_at`, `follower_id`, `followee_id`) VALUES('2010-12-22 05:14:11', '2010-12-22 05:14:11', 1, NULL) + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (71.6ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (0.2ms) SELECT count(*) AS count_all FROM `follows`  + Follow Load (0.2ms) SELECT * FROM `follows` WHERE (`follows`.`id` = 1)  + + +Processing FollowsController#destroy (for 0.0.0.0 at 2010-12-21 22:14:11) [DELETE] + Parameters: {"id"=>"1"} + Theme Load (0.3ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + Follow Load (0.1ms) SELECT * FROM `follows` WHERE (`follows`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + Follow Destroy (0.2ms) DELETE FROM `follows` WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/follows +Completed in 5ms (DB: 74) | 302 Found [http://test.host/follows/1] + SQL (0.2ms) SELECT count(*) AS count_all FROM `follows`  + SQL (33.9ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + + +Processing FollowsController#index (for 0.0.0.0 at 2010-12-21 22:14:11) [GET] + Parameters: {"type"=>"followers", "user_id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  +Rendering template within layouts/application +Rendering follows/index + Follow Load (0.4ms) SELECT * FROM `follows` WHERE (`follows`.followee_id = 1) ORDER BY created_at DESC +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Follow Load (0.3ms) SELECT * FROM `follows` WHERE (`follows`.`id` = 1)  + + +Processing FollowsController#show (for 0.0.0.0 at 2010-12-21 22:14:11) [GET] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + Follow Load (0.1ms) SELECT * FROM `follows` WHERE (`follows`.`id` = 1)  +Rendering template within layouts/application +Rendering follows/show +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Follow Load (0.1ms) SELECT * FROM `follows` WHERE (`follows`.`id` = 1)  + + +Processing FollowsController#update (for 0.0.0.0 at 2010-12-21 22:14:11) [PUT] + Parameters: {"id"=>"1", "follow"=>{}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + Follow Load (0.1ms) SELECT * FROM `follows` WHERE (`follows`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/follows/1 +Completed in 6ms (DB: 1) | 302 Found [http://test.host/follows/1?] + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (0.3ms) SELECT count(*) AS count_all FROM `forum_posts`  + + +Processing ForumPostsController#create (for 0.0.0.0 at 2010-12-21 22:14:11) [POST] + Parameters: {"forum_post"=>{}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + SQL (0.1ms) SAVEPOINT active_record_1 + ForumPost Create (0.3ms) INSERT INTO `forum_posts` (`forum_topic_id`, `created_at`, `title`, `body`, `featured`, `updated_at`, `views`, `user_id`, `parent_id`) VALUES(NULL, '2010-12-22 05:14:11', NULL, NULL, NULL, '2010-12-22 05:14:11', 0, 1, NULL) + Activity Create (0.2ms) INSERT INTO `activities` (`created_at`, `public`, `updated_at`, `action`, `user_id`, `item_id`, `item_type`) VALUES('2010-12-22 05:14:11', 1, '2010-12-22 05:14:11', NULL, 1, 18, 'ForumPost') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/forum_posts/18 +Completed in 17ms (DB: 1) | 302 Found [http://test.host/forum_posts?] + SQL (0.3ms) SELECT count(*) AS count_all FROM `forum_posts`  + SQL (66.4ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (0.3ms) SELECT count(*) AS count_all FROM `forum_posts`  + ForumPost Load (0.2ms) SELECT * FROM `forum_posts` WHERE (`forum_posts`.`id` = 1)  + + +Processing ForumPostsController#destroy (for 0.0.0.0 at 2010-12-21 22:14:11) [DELETE] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + ForumPost Load (0.1ms) SELECT * FROM `forum_posts` WHERE (`forum_posts`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + Tagging Load (0.4ms) SELECT * FROM `taggings` WHERE (`taggings`.taggable_id = 1 AND `taggings`.taggable_type = 'ForumPost' AND (context = 'tags'))  + Tagging Load (0.3ms) SELECT * FROM `taggings` WHERE (`taggings`.taggable_id = 1 AND `taggings`.taggable_type = 'ForumPost')  + ForumPost Destroy (0.2ms) DELETE FROM `forum_posts` WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/forum_posts +Completed in 7ms (DB: 69) | 302 Found [http://test.host/forum_posts/1] + SQL (0.2ms) SELECT count(*) AS count_all FROM `forum_posts`  + SQL (39.5ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + ForumPost Load (0.3ms) SELECT * FROM `forum_posts` WHERE (`forum_posts`.`id` = 1)  + + +Processing ForumPostsController#edit (for 0.0.0.0 at 2010-12-21 22:14:11) [GET] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + ForumPost Load (0.1ms) SELECT * FROM `forum_posts` WHERE (`forum_posts`.`id` = 1)  +Rendering template within layouts/application +Rendering forum_posts/edit +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing ForumPostsController#index (for 0.0.0.0 at 2010-12-21 22:14:11) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Redirected to http://test.host/forum_topics +Completed in 2ms (DB: 0) | 302 Found [http://test.host/forum_posts] + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + + +Processing ForumPostsController#new (for 0.0.0.0 at 2010-12-21 22:14:11) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 +Rendering template within layouts/application +Rendering forum_posts/new +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + ForumPost Load (0.1ms) SELECT * FROM `forum_posts` WHERE (`forum_posts`.`id` = 1)  + + +Processing ForumPostsController#show (for 0.0.0.0 at 2010-12-21 22:14:11) [GET] + Parameters: {"id"=>"1"} + Theme Load (0.2ms) SELECT * FROM `themes` LIMIT 1 + ForumPost Load (0.1ms) SELECT * FROM `forum_posts` WHERE (`forum_posts`.`id` = 1)  + SQL (0.2ms) SAVEPOINT active_record_1 + ForumPost Update (0.3ms) UPDATE `forum_posts` SET `views` = 1, `updated_at` = '2010-12-22 05:14:11' WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Rendering template within layouts/application +Rendering forum_posts/show + ForumTopic Load (0.4ms) SELECT * FROM `forum_topics` WHERE (`forum_topics`.`id` = 1)  + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + ProfilePhoto Load (0.1ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 1 AND (is_profile = 1)) LIMIT 1 + ForumPost Load (0.4ms) SELECT * FROM `forum_posts` WHERE (`forum_posts`.parent_id = 1)  +Rendered forum_posts/_forum_post_replies (2.8ms) +Rendered forum_posts/_forum_post_reply_form (1.5ms) +Rendered layouts/_widgets (0.1ms) + SQL (39.5ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + ForumPost Load (0.3ms) SELECT * FROM `forum_posts` WHERE (`forum_posts`.`id` = 1)  + + +Processing ForumPostsController#update (for 0.0.0.0 at 2010-12-21 22:14:12) [PUT] + Parameters: {"forum_post"=>{}, "id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + ForumPost Load (0.1ms) SELECT * FROM `forum_posts` WHERE (`forum_posts`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/forum_posts/1 +Completed in 6ms (DB: 41) | 302 Found [http://test.host/forum_posts/1?] + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (0.2ms) SELECT count(*) AS count_all FROM `forum_topics`  + + +Processing ForumTopicsController#create (for 0.0.0.0 at 2010-12-21 22:14:12) [POST] + Parameters: {"forum_topic"=>{}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + Role Load (0.1ms) SELECT `roles`.* FROM `roles` INNER JOIN `permissions` ON `roles`.id = `permissions`.role_id WHERE ((`permissions`.user_id = 1))  + SQL (0.2ms) SAVEPOINT active_record_1 + ForumTopic Create (0.2ms) INSERT INTO `forum_topics` (`created_at`, `title`, `updated_at`, `user_id`, `description`) VALUES('2010-12-22 05:14:12', NULL, '2010-12-22 05:14:12', NULL, NULL) + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/forum_topics/4 +Completed in 15ms (DB: 1) | 302 Found [http://test.host/forum_topics?] + SQL (0.3ms) SELECT count(*) AS count_all FROM `forum_topics`  + SQL (65.5ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (0.3ms) SELECT count(*) AS count_all FROM `forum_topics`  + ForumTopic Load (0.2ms) SELECT * FROM `forum_topics` WHERE (`forum_topics`.`id` = 1)  + + +Processing ForumTopicsController#destroy (for 0.0.0.0 at 2010-12-21 22:14:12) [DELETE] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + Role Load (0.1ms) SELECT `roles`.* FROM `roles` INNER JOIN `permissions` ON `roles`.id = `permissions`.role_id WHERE ((`permissions`.user_id = 1))  + ForumTopic Load (0.1ms) SELECT * FROM `forum_topics` WHERE (`forum_topics`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + ForumTopic Destroy (0.2ms) DELETE FROM `forum_topics` WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/forum_topics +Completed in 5ms (DB: 67) | 302 Found [http://test.host/forum_topics/1] + SQL (0.2ms) SELECT count(*) AS count_all FROM `forum_topics`  + SQL (42.5ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing ForumTopicsController#index (for 0.0.0.0 at 2010-12-21 22:14:12) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + ForumTopic Load (0.3ms) SELECT * FROM `forum_topics`  +Rendering template within layouts/application +Rendering forum_topics/index + ForumPost Load (0.5ms) SELECT * FROM `forum_posts` WHERE (`forum_posts`.forum_topic_id = 1 AND (parent_id is null)) ORDER BY created_at DESC + ForumPost Load (0.3ms) SELECT * FROM `forum_posts` WHERE (`forum_posts`.forum_topic_id = 1) ORDER BY created_at DESC + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + ForumPost Load (0.3ms) SELECT * FROM `forum_posts` WHERE (`forum_posts`.forum_topic_id = 2 AND (parent_id is null)) ORDER BY created_at DESC + ForumPost Load (0.3ms) SELECT * FROM `forum_posts` WHERE (`forum_posts`.forum_topic_id = 2) ORDER BY created_at DESC + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + ForumPost Load (0.3ms) SELECT * FROM `forum_posts` WHERE (`forum_posts`.forum_topic_id = 3 AND (parent_id is null)) ORDER BY created_at DESC + ForumPost Load (0.3ms) SELECT * FROM `forum_posts` WHERE (`forum_posts`.forum_topic_id = 3) ORDER BY created_at DESC + User Load (0.4ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  +Rendered layouts/_widgets (0.1ms) + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + + +Processing ForumTopicsController#new (for 0.0.0.0 at 2010-12-21 22:14:12) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + Role Load (0.1ms) SELECT `roles`.* FROM `roles` INNER JOIN `permissions` ON `roles`.id = `permissions`.role_id WHERE ((`permissions`.user_id = 1))  +Rendering template within layouts/application +Rendering forum_topics/new +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + ForumTopic Load (0.3ms) SELECT * FROM `forum_topics` WHERE (`forum_topics`.`id` = 1)  + + +Processing ForumTopicsController#update (for 0.0.0.0 at 2010-12-21 22:14:12) [PUT] + Parameters: {"id"=>"1", "forum_topic"=>{}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + Role Load (0.1ms) SELECT `roles`.* FROM `roles` INNER JOIN `permissions` ON `roles`.id = `permissions`.role_id WHERE ((`permissions`.user_id = 1))  + ForumTopic Load (0.1ms) SELECT * FROM `forum_topics` WHERE (`forum_topics`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/forum_topics/1 +Completed in 6ms (DB: 1) | 302 Found [http://test.host/forum_topics/1?] + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (0.2ms) SELECT count(*) AS count_all FROM `friendships`  + + +Processing FriendsController#create (for 0.0.0.0 at 2010-12-21 22:14:12) [POST] + Parameters: {"friend_id"=>"9"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + User Load (0.5ms) SELECT * FROM `users` WHERE (`users`.`id` = 9)  + Friendship Load (0.3ms) SELECT * FROM `friendships` WHERE (`friendships`.`user_id` = 1 AND `friendships`.`friend_id` = 9) LIMIT 1 + SQL (0.1ms) SAVEPOINT active_record_1 + Friendship Create (0.2ms) INSERT INTO `friendships` (`created_at`, `updated_at`, `user_id`, `status`, `friend_id`) VALUES('2010-12-22 05:14:12', '2010-12-22 05:14:12', 1, 'requested', 9) + Friendship Create (0.1ms) INSERT INTO `friendships` (`created_at`, `updated_at`, `user_id`, `status`, `friend_id`) VALUES('2010-12-22 05:14:12', '2010-12-22 05:14:12', 9, 'pending', 1) + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/users/9 +Completed in 17ms (DB: 2) | 302 Found [http://test.host/friends/create?friend_id=9] + SQL (0.2ms) SELECT count(*) AS count_all FROM `friendships`  + SQL (57.8ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (0.2ms) SELECT count(*) AS count_all FROM `friendships`  + + +Processing FriendsController#destroy (for 0.0.0.0 at 2010-12-21 22:14:12) [DELETE] + Parameters: {"id"=>"5", "user_id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + User Load (0.5ms) SELECT * FROM `users` WHERE (`users`.`id` = 5)  + SQL (0.1ms) SAVEPOINT active_record_1 + Friendship Load (0.2ms) SELECT * FROM `friendships` WHERE (`friendships`.`user_id` = 1 AND `friendships`.`friend_id` = 5) LIMIT 1 + Friendship Load (0.2ms) SELECT * FROM `friendships` WHERE (`friendships`.`id` = 7)  + Friendship Destroy (0.2ms) DELETE FROM `friendships` WHERE `id` = 7 + Friendship Load (0.2ms) SELECT * FROM `friendships` WHERE (`friendships`.`user_id` = 5 AND `friendships`.`friend_id` = 1) LIMIT 1 + Friendship Load (0.1ms) SELECT * FROM `friendships` WHERE (`friendships`.`id` = 8)  + Friendship Destroy (0.1ms) DELETE FROM `friendships` WHERE `id` = 8 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/users/1 +Completed in 9ms (DB: 61) | 302 Found [http://test.host/users/1/friends/5] + SQL (0.2ms) SELECT count(*) AS count_all FROM `friendships`  + SQL (58.2ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing FriendsController#index (for 0.0.0.0 at 2010-12-21 22:14:12) [GET] + Parameters: {"user_id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  +Rendering template within layouts/application +Rendering friends/index + SQL (0.5ms) SELECT count(*) AS count_all FROM `users` INNER JOIN `friendships` ON `users`.id = `friendships`.friend_id WHERE ((`friendships`.user_id = 1) AND ((status = 'accepted')))  + User Load (0.5ms) SELECT `users`.* FROM `users` INNER JOIN `friendships` ON `users`.id = `friendships`.friend_id WHERE ((`friendships`.user_id = 1) AND ((status = 'accepted')))  + ProfilePhoto Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 8 AND (is_profile = 1)) LIMIT 1 +Rendered users/_user_brief (2.7ms) + ProfilePhoto Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 5 AND (is_profile = 1)) LIMIT 1 +Rendered users/_user_brief (1.5ms) +Rendered layouts/_widgets (0.1ms) + SQL (0.1ms) ROLLBACK + SQL (0.0ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + + +Processing FriendsController#pending_friends (for 0.0.0.0 at 2010-12-21 22:14:12) [GET] + Parameters: {"user_id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  +Rendering template within layouts/application +Rendering friends/index + SQL (0.4ms) SELECT count(*) AS count_all FROM `users` INNER JOIN `friendships` ON `users`.id = `friendships`.friend_id WHERE ((`friendships`.user_id = 1) AND ((status = 'pending')))  + User Load (0.6ms) SELECT `users`.* FROM `users` INNER JOIN `friendships` ON `users`.id = `friendships`.friend_id WHERE ((`friendships`.user_id = 1) AND ((status = 'pending'))) ORDER BY friendships.created_at + ProfilePhoto Load (0.1ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 3 AND (is_profile = 1)) LIMIT 1 + User Load (0.4ms) SELECT `users`.id FROM `users` INNER JOIN `friendships` ON `users`.id = `friendships`.friend_id WHERE (`users`.`id` = 3) AND ((`friendships`.user_id = 1) AND ((status = 'requested'))) ORDER BY friendships.created_at LIMIT 1 + User Load (0.2ms) SELECT `users`.id FROM `users` INNER JOIN `friendships` ON `users`.id = `friendships`.friend_id WHERE (`users`.`id` = 3) AND ((`friendships`.user_id = 1) AND ((status = 'accepted'))) LIMIT 1 + User Load (0.3ms) SELECT `users`.id FROM `users` INNER JOIN `friendships` ON `users`.id = `friendships`.friend_id WHERE (`users`.`id` = 3) AND ((`friendships`.user_id = 1) AND ((status = 'pending'))) ORDER BY friendships.created_at LIMIT 1 + Role Load (0.2ms) SELECT `roles`.id FROM `roles` INNER JOIN `permissions` ON `roles`.id = `permissions`.role_id WHERE (`roles`.`id` = 1) AND ((`permissions`.user_id = 1)) LIMIT 1 +Rendered users/_user_brief (7.0ms) +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing FriendsController#index (for 0.0.0.0 at 2010-12-21 22:14:12) [GET] + Parameters: {"type"=>"pending", "user_id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  +Rendering template within layouts/application +Rendering friends/index + SQL (0.1ms) SELECT count(*) AS count_all FROM `users` INNER JOIN `friendships` ON `users`.id = `friendships`.friend_id WHERE ((`friendships`.user_id = 1) AND ((status = 'pending')))  + User Load (0.1ms) SELECT `users`.* FROM `users` INNER JOIN `friendships` ON `users`.id = `friendships`.friend_id WHERE ((`friendships`.user_id = 1) AND ((status = 'pending'))) ORDER BY friendships.created_at + ProfilePhoto Load (0.1ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 3 AND (is_profile = 1)) LIMIT 1 +Rendered users/_user_brief (1.7ms) +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + + +Processing FriendsController#requested_friends (for 0.0.0.0 at 2010-12-21 22:14:13) [GET] + Parameters: {"user_id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  +Rendering template within layouts/application +Rendering friends/index + SQL (0.4ms) SELECT count(*) AS count_all FROM `users` INNER JOIN `friendships` ON `users`.id = `friendships`.friend_id WHERE ((`friendships`.user_id = 1) AND ((status = 'requested')))  + User Load (0.6ms) SELECT `users`.* FROM `users` INNER JOIN `friendships` ON `users`.id = `friendships`.friend_id WHERE ((`friendships`.user_id = 1) AND ((status = 'requested'))) ORDER BY friendships.created_at + ProfilePhoto Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 7 AND (is_profile = 1)) LIMIT 1 + User Load (0.4ms) SELECT `users`.id FROM `users` INNER JOIN `friendships` ON `users`.id = `friendships`.friend_id WHERE (`users`.`id` = 7) AND ((`friendships`.user_id = 1) AND ((status = 'requested'))) ORDER BY friendships.created_at LIMIT 1 + Role Load (0.1ms) SELECT `roles`.id FROM `roles` INNER JOIN `permissions` ON `roles`.id = `permissions`.role_id WHERE (`roles`.`id` = 1) AND ((`permissions`.user_id = 1)) LIMIT 1 +Rendered users/_user_brief (4.6ms) +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing FriendsController#index (for 0.0.0.0 at 2010-12-21 22:14:13) [GET] + Parameters: {"type"=>"requested", "user_id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  +Rendering template within layouts/application +Rendering friends/index + SQL (0.1ms) SELECT count(*) AS count_all FROM `users` INNER JOIN `friendships` ON `users`.id = `friendships`.friend_id WHERE ((`friendships`.user_id = 1) AND ((status = 'requested')))  + User Load (0.1ms) SELECT `users`.* FROM `users` INNER JOIN `friendships` ON `users`.id = `friendships`.friend_id WHERE ((`friendships`.user_id = 1) AND ((status = 'requested'))) ORDER BY friendships.created_at + ProfilePhoto Load (0.1ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 7 AND (is_profile = 1)) LIMIT 1 +Rendered users/_user_brief (1.8ms) +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing FriendsController#show (for 0.0.0.0 at 2010-12-21 22:14:13) [GET] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Redirected to http://test.host/users/1 +Completed in 2ms (DB: 1) | 302 Found [http://test.host/friends/show/1] + SQL (0.1ms) ROLLBACK + SQL (0.0ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + + +Processing FriendsController#update (for 0.0.0.0 at 2010-12-21 22:14:13) [PUT] + Parameters: {"friend_id"=>"7"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (0.1ms) SELECT count(*) AS count_all FROM `groups`  + + +Processing GroupsController#create (for 0.0.0.0 at 2010-12-21 22:14:13) [POST] + Parameters: {"group"=>{"name"=>"unit test group", "featured"=>false, "description"=>"my desc"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + Role Load (0.1ms) SELECT `roles`.* FROM `roles` INNER JOIN `permissions` ON `roles`.id = `permissions`.role_id WHERE ((`permissions`.user_id = 1))  + SQL (0.2ms) SAVEPOINT active_record_1 + Group Create (0.3ms) INSERT INTO `groups` (`name`, `created_at`, `featured`, `announcements`, `private`, `updated_at`, `creator_id`, `description`, `photo_id`) VALUES('unit test group', '2010-12-22 05:14:17', 0, NULL, 0, '2010-12-22 05:14:17', 1, 'my desc', NULL) + Activity Create (0.2ms) INSERT INTO `activities` (`created_at`, `public`, `updated_at`, `action`, `user_id`, `item_id`, `item_type`) VALUES('2010-12-22 05:14:17', 1, '2010-12-22 05:14:17', NULL, 1, 4, 'Group') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/groups/4 +Completed in 4018ms (DB: 2) | 302 Found [http://test.host/groups?group%5Bdescription%5D=my+desc&group%5Bfeatured%5D=false&group%5Bname%5D=unit+test+group] + SQL (0.3ms) SELECT count(*) AS count_all FROM `groups`  + SQL (58.5ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (0.2ms) SELECT count(*) AS count_all FROM `groups`  + Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 1)  + + +Processing GroupsController#destroy (for 0.0.0.0 at 2010-12-21 22:14:17) [DELETE] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + Membership Load (0.3ms) SELECT * FROM `memberships` WHERE (`memberships`.group_id = 1)  + Membership Destroy (0.2ms) DELETE FROM `memberships` WHERE `id` = 1 + Membership Destroy (0.1ms) DELETE FROM `memberships` WHERE `id` = 3 + Group Destroy (0.1ms) DELETE FROM `groups` WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/groups +Completed in 7ms (DB: 61) | 302 Found [http://test.host/groups/1] + SQL (0.2ms) SELECT count(*) AS count_all FROM `groups`  + SQL (80.0ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Group Load (0.3ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 1)  + + +Processing GroupsController#edit (for 0.0.0.0 at 2010-12-21 22:14:17) [GET] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 1)  + Role Load (0.1ms) SELECT `roles`.* FROM `roles` INNER JOIN `permissions` ON `roles`.id = `permissions`.role_id WHERE ((`permissions`.user_id = 1))  + Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 1)  +Rendering template within layouts/application +Rendering groups/edit + ProfilePhoto Load (0.4ms) SELECT * FROM `photos` WHERE (`photos`.group_id = 1) LIMIT 1 +Rendered groups/_group_form (5.8ms) +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + + +Processing GroupsController#index (for 0.0.0.0 at 2010-12-21 22:14:17) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + Group Load (0.3ms) SELECT * FROM `groups`  +Rendering template within layouts/application +Rendering groups/index + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + ProfilePhoto Load (0.6ms) SELECT * FROM `photos` WHERE (`photos`.group_id = 1) LIMIT 1 + SQL (0.4ms) SELECT count(*) AS count_all FROM `users` INNER JOIN `memberships` ON `users`.id = `memberships`.user_id WHERE ((`memberships`.group_id = 1))  +Rendered groups/_group_brief (5.3ms) + ProfilePhoto Load (0.1ms) SELECT * FROM `photos` WHERE (`photos`.group_id = 2) LIMIT 1 + SQL (0.4ms) SELECT count(*) AS count_all FROM `users` INNER JOIN `memberships` ON `users`.id = `memberships`.user_id WHERE ((`memberships`.group_id = 2))  +Rendered groups/_group_brief (2.7ms) +Rendered layouts/_widgets (0.1ms) + SQL (0.4ms) ROLLBACK + SQL (0.0ms) BEGIN + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + + +Processing GroupsController#new (for 0.0.0.0 at 2010-12-21 22:14:17) [GET] + Theme Load (0.5ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + Role Load (0.1ms) SELECT `roles`.* FROM `roles` INNER JOIN `permissions` ON `roles`.id = `permissions`.role_id WHERE ((`permissions`.user_id = 1))  +Rendering template within layouts/application +Rendering groups/new +Rendered groups/_group_form (2.4ms) +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 1)  + + +Processing GroupsController#show (for 0.0.0.0 at 2010-12-21 22:14:17) [GET] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 1)  + Page Load (0.3ms) SELECT * FROM `pages` WHERE (`pages`.`name` = 'group') LIMIT 1 +Rendering template within layouts/application +Rendering groups/show + ProfilePhoto Load (0.2ms) SELECT * FROM `photos` WHERE (`photos`.group_id = 1) LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + Role Load (0.1ms) SELECT `roles`.* FROM `roles` INNER JOIN `permissions` ON `roles`.id = `permissions`.role_id WHERE ((`permissions`.user_id = 1))  +Rendered groups/_group_admin_widget (5.8ms) + User Load (0.5ms) SELECT `users`.id FROM `users` INNER JOIN `memberships` ON `users`.id = `memberships`.user_id WHERE (`users`.`id` = 1) AND ((`memberships`.group_id = 1)) ORDER BY RAND() LIMIT 1 + ProfilePhoto Load (0.1ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 1 AND (is_profile = 1)) LIMIT 1 + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Rendered users/_user_control_widget (7.4ms) +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 1)  + + +Processing GroupsController#update (for 0.0.0.0 at 2010-12-21 22:14:18) [PUT] + Parameters: {"group"=>{"name"=>"New Name", "featured"=>false, "description"=>"New Desc."}, "id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 1)  + Role Load (0.1ms) SELECT `roles`.* FROM `roles` INNER JOIN `permissions` ON `roles`.id = `permissions`.role_id WHERE ((`permissions`.user_id = 1))  + Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + Group Update (0.3ms) UPDATE `groups` SET `updated_at` = '2010-12-22 05:14:22', `name` = 'New Name', `description` = 'New Desc.' WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/groups/1 +Completed in 4011ms (DB: 3) | 302 Found [http://test.host/groups/1?group%5Bdescription%5D=New+Desc.&group%5Bfeatured%5D=false&group%5Bname%5D=New+Name] + SQL (76.5ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing HomeController#do_install (for 0.0.0.0 at 2010-12-21 22:14:22) [GET] + Parameters: {"network_website"=>"www.test.com", "password_confirmation"=>"12345678", "network_desc"=>"Network Description", "last_name"=>"Doe", "network_name"=>"Test Network", "network_org"=>"Test Org", "login"=>"jdoe", "password"=>"12345678", "first_name"=>"John", "email"=>"john@doe.com"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + Network Load (0.3ms) SELECT * FROM `networks`  + SQL (0.1ms) SAVEPOINT active_record_1 + Network Destroy (0.2ms) DELETE FROM `networks` WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + ConfigSetting Columns (0.7ms) SHOW FIELDS FROM `config_settings` + SQL (0.1ms) SAVEPOINT active_record_1 + ConfigSetting Create (0.2ms) INSERT INTO `config_settings` (`name`, `created_at`, `updated_at`, `value`) VALUES('use_proxy', '2010-12-22 05:14:22', '2010-12-22 05:14:22', 'false') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + ConfigSetting Create (0.2ms) INSERT INTO `config_settings` (`name`, `created_at`, `updated_at`, `value`) VALUES('proxy_host', '2010-12-22 05:14:22', '2010-12-22 05:14:22', '') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + ConfigSetting Create (0.1ms) INSERT INTO `config_settings` (`name`, `created_at`, `updated_at`, `value`) VALUES('proxy_port', '2010-12-22 05:14:22', '2010-12-22 05:14:22', '') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + ConfigSetting Create (0.1ms) INSERT INTO `config_settings` (`name`, `created_at`, `updated_at`, `value`) VALUES('enable_facebook_connect', '2010-12-22 05:14:22', '2010-12-22 05:14:22', 'false') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + ConfigSetting Create (0.2ms) INSERT INTO `config_settings` (`name`, `created_at`, `updated_at`, `value`) VALUES('require_activate_for_user_create_via_api', '2010-12-22 05:14:22', '2010-12-22 05:14:22', 'false') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + ConfigSetting Create (0.2ms) INSERT INTO `config_settings` (`name`, `created_at`, `updated_at`, `value`) VALUES('enable_self_registration', '2010-12-22 05:14:22', '2010-12-22 05:14:22', 'true') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + ConfigSetting Create (0.2ms) INSERT INTO `config_settings` (`name`, `created_at`, `updated_at`, `value`) VALUES('max_tweets_per_user', '2010-12-22 05:14:22', '2010-12-22 05:14:22', '5') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + User Load (1.4ms) SELECT * FROM `users`  + SQL (0.3ms) SAVEPOINT active_record_1 + Permission Load (0.3ms) SELECT * FROM `permissions` WHERE (`permissions`.user_id = 1)  + Permission Destroy (0.2ms) DELETE FROM `permissions` WHERE `id` = 1 + Membership Load (0.5ms) SELECT * FROM `memberships` WHERE (`memberships`.user_id = 1)  + Membership Destroy (0.2ms) DELETE FROM `memberships` WHERE `id` = 1 + Membership Destroy (0.4ms) DELETE FROM `memberships` WHERE `id` = 2 + Attendance Load (0.2ms) SELECT * FROM `attendances` WHERE (`attendances`.attendee_id = 1)  + Attendance Destroy (0.1ms) DELETE FROM `attendances` WHERE `id` = 1 + Friendship Load (0.2ms) SELECT * FROM `friendships` WHERE (`friendships`.user_id = 1)  + Friendship Destroy (0.3ms) DELETE FROM `friendships` WHERE `id` = 1 + Friendship Destroy (0.1ms) DELETE FROM `friendships` WHERE `id` = 3 + Friendship Destroy (0.2ms) DELETE FROM `friendships` WHERE `id` = 5 + Friendship Destroy (0.1ms) DELETE FROM `friendships` WHERE `id` = 7 + ProfilePhoto Load (0.1ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 1 AND (is_profile = 1)) LIMIT 1 + Comment Load (0.4ms) SELECT * FROM `comments` WHERE (`comments`.commentable_id = 3 AND `comments`.commentable_type = 'Photo') ORDER BY created_at ASC + Tagging Load (0.3ms) SELECT * FROM `taggings` WHERE (`taggings`.taggable_id = 3 AND `taggings`.taggable_type = 'Photo' AND (context = 'tags'))  + Tagging Load (0.3ms) SELECT * FROM `taggings` WHERE (`taggings`.taggable_id = 3 AND `taggings`.taggable_type = 'Photo')  + ProfilePhoto Destroy (0.2ms) DELETE FROM `photos` WHERE `id` = 3 + User Destroy (1.1ms) DELETE FROM `users` WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Permission Load (0.3ms) SELECT * FROM `permissions` WHERE (`permissions`.user_id = 2)  + Membership Load (0.2ms) SELECT * FROM `memberships` WHERE (`memberships`.user_id = 2)  + Attendance Load (0.2ms) SELECT * FROM `attendances` WHERE (`attendances`.attendee_id = 2)  + Friendship Load (0.2ms) SELECT * FROM `friendships` WHERE (`friendships`.user_id = 2)  + ProfilePhoto Load (0.2ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 2 AND (is_profile = 1)) LIMIT 1 + User Destroy (0.2ms) DELETE FROM `users` WHERE `id` = 2 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Permission Load (0.2ms) SELECT * FROM `permissions` WHERE (`permissions`.user_id = 3)  + Permission Destroy (0.1ms) DELETE FROM `permissions` WHERE `id` = 2 + Membership Load (0.2ms) SELECT * FROM `memberships` WHERE (`memberships`.user_id = 3)  + Attendance Load (0.2ms) SELECT * FROM `attendances` WHERE (`attendances`.attendee_id = 3)  + Attendance Destroy (0.2ms) DELETE FROM `attendances` WHERE `id` = 2 + Friendship Load (0.2ms) SELECT * FROM `friendships` WHERE (`friendships`.user_id = 3)  + Friendship Destroy (0.1ms) DELETE FROM `friendships` WHERE `id` = 4 + ProfilePhoto Load (0.2ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 3 AND (is_profile = 1)) LIMIT 1 + User Destroy (0.7ms) DELETE FROM `users` WHERE `id` = 3 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Permission Load (0.2ms) SELECT * FROM `permissions` WHERE (`permissions`.user_id = 4)  + Permission Destroy (0.1ms) DELETE FROM `permissions` WHERE `id` = 3 + Membership Load (0.2ms) SELECT * FROM `memberships` WHERE (`memberships`.user_id = 4)  + Membership Destroy (0.1ms) DELETE FROM `memberships` WHERE `id` = 3 + Attendance Load (0.2ms) SELECT * FROM `attendances` WHERE (`attendances`.attendee_id = 4)  + Friendship Load (0.2ms) SELECT * FROM `friendships` WHERE (`friendships`.user_id = 4)  + ProfilePhoto Load (0.2ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 4 AND (is_profile = 1)) LIMIT 1 + User Destroy (0.2ms) DELETE FROM `users` WHERE `id` = 4 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Permission Load (0.2ms) SELECT * FROM `permissions` WHERE (`permissions`.user_id = 5)  + Permission Destroy (0.1ms) DELETE FROM `permissions` WHERE `id` = 4 + Membership Load (0.2ms) SELECT * FROM `memberships` WHERE (`memberships`.user_id = 5)  + Attendance Load (0.2ms) SELECT * FROM `attendances` WHERE (`attendances`.attendee_id = 5)  + Attendance Destroy (0.1ms) DELETE FROM `attendances` WHERE `id` = 3 + Friendship Load (0.2ms) SELECT * FROM `friendships` WHERE (`friendships`.user_id = 5)  + Friendship Destroy (0.1ms) DELETE FROM `friendships` WHERE `id` = 8 + ProfilePhoto Load (0.2ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 5 AND (is_profile = 1)) LIMIT 1 + User Destroy (0.6ms) DELETE FROM `users` WHERE `id` = 5 + SQL (0.2ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Permission Load (0.2ms) SELECT * FROM `permissions` WHERE (`permissions`.user_id = 6)  + Permission Destroy (0.1ms) DELETE FROM `permissions` WHERE `id` = 5 + Membership Load (0.2ms) SELECT * FROM `memberships` WHERE (`memberships`.user_id = 6)  + Attendance Load (0.2ms) SELECT * FROM `attendances` WHERE (`attendances`.attendee_id = 6)  + Attendance Destroy (0.1ms) DELETE FROM `attendances` WHERE `id` = 4 + Friendship Load (0.2ms) SELECT * FROM `friendships` WHERE (`friendships`.user_id = 6)  + ProfilePhoto Load (0.2ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 6 AND (is_profile = 1)) LIMIT 1 + User Destroy (0.5ms) DELETE FROM `users` WHERE `id` = 6 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Permission Load (0.2ms) SELECT * FROM `permissions` WHERE (`permissions`.user_id = 7)  + Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.user_id = 7)  + Attendance Load (0.2ms) SELECT * FROM `attendances` WHERE (`attendances`.attendee_id = 7)  + Friendship Load (0.2ms) SELECT * FROM `friendships` WHERE (`friendships`.user_id = 7)  + Friendship Destroy (0.2ms) DELETE FROM `friendships` WHERE `id` = 2 + ProfilePhoto Load (0.2ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 7 AND (is_profile = 1)) LIMIT 1 + User Destroy (0.2ms) DELETE FROM `users` WHERE `id` = 7 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Permission Load (0.2ms) SELECT * FROM `permissions` WHERE (`permissions`.user_id = 8)  + Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.user_id = 8)  + Attendance Load (0.2ms) SELECT * FROM `attendances` WHERE (`attendances`.attendee_id = 8)  + Friendship Load (0.2ms) SELECT * FROM `friendships` WHERE (`friendships`.user_id = 8)  + Friendship Destroy (0.1ms) DELETE FROM `friendships` WHERE `id` = 6 + ProfilePhoto Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 8 AND (is_profile = 1)) LIMIT 1 + Comment Load (0.3ms) SELECT * FROM `comments` WHERE (`comments`.commentable_id = 4 AND `comments`.commentable_type = 'Photo') ORDER BY created_at ASC + Tagging Load (0.4ms) SELECT * FROM `taggings` WHERE (`taggings`.taggable_id = 4 AND `taggings`.taggable_type = 'Photo' AND (context = 'tags'))  + Tagging Load (0.6ms) SELECT * FROM `taggings` WHERE (`taggings`.taggable_id = 4 AND `taggings`.taggable_type = 'Photo')  + ProfilePhoto Destroy (0.2ms) DELETE FROM `photos` WHERE `id` = 4 + User Destroy (0.2ms) DELETE FROM `users` WHERE `id` = 8 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Permission Load (0.2ms) SELECT * FROM `permissions` WHERE (`permissions`.user_id = 9)  + Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.user_id = 9)  + Attendance Load (0.1ms) SELECT * FROM `attendances` WHERE (`attendances`.attendee_id = 9)  + Friendship Load (0.1ms) SELECT * FROM `friendships` WHERE (`friendships`.user_id = 9)  + ProfilePhoto Load (0.2ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 9 AND (is_profile = 1)) LIMIT 1 + User Destroy (0.2ms) DELETE FROM `users` WHERE `id` = 9 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Permission Load (0.2ms) SELECT * FROM `permissions` WHERE (`permissions`.user_id = 10)  + Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.user_id = 10)  + Attendance Load (0.2ms) SELECT * FROM `attendances` WHERE (`attendances`.attendee_id = 10)  + Friendship Load (0.1ms) SELECT * FROM `friendships` WHERE (`friendships`.user_id = 10)  + ProfilePhoto Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 10 AND (is_profile = 1)) LIMIT 1 + User Destroy (0.2ms) DELETE FROM `users` WHERE `id` = 10 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Permission Load (0.2ms) SELECT * FROM `permissions` WHERE (`permissions`.user_id = 11)  + Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.user_id = 11)  + Attendance Load (0.1ms) SELECT * FROM `attendances` WHERE (`attendances`.attendee_id = 11)  + Friendship Load (0.1ms) SELECT * FROM `friendships` WHERE (`friendships`.user_id = 11)  + ProfilePhoto Load (0.2ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 11 AND (is_profile = 1)) LIMIT 1 + User Destroy (0.2ms) DELETE FROM `users` WHERE `id` = 11 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Permission Load (0.1ms) SELECT * FROM `permissions` WHERE (`permissions`.user_id = 12)  + Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.user_id = 12)  + Attendance Load (0.1ms) SELECT * FROM `attendances` WHERE (`attendances`.attendee_id = 12)  + Friendship Load (0.2ms) SELECT * FROM `friendships` WHERE (`friendships`.user_id = 12)  + ProfilePhoto Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 12 AND (is_profile = 1)) LIMIT 1 + User Destroy (0.2ms) DELETE FROM `users` WHERE `id` = 12 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Permission Load (0.2ms) SELECT * FROM `permissions` WHERE (`permissions`.user_id = 13)  + Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.user_id = 13)  + Attendance Load (0.1ms) SELECT * FROM `attendances` WHERE (`attendances`.attendee_id = 13)  + Friendship Load (0.1ms) SELECT * FROM `friendships` WHERE (`friendships`.user_id = 13)  + ProfilePhoto Load (0.2ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 13 AND (is_profile = 1)) LIMIT 1 + User Destroy (0.2ms) DELETE FROM `users` WHERE `id` = 13 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Permission Load (0.1ms) SELECT * FROM `permissions` WHERE (`permissions`.user_id = 14)  + Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.user_id = 14)  + Attendance Load (0.1ms) SELECT * FROM `attendances` WHERE (`attendances`.attendee_id = 14)  + Friendship Load (0.1ms) SELECT * FROM `friendships` WHERE (`friendships`.user_id = 14)  + ProfilePhoto Load (0.2ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 14 AND (is_profile = 1)) LIMIT 1 + User Destroy (0.2ms) DELETE FROM `users` WHERE `id` = 14 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Permission Load (0.2ms) SELECT * FROM `permissions` WHERE (`permissions`.user_id = 15)  + Membership Load (0.2ms) SELECT * FROM `memberships` WHERE (`memberships`.user_id = 15)  + Attendance Load (0.1ms) SELECT * FROM `attendances` WHERE (`attendances`.attendee_id = 15)  + Friendship Load (0.1ms) SELECT * FROM `friendships` WHERE (`friendships`.user_id = 15)  + ProfilePhoto Load (0.2ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 15 AND (is_profile = 1)) LIMIT 1 + User Destroy (0.2ms) DELETE FROM `users` WHERE `id` = 15 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Permission Load (0.1ms) SELECT * FROM `permissions` WHERE (`permissions`.user_id = 16)  + Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.user_id = 16)  + Attendance Load (0.1ms) SELECT * FROM `attendances` WHERE (`attendances`.attendee_id = 16)  + Friendship Load (0.1ms) SELECT * FROM `friendships` WHERE (`friendships`.user_id = 16)  + ProfilePhoto Load (0.2ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 16 AND (is_profile = 1)) LIMIT 1 + User Destroy (0.2ms) DELETE FROM `users` WHERE `id` = 16 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Permission Load (0.1ms) SELECT * FROM `permissions` WHERE (`permissions`.user_id = 17)  + Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.user_id = 17)  + Attendance Load (0.1ms) SELECT * FROM `attendances` WHERE (`attendances`.attendee_id = 17)  + Friendship Load (0.1ms) SELECT * FROM `friendships` WHERE (`friendships`.user_id = 17)  + ProfilePhoto Load (0.2ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 17 AND (is_profile = 1)) LIMIT 1 + User Destroy (0.2ms) DELETE FROM `users` WHERE `id` = 17 + SQL (0.0ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Permission Load (0.1ms) SELECT * FROM `permissions` WHERE (`permissions`.user_id = 18)  + Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.user_id = 18)  + Attendance Load (0.1ms) SELECT * FROM `attendances` WHERE (`attendances`.attendee_id = 18)  + Friendship Load (0.1ms) SELECT * FROM `friendships` WHERE (`friendships`.user_id = 18)  + ProfilePhoto Load (0.2ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 18 AND (is_profile = 1)) LIMIT 1 + User Destroy (0.2ms) DELETE FROM `users` WHERE `id` = 18 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Permission Load (0.1ms) SELECT * FROM `permissions` WHERE (`permissions`.user_id = 19)  + Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.user_id = 19)  + Attendance Load (0.1ms) SELECT * FROM `attendances` WHERE (`attendances`.attendee_id = 19)  + Friendship Load (0.1ms) SELECT * FROM `friendships` WHERE (`friendships`.user_id = 19)  + ProfilePhoto Load (0.2ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 19 AND (is_profile = 1)) LIMIT 1 + User Destroy (0.2ms) DELETE FROM `users` WHERE `id` = 19 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Permission Load (0.1ms) SELECT * FROM `permissions` WHERE (`permissions`.user_id = 20)  + Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.user_id = 20)  + Attendance Load (0.1ms) SELECT * FROM `attendances` WHERE (`attendances`.attendee_id = 20)  + Friendship Load (0.1ms) SELECT * FROM `friendships` WHERE (`friendships`.user_id = 20)  + ProfilePhoto Load (0.2ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 20 AND (is_profile = 1)) LIMIT 1 + User Destroy (0.2ms) DELETE FROM `users` WHERE `id` = 20 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Permission Load (0.2ms) SELECT * FROM `permissions` WHERE (`permissions`.user_id = 21)  + Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.user_id = 21)  + Attendance Load (0.1ms) SELECT * FROM `attendances` WHERE (`attendances`.attendee_id = 21)  + Friendship Load (0.1ms) SELECT * FROM `friendships` WHERE (`friendships`.user_id = 21)  + ProfilePhoto Load (0.2ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 21 AND (is_profile = 1)) LIMIT 1 + User Destroy (0.2ms) DELETE FROM `users` WHERE `id` = 21 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Permission Load (0.1ms) SELECT * FROM `permissions` WHERE (`permissions`.user_id = 22)  + Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.user_id = 22)  + Attendance Load (0.1ms) SELECT * FROM `attendances` WHERE (`attendances`.attendee_id = 22)  + Friendship Load (0.1ms) SELECT * FROM `friendships` WHERE (`friendships`.user_id = 22)  + ProfilePhoto Load (0.2ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 22 AND (is_profile = 1)) LIMIT 1 + User Destroy (0.2ms) DELETE FROM `users` WHERE `id` = 22 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Permission Load (0.1ms) SELECT * FROM `permissions` WHERE (`permissions`.user_id = 23)  + Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.user_id = 23)  + Attendance Load (0.1ms) SELECT * FROM `attendances` WHERE (`attendances`.attendee_id = 23)  + Friendship Load (0.1ms) SELECT * FROM `friendships` WHERE (`friendships`.user_id = 23)  + ProfilePhoto Load (0.2ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 23 AND (is_profile = 1)) LIMIT 1 + User Destroy (0.2ms) DELETE FROM `users` WHERE `id` = 23 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Permission Load (0.1ms) SELECT * FROM `permissions` WHERE (`permissions`.user_id = 24)  + Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.user_id = 24)  + Attendance Load (0.1ms) SELECT * FROM `attendances` WHERE (`attendances`.attendee_id = 24)  + Friendship Load (0.1ms) SELECT * FROM `friendships` WHERE (`friendships`.user_id = 24)  + ProfilePhoto Load (0.2ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 24 AND (is_profile = 1)) LIMIT 1 + User Destroy (0.2ms) DELETE FROM `users` WHERE `id` = 24 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Permission Load (0.1ms) SELECT * FROM `permissions` WHERE (`permissions`.user_id = 25)  + Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.user_id = 25)  + Attendance Load (0.1ms) SELECT * FROM `attendances` WHERE (`attendances`.attendee_id = 25)  + Friendship Load (0.1ms) SELECT * FROM `friendships` WHERE (`friendships`.user_id = 25)  + ProfilePhoto Load (0.2ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 25 AND (is_profile = 1)) LIMIT 1 + User Destroy (0.2ms) DELETE FROM `users` WHERE `id` = 25 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Permission Load (0.2ms) SELECT * FROM `permissions` WHERE (`permissions`.user_id = 26)  + Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.user_id = 26)  + Attendance Load (0.1ms) SELECT * FROM `attendances` WHERE (`attendances`.attendee_id = 26)  + Friendship Load (0.1ms) SELECT * FROM `friendships` WHERE (`friendships`.user_id = 26)  + ProfilePhoto Load (0.2ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 26 AND (is_profile = 1)) LIMIT 1 + User Destroy (0.2ms) DELETE FROM `users` WHERE `id` = 26 + SQL (0.0ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Permission Load (0.1ms) SELECT * FROM `permissions` WHERE (`permissions`.user_id = 27)  + Membership Load (0.2ms) SELECT * FROM `memberships` WHERE (`memberships`.user_id = 27)  + Attendance Load (0.1ms) SELECT * FROM `attendances` WHERE (`attendances`.attendee_id = 27)  + Friendship Load (0.1ms) SELECT * FROM `friendships` WHERE (`friendships`.user_id = 27)  + ProfilePhoto Load (0.2ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 27 AND (is_profile = 1)) LIMIT 1 + User Destroy (0.2ms) DELETE FROM `users` WHERE `id` = 27 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Permission Load (0.1ms) SELECT * FROM `permissions` WHERE (`permissions`.user_id = 28)  + Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.user_id = 28)  + Attendance Load (0.1ms) SELECT * FROM `attendances` WHERE (`attendances`.attendee_id = 28)  + Friendship Load (0.1ms) SELECT * FROM `friendships` WHERE (`friendships`.user_id = 28)  + ProfilePhoto Load (0.2ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 28 AND (is_profile = 1)) LIMIT 1 + User Destroy (0.2ms) DELETE FROM `users` WHERE `id` = 28 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Permission Load (0.1ms) SELECT * FROM `permissions` WHERE (`permissions`.user_id = 29)  + Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.user_id = 29)  + Attendance Load (0.1ms) SELECT * FROM `attendances` WHERE (`attendances`.attendee_id = 29)  + Friendship Load (0.1ms) SELECT * FROM `friendships` WHERE (`friendships`.user_id = 29)  + ProfilePhoto Load (0.2ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 29 AND (is_profile = 1)) LIMIT 1 + User Destroy (0.2ms) DELETE FROM `users` WHERE `id` = 29 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Permission Load (0.1ms) SELECT * FROM `permissions` WHERE (`permissions`.user_id = 30)  + Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.user_id = 30)  + Attendance Load (0.1ms) SELECT * FROM `attendances` WHERE (`attendances`.attendee_id = 30)  + Friendship Load (0.1ms) SELECT * FROM `friendships` WHERE (`friendships`.user_id = 30)  + ProfilePhoto Load (0.2ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 30 AND (is_profile = 1)) LIMIT 1 + User Destroy (0.2ms) DELETE FROM `users` WHERE `id` = 30 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Permission Load (23.9ms) SELECT * FROM `permissions` WHERE (`permissions`.user_id = 31)  + Membership Load (0.3ms) SELECT * FROM `memberships` WHERE (`memberships`.user_id = 31)  + Attendance Load (0.2ms) SELECT * FROM `attendances` WHERE (`attendances`.attendee_id = 31)  + Friendship Load (0.2ms) SELECT * FROM `friendships` WHERE (`friendships`.user_id = 31)  + ProfilePhoto Load (0.2ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 31 AND (is_profile = 1)) LIMIT 1 + User Destroy (0.2ms) DELETE FROM `users` WHERE `id` = 31 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Permission Load (0.2ms) SELECT * FROM `permissions` WHERE (`permissions`.user_id = 32)  + Membership Load (0.2ms) SELECT * FROM `memberships` WHERE (`memberships`.user_id = 32)  + Attendance Load (0.1ms) SELECT * FROM `attendances` WHERE (`attendances`.attendee_id = 32)  + Friendship Load (0.1ms) SELECT * FROM `friendships` WHERE (`friendships`.user_id = 32)  + ProfilePhoto Load (0.2ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 32 AND (is_profile = 1)) LIMIT 1 + User Destroy (0.2ms) DELETE FROM `users` WHERE `id` = 32 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Permission Load (0.2ms) SELECT * FROM `permissions` WHERE (`permissions`.user_id = 33)  + Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.user_id = 33)  + Attendance Load (0.1ms) SELECT * FROM `attendances` WHERE (`attendances`.attendee_id = 33)  + Friendship Load (0.1ms) SELECT * FROM `friendships` WHERE (`friendships`.user_id = 33)  + ProfilePhoto Load (0.2ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 33 AND (is_profile = 1)) LIMIT 1 + User Destroy (0.2ms) DELETE FROM `users` WHERE `id` = 33 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Permission Load (0.2ms) SELECT * FROM `permissions` WHERE (`permissions`.user_id = 34)  + Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.user_id = 34)  + Attendance Load (0.1ms) SELECT * FROM `attendances` WHERE (`attendances`.attendee_id = 34)  + Friendship Load (0.1ms) SELECT * FROM `friendships` WHERE (`friendships`.user_id = 34)  + ProfilePhoto Load (0.2ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 34 AND (is_profile = 1)) LIMIT 1 + User Destroy (0.2ms) DELETE FROM `users` WHERE `id` = 34 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Permission Load (0.2ms) SELECT * FROM `permissions` WHERE (`permissions`.user_id = 35)  + Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.user_id = 35)  + Attendance Load (0.1ms) SELECT * FROM `attendances` WHERE (`attendances`.attendee_id = 35)  + Friendship Load (0.1ms) SELECT * FROM `friendships` WHERE (`friendships`.user_id = 35)  + ProfilePhoto Load (0.2ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 35 AND (is_profile = 1)) LIMIT 1 + User Destroy (0.2ms) DELETE FROM `users` WHERE `id` = 35 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Permission Load (0.2ms) SELECT * FROM `permissions` WHERE (`permissions`.user_id = 36)  + Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.user_id = 36)  + Attendance Load (0.1ms) SELECT * FROM `attendances` WHERE (`attendances`.attendee_id = 36)  + Friendship Load (0.1ms) SELECT * FROM `friendships` WHERE (`friendships`.user_id = 36)  + ProfilePhoto Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 36 AND (is_profile = 1)) LIMIT 1 + User Destroy (0.2ms) DELETE FROM `users` WHERE `id` = 36 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Permission Load (0.1ms) SELECT * FROM `permissions` WHERE (`permissions`.user_id = 37)  + Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.user_id = 37)  + Attendance Load (0.1ms) SELECT * FROM `attendances` WHERE (`attendances`.attendee_id = 37)  + Friendship Load (0.1ms) SELECT * FROM `friendships` WHERE (`friendships`.user_id = 37)  + ProfilePhoto Load (0.2ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 37 AND (is_profile = 1)) LIMIT 1 + User Destroy (0.2ms) DELETE FROM `users` WHERE `id` = 37 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Permission Load (0.2ms) SELECT * FROM `permissions` WHERE (`permissions`.user_id = 38)  + Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.user_id = 38)  + Attendance Load (0.1ms) SELECT * FROM `attendances` WHERE (`attendances`.attendee_id = 38)  + Friendship Load (0.1ms) SELECT * FROM `friendships` WHERE (`friendships`.user_id = 38)  + ProfilePhoto Load (0.2ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 38 AND (is_profile = 1)) LIMIT 1 + User Destroy (0.2ms) DELETE FROM `users` WHERE `id` = 38 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Permission Load (0.2ms) SELECT * FROM `permissions` WHERE (`permissions`.user_id = 39)  + Membership Load (0.2ms) SELECT * FROM `memberships` WHERE (`memberships`.user_id = 39)  + Attendance Load (0.1ms) SELECT * FROM `attendances` WHERE (`attendances`.attendee_id = 39)  + Friendship Load (0.1ms) SELECT * FROM `friendships` WHERE (`friendships`.user_id = 39)  + ProfilePhoto Load (0.2ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 39 AND (is_profile = 1)) LIMIT 1 + User Destroy (0.2ms) DELETE FROM `users` WHERE `id` = 39 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Permission Load (0.1ms) SELECT * FROM `permissions` WHERE (`permissions`.user_id = 40)  + Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.user_id = 40)  + Attendance Load (0.1ms) SELECT * FROM `attendances` WHERE (`attendances`.attendee_id = 40)  + Friendship Load (0.1ms) SELECT * FROM `friendships` WHERE (`friendships`.user_id = 40)  + ProfilePhoto Load (0.2ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 40 AND (is_profile = 1)) LIMIT 1 + User Destroy (0.2ms) DELETE FROM `users` WHERE `id` = 40 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + User Load (0.5ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'jdoe') LIMIT 1 + User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john@doe.com') LIMIT 1 + SQL (0.1ms) SAVEPOINT active_record_1 + Network Create (0.2ms) INSERT INTO `networks` (`name`, `created_at`, `updated_at`, `url`, `admin_email`, `website`, `organization`, `description`) VALUES('Test Network', '2010-12-22 05:14:22', '2010-12-22 05:14:22', NULL, NULL, 'www.test.com', 'Test Org', 'Network Description') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + Role Load (0.2ms) SELECT * FROM `roles`  + SQL (0.1ms) SAVEPOINT active_record_1 + Permission Load (0.2ms) SELECT * FROM `permissions` WHERE (`permissions`.role_id = 1)  + Role Destroy (0.2ms) DELETE FROM `roles` WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Permission Load (0.2ms) SELECT * FROM `permissions` WHERE (`permissions`.role_id = 2)  + Role Destroy (0.1ms) DELETE FROM `roles` WHERE `id` = 2 + SQL (0.0ms) RELEASE SAVEPOINT active_record_1 + SQL (0.0ms) SAVEPOINT active_record_1 + Permission Load (0.1ms) SELECT * FROM `permissions` WHERE (`permissions`.role_id = 3)  + Role Destroy (0.1ms) DELETE FROM `roles` WHERE `id` = 3 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Permission Load (0.1ms) SELECT * FROM `permissions` WHERE (`permissions`.role_id = 4)  + Role Destroy (0.1ms) DELETE FROM `roles` WHERE `id` = 4 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Permission Load (0.1ms) SELECT * FROM `permissions` WHERE (`permissions`.role_id = 5)  + Role Destroy (0.2ms) DELETE FROM `roles` WHERE `id` = 5 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Role Create (0.2ms) INSERT INTO `roles` (`created_at`, `updated_at`, `rolename`) VALUES('2010-12-22 05:14:22', '2010-12-22 05:14:22', 'creator') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Role Create (0.1ms) INSERT INTO `roles` (`created_at`, `updated_at`, `rolename`) VALUES('2010-12-22 05:14:22', '2010-12-22 05:14:22', 'administrator') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Role Create (0.1ms) INSERT INTO `roles` (`created_at`, `updated_at`, `rolename`) VALUES('2010-12-22 05:14:22', '2010-12-22 05:14:22', 'group_admin') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Role Create (0.1ms) INSERT INTO `roles` (`created_at`, `updated_at`, `rolename`) VALUES('2010-12-22 05:14:22', '2010-12-22 05:14:22', 'user') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Role Create (0.1ms) INSERT INTO `roles` (`created_at`, `updated_at`, `rolename`) VALUES('2010-12-22 05:14:22', '2010-12-22 05:14:22', 'contributor') + SQL (0.0ms) RELEASE SAVEPOINT active_record_1 + SQL (0.0ms) SAVEPOINT active_record_1 + User Load (0.3ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'jdoe') LIMIT 1 + User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john@doe.com') LIMIT 1 + User Create (0.3ms) INSERT INTO `users` (`city`, `occupation`, `flickr`, `facebook_id`, `salt`, `created_at`, `zip`, `about_me`, `activated_at`, `blog`, `display_tweets`, `yahoo_messenger_name`, `skype_name`, `facebook_url`, `company_url`, `crypted_password`, `remember_token_expires_at`, `updated_at`, `featured`, `last_seen_at`, `password_reset_code`, `country_id`, `skills`, `show_blog_posts_on_home`, `msn_name`, `activation_code`, `api_key`, `flickr_username`, `linked_in_url`, `gtalk_name`, `posts_count`, `enabled`, `email_hash`, `sex`, `phone2`, `last_name`, `phone`, `website`, `blog_feed`, `twitter_id`, `aim_name`, `resume_url`, `login_count`, `remember_token`, `is_active`, `time_zone`, `organization`, `login`, `state_id`, `youtube_username`, `identity_url`, `email`, `first_name`, `use_gravatar`, `receive_emails`) VALUES(NULL, NULL, NULL, NULL, '56b556a1c669b040dce1d958664811d49a52b7ec', '2010-12-22 05:14:22', NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, '36cd0c420df2909326475226d407cf7b2d41c2f8', NULL, '2010-12-22 05:14:22', 0, NULL, NULL, NULL, NULL, 1, NULL, 'e71d972686eed6825b946834a480839b1a70d516', '', NULL, NULL, NULL, 0, 1, NULL, NULL, NULL, 'Doe', NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, 0, 'UTC', NULL, 'jdoe', NULL, NULL, NULL, 'john@doe.com', 'John', 0, 1) + SQL (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 + SQL (63.8ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing HomeController#index (for 0.0.0.0 at 2010-12-21 22:14:22) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + Network Load (0.3ms) SELECT * FROM `networks` LIMIT 1 + Page Load (0.2ms) SELECT * FROM `pages` WHERE (`pages`.`name` = 'home') LIMIT 1 + Photo Load (0.2ms) SELECT id, parent_id, filename FROM `photos` WHERE (`photos`.`thumbnail` IS NULL AND `photos`.`is_profile` IS NULL) ORDER BY RAND() LIMIT 6 +Rendering template within layouts/application +Rendering home/index +Rendered shared/_network_info_widget (0.9ms) +Rendered users/_user_control_widget (1.0ms) +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing HomeController#install (for 0.0.0.0 at 2010-12-21 22:14:22) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Rendering template within layouts/install +Rendering home/install +Rendered shared/_footer (5.0ms) +Completed in 41ms (View: 39, DB: 0) | 200 OK [http://test.host/home/install] + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.5ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (0.2ms) SELECT count(*) AS count_all FROM `html_contents`  + + +Processing HtmlContentsController#create (for 0.0.0.0 at 2010-12-21 22:14:23) [POST] + Parameters: {"html_content"=>{}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.5ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + SQL (0.1ms) SAVEPOINT active_record_1 + HtmlContent Create (0.2ms) INSERT INTO `html_contents` (`created_at`, `title`, `body`, `updated_at`) VALUES('2010-12-22 05:14:23', NULL, NULL, '2010-12-22 05:14:23') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/html_contents/3 +Completed in 13ms (DB: 2) | 302 Found [http://test.host/html_contents?] + SQL (0.3ms) SELECT count(*) AS count_all FROM `html_contents`  + SQL (43.5ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (0.2ms) SELECT count(*) AS count_all FROM `html_contents`  + HtmlContent Load (0.2ms) SELECT * FROM `html_contents` WHERE (`html_contents`.`id` = 1)  + + +Processing HtmlContentsController#destroy (for 0.0.0.0 at 2010-12-21 22:14:23) [DELETE] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + HtmlContent Load (0.1ms) SELECT * FROM `html_contents` WHERE (`html_contents`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + HtmlContent Destroy (0.2ms) DELETE FROM `html_contents` WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/html_contents +Completed in 4ms (DB: 45) | 302 Found [http://test.host/html_contents/1] + SQL (0.2ms) SELECT count(*) AS count_all FROM `html_contents`  + SQL (44.0ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + HtmlContent Load (0.3ms) SELECT * FROM `html_contents` WHERE (`html_contents`.`id` = 1)  + + +Processing HtmlContentsController#edit (for 0.0.0.0 at 2010-12-21 22:14:23) [GET] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + HtmlContent Load (0.1ms) SELECT * FROM `html_contents` WHERE (`html_contents`.`id` = 1)  +Rendering template within layouts/application +Rendering html_contents/edit +Rendered html_contents/_html_content_form (3.7ms) +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + + +Processing HtmlContentsController#index (for 0.0.0.0 at 2010-12-21 22:14:23) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + HtmlContent Load (0.3ms) SELECT * FROM `html_contents`  +Rendering template within layouts/application +Rendering html_contents/index +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + + +Processing HtmlContentsController#new (for 0.0.0.0 at 2010-12-21 22:14:23) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 +Rendering template within layouts/application +Rendering html_contents/new +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.0ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + HtmlContent Load (0.1ms) SELECT * FROM `html_contents` WHERE (`html_contents`.`id` = 1)  + + +Processing HtmlContentsController#update (for 0.0.0.0 at 2010-12-21 22:14:23) [PUT] + Parameters: {"id"=>"1", "html_content"=>{}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + HtmlContent Load (0.1ms) SELECT * FROM `html_contents` WHERE (`html_contents`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/ +Completed in 5ms (DB: 1) | 302 Found [http://test.host/html_contents/1?] + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.3ms) SELECT count(*) AS count_all FROM `ideas`  + + +Processing IdeasController#create (for 0.0.0.0 at 2010-12-21 22:14:23) [POST] + Parameters: {"idea"=>{"title"=>"Idea 1", "user_id"=>1, "description"=>"Idea 1 Desc"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + SQL (0.1ms) SAVEPOINT active_record_1 + Idea Create (0.2ms) INSERT INTO `ideas` (`created_at`, `title`, `updated_at`, `group_id`, `user_id`, `description`) VALUES('2010-12-22 05:14:23', 'Idea 1', '2010-12-22 05:14:23', NULL, NULL, 'Idea 1 Desc') + Activity Create (0.3ms) INSERT INTO `activities` (`created_at`, `public`, `updated_at`, `action`, `user_id`, `item_id`, `item_type`) VALUES('2010-12-22 05:14:23', 1, '2010-12-22 05:14:23', NULL, NULL, 3, 'Idea') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/ideas/3 +Completed in 177ms (DB: 1) | 302 Found [http://test.host/ideas?idea%5Bdescription%5D=Idea+1+Desc&idea%5Btitle%5D=Idea+1&idea%5Buser_id%5D=1] + SQL (0.2ms) SELECT count(*) AS count_all FROM `ideas`  + SQL (36.8ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.2ms) SELECT count(*) AS count_all FROM `ideas`  + Idea Load (0.2ms) SELECT * FROM `ideas` WHERE (`ideas`.`id` = 1)  + + +Processing IdeasController#destroy (for 0.0.0.0 at 2010-12-21 22:14:23) [DELETE] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + Idea Load (0.1ms) SELECT * FROM `ideas` WHERE (`ideas`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + Idea Destroy (0.2ms) DELETE FROM `ideas` WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/ideas +Completed in 4ms (DB: 38) | 302 Found [http://test.host/ideas/1] + SQL (0.2ms) SELECT count(*) AS count_all FROM `ideas`  + SQL (44.1ms) ROLLBACK + SQL (0.1ms) BEGIN + Idea Load (0.3ms) SELECT * FROM `ideas` WHERE (`ideas`.`id` = 1)  + + +Processing IdeasController#edit (for 0.0.0.0 at 2010-12-21 22:14:23) [GET] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + Idea Load (0.1ms) SELECT * FROM `ideas` WHERE (`ideas`.`id` = 1)  +Rendering template within layouts/application +Rendering ideas/edit +Rendered layouts/_widgets (0.1ms) + SQL (0.5ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing IdeasController#index (for 0.0.0.0 at 2010-12-21 22:14:23) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + Idea Load (0.3ms) SELECT * FROM `ideas`  +Rendering template within layouts/application +Rendering ideas/index +Rendered layouts/_widgets (0.1ms) + SQL (0.4ms) ROLLBACK + SQL (0.0ms) BEGIN + + +Processing IdeasController#new (for 0.0.0.0 at 2010-12-21 22:14:23) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Rendering template within layouts/application +Rendering ideas/new +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + Idea Load (0.1ms) SELECT * FROM `ideas` WHERE (`ideas`.`id` = 1)  + + +Processing IdeasController#show (for 0.0.0.0 at 2010-12-21 22:14:24) [GET] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + Idea Load (0.1ms) SELECT * FROM `ideas` WHERE (`ideas`.`id` = 1)  +Rendering template within layouts/application +Rendering ideas/show +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + Idea Load (0.1ms) SELECT * FROM `ideas` WHERE (`ideas`.`id` = 1)  + + +Processing IdeasController#update (for 0.0.0.0 at 2010-12-21 22:14:24) [PUT] + Parameters: {"idea"=>{"title"=>"Idea 1", "user_id"=>1, "description"=>"Idea 1 Desc"}, "id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + Idea Load (0.1ms) SELECT * FROM `ideas` WHERE (`ideas`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + Idea Update (0.3ms) UPDATE `ideas` SET `updated_at` = '2010-12-22 05:14:24', `title` = 'Idea 1', `description` = 'Idea 1 Desc' WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/ideas/1 +Completed in 5ms (DB: 1) | 302 Found [http://test.host/ideas/1?idea%5Bdescription%5D=Idea+1+Desc&idea%5Btitle%5D=Idea+1&idea%5Buser_id%5D=1] + SQL (50.7ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (0.2ms) SELECT count(*) AS count_all FROM `invites`  + + +Processing InvitesController#create (for 0.0.0.0 at 2010-12-21 22:14:24) [POST] + Parameters: {"invite"=>{"invite_code"=>"12345", "user_id"=>1, "message"=>"Invite Message", "accepted"=>false, "email"=>"user@test.com"}} + Theme Load (0.2ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + Invite Load (0.4ms) SELECT * FROM `invites` WHERE (`invites`.`email` = 'user@test.com') LIMIT 1 + SQL (0.1ms) SAVEPOINT active_record_1 + Invite Create (0.2ms) INSERT INTO `invites` (`created_at`, `updated_at`, `invite_code`, `user_id`, `message`, `accepted`, `email`) VALUES('2010-12-22 05:14:24', '2010-12-22 05:14:24', '2bqR3sVaPF28hJ1n', 1, 'Invite Message', 0, 'user@test.com') + Network Load (0.1ms) SELECT * FROM `networks` LIMIT 1 +Sent mail to user@test.com + +Date: Tue, 21 Dec 2010 22:14:24 -0700 +From: quentin@example.com +To: user@test.com +Subject: An Invitation to Join Test Network +Mime-Version: 1.0 +Content-Type: text/html; charset=utf-8 + + + + +quentin test has invited you to join the Michigan Ruby Community +at RubyMI.org. +

    +To accept this invitation, click this link:
    +http://www.rubymi.org/signup?invite_code=2bqR3sVaPF28hJ1n + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/invites/3 +Completed in 20ms (DB: 52) | 302 Found [http://test.host/invites?invite%5Baccepted%5D=false&invite%5Bemail%5D=user%40test.com&invite%5Binvite_code%5D=12345&invite%5Bmessage%5D=Invite+Message&invite%5Buser_id%5D=1] + SQL (0.2ms) SELECT count(*) AS count_all FROM `invites`  + SQL (44.5ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (0.3ms) SELECT count(*) AS count_all FROM `invites`  + Invite Load (0.4ms) SELECT * FROM `invites` WHERE (`invites`.`id` = 1)  + + +Processing InvitesController#destroy (for 0.0.0.0 at 2010-12-21 22:14:24) [DELETE] + Parameters: {"id"=>"1"} + Theme Load (0.2ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + Invite Load (0.1ms) SELECT * FROM `invites` WHERE (`invites`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + Invite Destroy (0.2ms) DELETE FROM `invites` WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/invites +Completed in 5ms (DB: 47) | 302 Found [http://test.host/invites/1] + SQL (0.2ms) SELECT count(*) AS count_all FROM `invites`  + SQL (59.2ms) ROLLBACK + SQL (0.2ms) BEGIN + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Invite Load (0.3ms) SELECT * FROM `invites` WHERE (`invites`.`id` = 1)  + + +Processing InvitesController#edit (for 0.0.0.0 at 2010-12-21 22:14:24) [GET] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + Invite Load (0.1ms) SELECT * FROM `invites` WHERE (`invites`.`id` = 1)  +Rendering template within layouts/application +Rendering invites/edit +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + + +Processing InvitesController#index (for 0.0.0.0 at 2010-12-21 22:14:24) [GET] + Theme Load (0.2ms) SELECT * FROM `themes` LIMIT 1 + Invite Load (0.3ms) SELECT * FROM `invites`  +Rendering template within layouts/application +Rendering invites/index +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + + +Processing InvitesController#new (for 0.0.0.0 at 2010-12-21 22:14:24) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 +Rendering template within layouts/application +Rendering invites/new +Rendered invites/_invite_form (2.7ms) +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + + +Processing InvitesController#create (for 0.0.0.0 at 2010-12-21 22:14:24) [POST] + Parameters: {"invite"=>{"invite_code"=>"12345", "user_id"=>1, "message"=>"Invite Message", "accepted"=>false, "email"=>"user@test.com"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + Invite Load (0.3ms) SELECT * FROM `invites` WHERE (`invites`.`email` = 'user@test.com') LIMIT 1 + SQL (0.1ms) SAVEPOINT active_record_1 + Invite Create (0.2ms) INSERT INTO `invites` (`created_at`, `updated_at`, `invite_code`, `user_id`, `message`, `accepted`, `email`) VALUES('2010-12-22 05:14:24', '2010-12-22 05:14:24', 'nhwFxQFrQn4yh43N', 1, 'Invite Message', 0, 'user@test.com') + Network Load (0.1ms) SELECT * FROM `networks` LIMIT 1 +Sent mail to user@test.com + +Date: Tue, 21 Dec 2010 22:14:24 -0700 +From: quentin@example.com +To: user@test.com +Subject: An Invitation to Join Test Network +Mime-Version: 1.0 +Content-Type: text/html; charset=utf-8 + + + + +quentin test has invited you to join the Michigan Ruby Community +at RubyMI.org. +

    +To accept this invitation, click this link:
    +http://www.rubymi.org/signup?invite_code=nhwFxQFrQn4yh43N + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/invites/4 +Completed in 10ms (DB: 2) | 302 Found [http://test.host/invites?invite%5Baccepted%5D=false&invite%5Bemail%5D=user%40test.com&invite%5Binvite_code%5D=12345&invite%5Bmessage%5D=Invite+Message&invite%5Buser_id%5D=1] + + +Processing InvitesController#create (for 0.0.0.0 at 2010-12-21 22:14:24) [POST] + Parameters: {"invite"=>{"invite_code"=>"12345", "user_id"=>1, "message"=>"Invite Message", "accepted"=>false, "email"=>"user@test.com"}} + Invite Load (0.3ms) SELECT * FROM `invites` WHERE (`invites`.`email` = 'user@test.com') LIMIT 1 +Rendering template within layouts/application +Rendering invites/new +Rendered invites/_invite_form (2.2ms) +Rendered layouts/_widgets (0.1ms) + SQL (51.5ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Invite Load (0.3ms) SELECT * FROM `invites` WHERE (`invites`.`id` = 1)  + + +Processing InvitesController#show (for 0.0.0.0 at 2010-12-21 22:14:24) [GET] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + Invite Load (0.1ms) SELECT * FROM `invites` WHERE (`invites`.`id` = 1)  +Rendering template within layouts/application +Rendering invites/show +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Invite Load (0.2ms) SELECT * FROM `invites` WHERE (`invites`.`id` = 1)  + + +Processing InvitesController#update (for 0.0.0.0 at 2010-12-21 22:14:25) [PUT] + Parameters: {"invite"=>{"invite_code"=>"12345", "user_id"=>1, "message"=>"Invite Message", "accepted"=>false, "email"=>"test@email.com"}, "id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + Invite Load (0.1ms) SELECT * FROM `invites` WHERE (`invites`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + Invite Update (0.5ms) UPDATE `invites` SET `updated_at` = '2010-12-22 05:14:25', `message` = 'Invite Message', `email` = 'test@email.com', `invite_code` = '12345' WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/invites/1 +Completed in 6ms (DB: 2) | 302 Found [http://test.host/invites/1?invite%5Baccepted%5D=false&invite%5Bemail%5D=test%40email.com&invite%5Binvite_code%5D=12345&invite%5Bmessage%5D=Invite+Message&invite%5Buser_id%5D=1] + SQL (50.9ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (0.2ms) SELECT count(*) AS count_all FROM `job_posts`  + + +Processing JobPostsController#create (for 0.0.0.0 at 2010-12-21 22:14:25) [POST] + Parameters: {"job_post"=>{"company"=>"Goodco", "contact_name"=>"contactman", "job_title"=>"super job", "featured"=>false, "website"=>"website.com", "description"=>"an ok job", "end_date"=>Tue Dec 21 22:14:25 -0700 2010, "job_id"=>1, "email"=>"mail@mail.com"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + SQL (0.1ms) SAVEPOINT active_record_1 + JobPost Create (0.3ms) INSERT INTO `job_posts` (`company`, `contact_name`, `created_at`, `job_title`, `featured`, `updated_at`, `website`, `description`, `job_id`, `end_date`, `email`) VALUES('Goodco', 'contactman', '2010-12-22 05:14:25', 'super job', 0, '2010-12-22 05:14:25', 'website.com', 'an ok job', 1, '2010-12-21 22:14:25', 'mail@mail.com') + Activity Create (0.1ms) INSERT INTO `activities` (`created_at`, `public`, `updated_at`, `action`, `user_id`, `item_id`, `item_type`) VALUES('2010-12-22 05:14:25', 1, '2010-12-22 05:14:25', NULL, NULL, 4, 'JobPost') + SQL (0.4ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/job_posts +Completed in 16ms (DB: 53) | 302 Found [http://test.host/job_posts?job_post%5Bcompany%5D=Goodco&job_post%5Bcontact_name%5D=contactman&job_post%5Bdescription%5D=an+ok+job&job_post%5Bemail%5D=mail%40mail.com&job_post%5Bend_date%5D=Tue+Dec+21+22%3A14%3A25+-0700+2010&job_post%5Bfeatured%5D=false&job_post%5Bjob_id%5D=1&job_post%5Bjob_title%5D=super+job&job_post%5Bwebsite%5D=website.com] + SQL (0.2ms) SELECT count(*) AS count_all FROM `job_posts`  + SQL (47.4ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (0.2ms) SELECT count(*) AS count_all FROM `job_posts`  + JobPost Load (0.2ms) SELECT * FROM `job_posts` WHERE (`job_posts`.`id` = 1)  + + +Processing JobPostsController#destroy (for 0.0.0.0 at 2010-12-21 22:14:25) [DELETE] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + JobPost Load (0.1ms) SELECT * FROM `job_posts` WHERE (`job_posts`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + Tagging Load (0.3ms) SELECT * FROM `taggings` WHERE (`taggings`.taggable_id = 1 AND `taggings`.taggable_type = 'JobPost' AND (context = 'tags'))  + Tagging Load (0.2ms) SELECT * FROM `taggings` WHERE (`taggings`.taggable_id = 1 AND `taggings`.taggable_type = 'JobPost')  + JobPost Destroy (0.2ms) DELETE FROM `job_posts` WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/job_posts +Completed in 6ms (DB: 49) | 302 Found [http://test.host/job_posts/1] + SQL (0.2ms) SELECT count(*) AS count_all FROM `job_posts`  + SQL (60.6ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + JobPost Load (0.3ms) SELECT * FROM `job_posts` WHERE (`job_posts`.`id` = 1)  + + +Processing JobPostsController#edit (for 0.0.0.0 at 2010-12-21 22:14:25) [GET] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + JobPost Load (0.1ms) SELECT * FROM `job_posts` WHERE (`job_posts`.`id` = 1)  +Rendering template within layouts/application +Rendering job_posts/job_posts_edit +Rendered job_posts/_job_post_form (7.6ms) +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + + +Processing JobPostsController#index (for 0.0.0.0 at 2010-12-21 22:14:25) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + JobPost Load (0.4ms) SELECT * FROM `job_posts` ORDER BY created_at DESC +Rendering template within layouts/application +Rendering job_posts/index + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 +Rendered job_posts/_job_post_brief (1.7ms) + Role Load (0.4ms) SELECT `roles`.* FROM `roles` INNER JOIN `permissions` ON `roles`.id = `permissions`.role_id WHERE ((`permissions`.user_id = 1))  +Rendered job_posts/_job_post_brief (0.3ms) +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + + +Processing JobPostsController#new (for 0.0.0.0 at 2010-12-21 22:14:25) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 +Rendering template within layouts/application +Rendering job_posts/new +Rendered job_posts/_job_post_form (4.0ms) +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + JobPost Load (0.1ms) SELECT * FROM `job_posts` WHERE (`job_posts`.`id` = 1)  + + +Processing JobPostsController#update (for 0.0.0.0 at 2010-12-21 22:14:25) [PUT] + Parameters: {"job_post"=>{}, "id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + JobPost Load (0.1ms) SELECT * FROM `job_posts` WHERE (`job_posts`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/job_posts +Completed in 5ms (DB: 1) | 302 Found [http://test.host/job_posts/1?] + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (0.2ms) SELECT count(*) AS count_all FROM `links`  + + +Processing LinksController#create (for 0.0.0.0 at 2010-12-21 22:14:25) [POST] + Parameters: {"link"=>{"title"=>"My Link", "url"=>"http://www.link.com", "user_id"=>1}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + SQL (0.1ms) SAVEPOINT active_record_1 + Link Create (0.3ms) INSERT INTO `links` (`created_at`, `title`, `updated_at`, `url`, `user_id`) VALUES('2010-12-22 05:14:25', 'My Link', '2010-12-22 05:14:25', 'http://www.link.com', 1) + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Activity Create (0.2ms) INSERT INTO `activities` (`created_at`, `public`, `updated_at`, `action`, `user_id`, `item_id`, `item_type`) VALUES('2010-12-22 05:14:25', 1, '2010-12-22 05:14:25', NULL, 1, 4, 'Link') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/links +Completed in 15ms (DB: 2) | 302 Found [http://test.host/links?link%5Btitle%5D=My+Link&link%5Burl%5D=http%3A%2F%2Fwww.link.com&link%5Buser_id%5D=1] + SQL (0.2ms) SELECT count(*) AS count_all FROM `links`  + SQL (42.1ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (26.0ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (0.3ms) SELECT count(*) AS count_all FROM `links`  + Link Load (0.2ms) SELECT * FROM `links` WHERE (`links`.`id` = 1)  + + +Processing LinksController#destroy (for 0.0.0.0 at 2010-12-21 22:14:25) [DELETE] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + Link Load (0.2ms) SELECT * FROM `links` WHERE (`links`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + Link Destroy (0.3ms) DELETE FROM `links` WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/links +Completed in 5ms (DB: 70) | 302 Found [http://test.host/links/1] + SQL (0.2ms) SELECT count(*) AS count_all FROM `links`  + SQL (100.5ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Link Load (0.3ms) SELECT * FROM `links` WHERE (`links`.`id` = 1)  + + +Processing LinksController#edit (for 0.0.0.0 at 2010-12-21 22:14:25) [GET] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + Link Load (0.1ms) SELECT * FROM `links` WHERE (`links`.`id` = 1)  +Rendering template within layouts/application +Rendering links/edit +Rendered links/_link_form (3.5ms) +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.0ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + + +Processing LinksController#index (for 0.0.0.0 at 2010-12-21 22:14:25) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + Link Load (0.4ms) SELECT * FROM `links` ORDER BY created_at DESC LIMIT 0, 30 + SQL (0.2ms) SELECT count(*) AS count_all FROM `links`  +Rendering template within layouts/application + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Role Load (0.1ms) SELECT `roles`.* FROM `roles` INNER JOIN `permissions` ON `roles`.id = `permissions`.role_id WHERE ((`permissions`.user_id = 1))  + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  +Rendered links/_links_canvas (11.0ms) +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + + +Processing LinksController#new (for 0.0.0.0 at 2010-12-21 22:14:26) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 +Rendering template within layouts/application +Rendering links/new +Rendered links/_link_form (1.9ms) +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Link Load (0.1ms) SELECT * FROM `links` WHERE (`links`.`id` = 1)  + + +Processing LinksController#update (for 0.0.0.0 at 2010-12-21 22:14:26) [PUT] + Parameters: {"id"=>"1", "link"=>{"title"=>"My Link", "url"=>"http://www.link.com", "user_id"=>1}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + Link Load (0.1ms) SELECT * FROM `links` WHERE (`links`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + Link Update (0.3ms) UPDATE `links` SET `updated_at` = '2010-12-22 05:14:26', `title` = 'My Link', `url` = 'http://www.link.com' WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/links +Completed in 6ms (DB: 1) | 302 Found [http://test.host/links/1?link%5Btitle%5D=My+Link&link%5Burl%5D=http%3A%2F%2Fwww.link.com&link%5Buser_id%5D=1] + SQL (43.7ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.2ms) SELECT count(*) AS count_all FROM `memberships`  + + +Processing MembershipsController#create (for 0.0.0.0 at 2010-12-21 22:14:26) [POST] + Parameters: {"group_id"=>"1", "user_id"=>"8"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.6ms) SELECT * FROM `users` WHERE (`users`.`id` = 8)  + Role Load (0.2ms) SELECT `roles`.* FROM `roles` INNER JOIN `permissions` ON `roles`.id = `permissions`.role_id WHERE ((`permissions`.user_id = 8))  + Role Load (0.2ms) SELECT * FROM `roles` WHERE (`roles`.`rolename` = 'user') LIMIT 1 + SQL (0.1ms) SAVEPOINT active_record_1 + Membership Create (0.2ms) INSERT INTO `memberships` (`created_at`, `updated_at`, `role_id`, `group_id`, `user_id`) VALUES('2010-12-22 05:14:26', '2010-12-22 05:14:26', 3, 1, 8) + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 8)  + Activity Create (0.2ms) INSERT INTO `activities` (`created_at`, `public`, `updated_at`, `action`, `user_id`, `item_id`, `item_type`) VALUES('2010-12-22 05:14:26', 1, '2010-12-22 05:14:26', NULL, 8, 5, 'Membership') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/groups/1 +Completed in 20ms (DB: 46) | 302 Found [http://test.host/memberships?group_id=1&user_id=8] + SQL (0.2ms) SELECT count(*) AS count_all FROM `memberships`  + SQL (35.0ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.2ms) SELECT count(*) AS count_all FROM `memberships`  + + +Processing MembershipsController#destroy (for 0.0.0.0 at 2010-12-21 22:14:26) [DELETE] + Parameters: {"group_id"=>"1", "user_id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + Membership Load (0.3ms) SELECT * FROM `memberships` WHERE (`memberships`.`user_id` = '1' AND `memberships`.`group_id` = '1') LIMIT 1 + SQL (0.1ms) SAVEPOINT active_record_1 + Membership Destroy (0.2ms) DELETE FROM `memberships` WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/groups +Completed in 4ms (DB: 36) | 302 Found [http://test.host/memberships/destroy?group_id=1&user_id=1] + SQL (0.2ms) SELECT count(*) AS count_all FROM `memberships`  + SQL (51.5ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing MembershipsController#find (for 0.0.0.0 at 2010-12-21 22:14:26) [GET] + Parameters: {"group_id"=>"1", "user_id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + Membership Load (0.3ms) SELECT * FROM `memberships` WHERE (`memberships`.`user_id` = '1' AND `memberships`.`group_id` = '1') LIMIT 1 +Rendering template within layouts/application +Rendering memberships/find +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.0ms) BEGIN + Membership Load (0.3ms) SELECT * FROM `memberships` WHERE (`memberships`.`id` = 1)  + + +Processing MembershipsController#update (for 0.0.0.0 at 2010-12-21 22:14:26) [PUT] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/memberships/1 +Completed in 4ms (DB: 1) | 302 Found [http://test.host/memberships/1] + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (0.2ms) SELECT count(*) AS count_all FROM `messages`  + + +Processing MessagesController#create (for 0.0.0.0 at 2010-12-21 22:14:26) [POST] + Parameters: {"message"=>{"body"=>"message body", "read"=>false, "recipient_id"=>2, "subject"=>"a message", "sender_id"=>1}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + SQL (0.1ms) SAVEPOINT active_record_1 + Message Create (0.2ms) INSERT INTO `messages` (`created_at`, `body`, `updated_at`, `read`, `subject`, `recipient_id`, `sender_id`) VALUES('2010-12-22 05:14:26', 'message body', '2010-12-22 05:14:26', 0, 'a message', 2, 1) + User Load (0.4ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  + Network Load (0.1ms) SELECT * FROM `networks` LIMIT 1 +Sent mail to aaron@example.com + +Date: Tue, 21 Dec 2010 22:14:26 -0700 +To: aaron@example.com +Subject: [Test Network] Message Notification +Mime-Version: 1.0 +Content-Type: text/html; charset=utf-8 + + +aaron test has sent you a private message at RubyMI.org. + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/messages/980190963 +Completed in 18ms (DB: 2) | 302 Found [http://test.host/messages?message%5Bbody%5D=message+body&message%5Bread%5D=false&message%5Brecipient_id%5D=2&message%5Bsender_id%5D=1&message%5Bsubject%5D=a+message] + SQL (0.2ms) SELECT count(*) AS count_all FROM `messages`  + SQL (54.3ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (0.2ms) SELECT count(*) AS count_all FROM `messages`  + Message Load (0.2ms) SELECT * FROM `messages` WHERE (`messages`.`id` = 980190962)  + + +Processing MessagesController#destroy (for 0.0.0.0 at 2010-12-21 22:14:26) [DELETE] + Parameters: {"id"=>"980190962"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + Message Load (0.1ms) SELECT * FROM `messages` WHERE (`messages`.`id` = 980190962)  + SQL (0.1ms) SAVEPOINT active_record_1 + Message Destroy (0.2ms) DELETE FROM `messages` WHERE `id` = 980190962 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/users/1/messages +Completed in 4ms (DB: 56) | 302 Found [http://test.host/messages/980190962] + SQL (0.2ms) SELECT count(*) AS count_all FROM `messages`  + SQL (44.2ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + + +Processing MessagesController#index (for 0.0.0.0 at 2010-12-21 22:14:26) [GET] + Parameters: {"user_id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  +Rendering template within layouts/application +Rendering messages/index + SQL (0.5ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.recipient_id = 1)  +Rendered messages/_received_messages_list (2.8ms) + SQL (0.7ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.sender_id = 1)  + Message Load (0.3ms) SELECT * FROM `messages` WHERE (`messages`.sender_id = 1) ORDER BY created_at DESC + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  + User Load (1.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  +Rendered messages/_sent_messages_list (16.1ms) +Rendered layouts/_widgets (0.1ms) + SQL (0.8ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + + +Processing MessagesController#new (for 0.0.0.0 at 2010-12-21 22:14:26) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + User Load (1.3ms) SELECT * FROM `users` WHERE (activated_at is not null)  +Rendering template within layouts/application +Rendering messages/new +Rendered layouts/_widgets (0.2ms) + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Message Load (0.3ms) SELECT * FROM `messages` WHERE (`messages`.`id` = 980190962)  + + +Processing MessagesController#show (for 0.0.0.0 at 2010-12-21 22:14:27) [GET] + Parameters: {"id"=>"980190962"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + Message Load (0.1ms) SELECT * FROM `messages` WHERE (`messages`.`id` = 980190962)  + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  +Rendering template within layouts/application +Rendering messages/show + User Load (0.5ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + ProfilePhoto Load (0.7ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 1 AND (is_profile = 1)) LIMIT 1 +Rendered layouts/_widgets (0.1ms) + SQL (1.5ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Message Load (0.1ms) SELECT * FROM `messages` WHERE (`messages`.`id` = 980190962)  + + +Processing MessagesController#update (for 0.0.0.0 at 2010-12-21 22:14:27) [PUT] + Parameters: {"id"=>"980190962", "message"=>{}} + Theme Load (0.3ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.4ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + Message Load (0.2ms) SELECT * FROM `messages` WHERE (`messages`.`id` = 980190962)  + SQL (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/messages/980190962 +Completed in 7ms (DB: 4) | 302 Found [http://test.host/messages/980190962?] + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + NavItem Columns (1.0ms) SHOW FIELDS FROM `nav_items` + SQL (2.0ms) SELECT count(*) AS count_all FROM `nav_items`  + + +Processing NavItemsController#create (for 0.0.0.0 at 2010-12-21 22:14:27) [POST] + Parameters: {"nav_item"=>{}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + SQL (0.8ms) SAVEPOINT active_record_1 + NavItem Create (0.3ms) INSERT INTO `nav_items` (`name`, `login_allowed`, `created_at`, `title`, `updated_at`, `url`, `enabled`, `admin_required`, `login_required`) VALUES(NULL, NULL, '2010-12-22 05:14:27', NULL, '2010-12-22 05:14:27', NULL, NULL, NULL, NULL) + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/nav_items/1 +Completed in 23ms (DB: 5) | 302 Found [http://test.host/nav_items?] + SQL (0.3ms) SELECT count(*) AS count_all FROM `nav_items`  + SQL (68.8ms) ROLLBACK + SQL (0.5ms) BEGIN + SQL (0.3ms) SELECT count(*) AS count_all FROM `nav_items`  + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing NavItemsController#index (for 0.0.0.0 at 2010-12-21 22:14:27) [GET] + Theme Load (0.2ms) SELECT * FROM `themes` LIMIT 1 + NavItem Load (0.3ms) SELECT * FROM `nav_items`  +Rendering template within layouts/nav_items +Rendering nav_items/index +Completed in 31ms (View: 28, DB: 71) | 200 OK [http://test.host/nav_items] + SQL (0.7ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing NavItemsController#new (for 0.0.0.0 at 2010-12-21 22:14:27) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Rendering template within layouts/nav_items +Rendering nav_items/new +Completed in 33ms (View: 30, DB: 1) | 200 OK [http://test.host/nav_items/new] + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.1ms) ROLLBACK + SQL (0.0ms) BEGIN + SQL (0.1ms) ROLLBACK + SQL (0.0ms) BEGIN + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Network Load (0.3ms) SELECT * FROM `networks` WHERE (`networks`.`id` = 1)  + + +Processing NetworksController#edit (for 0.0.0.0 at 2010-12-21 22:14:27) [GET] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + Network Load (0.1ms) SELECT * FROM `networks` WHERE (`networks`.`id` = 1)  +Rendering template within layouts/application +Rendering networks/edit +Rendered networks/_network_form (6.2ms) +Rendered layouts/_widgets (0.2ms) + SQL (0.1ms) ROLLBACK + SQL (0.0ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Network Load (0.1ms) SELECT * FROM `networks` WHERE (`networks`.`id` = 1)  + + +Processing NetworksController#update (for 0.0.0.0 at 2010-12-21 22:14:27) [PUT] + Parameters: {"id"=>"1", "network"=>{"name"=>"Updated Network Name", "website"=>"www.website.com", "description"=>"This is a test network", "organization"=>"TestCo"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + Network Load (0.1ms) SELECT * FROM `networks` WHERE (`networks`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + Network Update (0.4ms) UPDATE `networks` SET `updated_at` = '2010-12-22 05:14:27', `name` = 'Updated Network Name', `description` = 'This is a test network', `website` = 'www.website.com' WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/networks/1 +Completed in 6ms (DB: 1) | 302 Found [http://test.host/networks/1?network%5Bdescription%5D=This+is+a+test+network&network%5Bname%5D=Updated+Network+Name&network%5Borganization%5D=TestCo&network%5Bwebsite%5D=www.website.com] + SQL (86.2ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.3ms) SELECT count(*) AS count_all FROM `pages`  + + +Processing PagesController#create (for 0.0.0.0 at 2010-12-21 22:14:27) [POST] + Parameters: {"page"=>{"name"=>"page name", "permalink"=>"link", "title"=>"page title"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + SQL (0.1ms) SAVEPOINT active_record_1 + Page Create (0.3ms) INSERT INTO `pages` (`permalink`, `name`, `created_at`, `title`, `updated_at`) VALUES('page_title', 'page name', '2010-12-22 05:14:27', 'page title', '2010-12-22 05:14:27') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/pages/4-page_title +Completed in 15ms (DB: 87) | 302 Found [http://test.host/pages?page%5Bname%5D=page+name&page%5Bpermalink%5D=link&page%5Btitle%5D=page+title] + SQL (0.2ms) SELECT count(*) AS count_all FROM `pages`  + SQL (46.8ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.5ms) SELECT count(*) AS count_all FROM `pages`  + Page Load (0.3ms) SELECT * FROM `pages` WHERE (`pages`.`id` = 1)  + + +Processing PagesController#destroy (for 0.0.0.0 at 2010-12-21 22:14:27) [DELETE] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + Page Load (0.1ms) SELECT * FROM `pages` WHERE (`pages`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + Page Destroy (0.2ms) DELETE FROM `pages` WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/pages +Completed in 4ms (DB: 49) | 302 Found [http://test.host/pages/1] + SQL (0.2ms) SELECT count(*) AS count_all FROM `pages`  + SQL (66.2ms) ROLLBACK + SQL (0.1ms) BEGIN + Page Load (0.4ms) SELECT * FROM `pages` WHERE (`pages`.`id` = 1)  + + +Processing PagesController#show (for 0.0.0.0 at 2010-12-21 22:14:28) [GET] + Parameters: {"title"=>"test page"} + Theme Load (0.4ms) SELECT * FROM `themes` LIMIT 1 + Page Load (0.3ms) SELECT * FROM `pages` WHERE (`pages`.`name` IS NULL) LIMIT 1 + SQL (0.1ms) ROLLBACK + SQL (0.0ms) BEGIN + Page Load (0.1ms) SELECT * FROM `pages` WHERE (`pages`.`id` = 1)  + + +Processing PagesController#update (for 0.0.0.0 at 2010-12-21 22:14:28) [PUT] + Parameters: {"id"=>"1", "page"=>{"name"=>"page name 2", "permalink"=>"link", "title"=>"page title 2"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + Page Load (1.1ms) SELECT * FROM `pages` WHERE (`pages`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + Page Update (9.2ms) UPDATE `pages` SET `updated_at` = '2010-12-22 05:14:28', `name` = 'page name 2', `title` = 'page title 2', `permalink` = 'link' WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/pages/1-link +Completed in 24ms (DB: 78) | 302 Found [http://test.host/pages/1?page%5Bname%5D=page+name+2&page%5Bpermalink%5D=link&page%5Btitle%5D=page+title+2] + SQL (44.4ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (0.2ms) SELECT count(*) AS count_all FROM `photo_albums`  + + +Processing PhotoAlbumsController#create (for 0.0.0.0 at 2010-12-21 22:14:28) [POST] + Parameters: {"photo_album"=>{"title"=>"test album", "user_id"=>1, "description"=>"test album desc"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + SQL (0.1ms) SAVEPOINT active_record_1 + PhotoAlbum Create (0.2ms) INSERT INTO `photo_albums` (`created_at`, `title`, `updated_at`, `user_id`, `description`, `view_count`) VALUES('2010-12-22 05:14:28', 'test album', '2010-12-22 05:14:28', 1, 'test album desc', NULL) + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/photo_albums/3 +Completed in 13ms (DB: 45) | 302 Found [http://test.host/photo_albums?photo_album%5Bdescription%5D=test+album+desc&photo_album%5Btitle%5D=test+album&photo_album%5Buser_id%5D=1] + SQL (0.2ms) SELECT count(*) AS count_all FROM `photo_albums`  + SQL (41.6ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (0.2ms) SELECT count(*) AS count_all FROM `photo_albums`  + PhotoAlbum Load (0.2ms) SELECT * FROM `photo_albums` WHERE (`photo_albums`.`id` = 1)  + + +Processing PhotoAlbumsController#destroy (for 0.0.0.0 at 2010-12-21 22:14:28) [DELETE] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + PhotoAlbum Load (0.1ms) SELECT * FROM `photo_albums` WHERE (`photo_albums`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + Photo Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.photo_album_id = 1)  + Comment Load (0.3ms) SELECT * FROM `comments` WHERE (`comments`.commentable_id = 1 AND `comments`.commentable_type = 'Photo') ORDER BY created_at ASC + Tagging Load (0.3ms) SELECT * FROM `taggings` WHERE (`taggings`.taggable_id = 1 AND `taggings`.taggable_type = 'Photo' AND (context = 'tags'))  + Tagging Load (0.3ms) SELECT * FROM `taggings` WHERE (`taggings`.taggable_id = 1 AND `taggings`.taggable_type = 'Photo')  + Photo Destroy (0.2ms) DELETE FROM `photos` WHERE `id` = 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Activity Create (0.2ms) INSERT INTO `activities` (`created_at`, `public`, `updated_at`, `action`, `user_id`, `item_id`, `item_type`) VALUES('2010-12-22 05:14:28', 1, '2010-12-22 05:14:28', 'destroy', 1, 1, 'Photo') + PhotoAlbum Destroy (0.2ms) DELETE FROM `photo_albums` WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/photo_albums +Completed in 12ms (DB: 45) | 302 Found [http://test.host/photo_albums/1] + SQL (0.2ms) SELECT count(*) AS count_all FROM `photo_albums`  + SQL (55.1ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + PhotoAlbum Load (0.3ms) SELECT * FROM `photo_albums` WHERE (`photo_albums`.`id` = 1)  + + +Processing PhotoAlbumsController#edit (for 0.0.0.0 at 2010-12-21 22:14:28) [GET] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + PhotoAlbum Load (0.1ms) SELECT * FROM `photo_albums` WHERE (`photo_albums`.`id` = 1)  +Rendering template within layouts/application +Rendering photo_albums/edit +Rendered photo_albums/_album_form (3.1ms) +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + + +Processing PhotoAlbumsController#index (for 0.0.0.0 at 2010-12-21 22:14:28) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + PhotoAlbum Load (0.4ms) SELECT * FROM `photo_albums`  +Rendering template within layouts/application +Rendering photo_albums/index +Rendered layouts/_widgets (0.1ms) + SQL (1.9ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + + +Processing PhotoAlbumsController#new (for 0.0.0.0 at 2010-12-21 22:14:28) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 +Rendering template within layouts/application +Rendering photo_albums/new +Rendered photo_albums/_album_form (2.2ms) +Rendered layouts/_widgets (0.2ms) + SQL (0.3ms) ROLLBACK + SQL (0.0ms) BEGIN + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + PhotoAlbum Load (0.1ms) SELECT * FROM `photo_albums` WHERE (`photo_albums`.`id` = 1)  + + +Processing PhotoAlbumsController#update (for 0.0.0.0 at 2010-12-21 22:14:28) [PUT] + Parameters: {"id"=>"1", "photo_album"=>{"title"=>"test album", "user_id"=>1, "description"=>"test album desc"}} + Theme Load (0.8ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + PhotoAlbum Load (0.1ms) SELECT * FROM `photo_albums` WHERE (`photo_albums`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + PhotoAlbum Update (0.3ms) UPDATE `photo_albums` SET `updated_at` = '2010-12-22 05:14:28', `title` = 'test album', `description` = 'test album desc' WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/photo_albums/1 +Completed in 7ms (DB: 2) | 302 Found [http://test.host/photo_albums/1?photo_album%5Bdescription%5D=test+album+desc&photo_album%5Btitle%5D=test+album&photo_album%5Buser_id%5D=1] + SQL (68.1ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing PhotoManagerController#index (for 0.0.0.0 at 2010-12-21 22:14:28) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + PhotoAlbum Load (0.3ms) SELECT * FROM `photo_albums` ORDER BY id DESC + Photo Load (0.3ms) SELECT * FROM `photos` WHERE (photo_album_id IS NULL AND thumbnail IS NULL AND is_profile IS NULL) ORDER BY id DESC +Rendering template within layouts/application +Rendering photo_manager/index + SQL (0.4ms) SELECT count(*) AS count_all FROM `photos` WHERE (`photos`.photo_album_id = 2)  +Rendered photo_albums/_album_brief (29.6ms) + SQL (0.2ms) SELECT count(*) AS count_all FROM `photos` WHERE (`photos`.photo_album_id = 1)  + Photo Load (0.5ms) SELECT * FROM `photos` WHERE (`photos`.photo_album_id = 1)  +Rendered photo_albums/_album_brief (3.1ms) + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  +Rendered photos/_photo_brief (3.3ms) +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (0.3ms) SELECT count(*) AS count_all FROM `photos`  + + +Processing PhotosController#create (for 0.0.0.0 at 2010-12-21 22:14:28) [POST] + Parameters: {"photo"=>{"size"=>200, "uploaded_data"=>#>, "title"=>"some title", "is_profile"=>true, "thumbnail"=>"thumbnail", "user_id"=>1, "filename"=>"filename", "height"=>100, "description"=>"some desc", "width"=>75}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + SQL (0.2ms) SAVEPOINT active_record_1 + Photo Create (0.4ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 6646, '2010-12-22 05:14:34', NULL, 'some title', 'image/png', 1, 'thumbnail', '2010-12-22 05:14:34', NULL, NULL, 0, 1, NULL, 'filename', 64, 'some desc', 50, NULL) + Photo Load (0.4ms) SELECT * FROM `photos` WHERE (`photos`.`parent_id` = 102 AND `photos`.`thumbnail` = 'small') LIMIT 1 + Photo Create (0.3ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 6623, '2010-12-22 05:14:34', NULL, NULL, 'image/png', NULL, 'small', '2010-12-22 05:14:34', NULL, NULL, 0, NULL, 102, 'filename_small', 48, NULL, 38, NULL) + Photo Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`parent_id` = 102 AND `photos`.`thumbnail` = 'medium') LIMIT 1 + Photo Create (0.6ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 6623, '2010-12-22 05:14:34', NULL, NULL, 'image/png', NULL, 'medium', '2010-12-22 05:14:34', NULL, NULL, 0, NULL, 102, 'filename_medium', 82, NULL, 64, NULL) + Photo Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`parent_id` = 102 AND `photos`.`thumbnail` = 'member') LIMIT 1 + Photo Create (0.5ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 6623, '2010-12-22 05:14:34', NULL, NULL, 'image/png', NULL, 'member', '2010-12-22 05:14:34', NULL, NULL, 0, NULL, 102, 'filename_member', 96, NULL, 75, NULL) + Photo Load (0.7ms) SELECT * FROM `photos` WHERE (`photos`.`parent_id` = 102 AND `photos`.`thumbnail` = 'thumb') LIMIT 1 + Photo Create (0.3ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 6623, '2010-12-22 05:14:34', NULL, NULL, 'image/png', NULL, 'thumb', '2010-12-22 05:14:34', NULL, NULL, 0, NULL, 102, 'filename_thumb', 32, NULL, 25, NULL) + Photo Load (0.5ms) SELECT * FROM `photos` WHERE (`photos`.`parent_id` = 102 AND `photos`.`thumbnail` = 'display') LIMIT 1 + Photo Create (0.6ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 6623, '2010-12-22 05:14:34', NULL, NULL, 'image/png', NULL, 'display', '2010-12-22 05:14:34', NULL, NULL, 0, NULL, 102, 'filename_display', 175, NULL, 137, NULL) + SQL (1.6ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/photos/102/edit +Completed in 5174ms (DB: 9) | 302 Found [http://test.host/photos?photo%5Bdescription%5D=some+desc&photo%5Bfilename%5D=filename&photo%5Bheight%5D=100&photo%5Bis_profile%5D=true&photo%5Bsize%5D=200&photo%5Bthumbnail%5D=thumbnail&photo%5Btitle%5D=some+title&photo%5Buploaded_data%5D=%23%3CActionController%3A%3ATestUploadedFile%3A0xb653ddf4%3E&photo%5Buser_id%5D=1&photo%5Bwidth%5D=75] + SQL (0.2ms) SELECT count(*) AS count_all FROM `photos`  + SQL (71.8ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Photo Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`id` = 1)  + + +Processing PhotosController#edit (for 0.0.0.0 at 2010-12-21 22:14:34) [GET] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + Photo Load (0.1ms) SELECT * FROM `photos` WHERE (`photos`.`id` = 1)  +Rendering template within layouts/application +Rendering photos/edit + Tag Load (0.5ms) SELECT `tags`.* FROM `tags` INNER JOIN `taggings` ON `tags`.id = `taggings`.tag_id WHERE ((`taggings`.taggable_id = 1) AND (`taggings`.taggable_type = 'Photo') AND (context = 'tags'))  + PhotoAlbum Load (0.2ms) SELECT * FROM `photo_albums`  +Rendered layouts/_widgets (0.1ms) + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + + +Processing PhotosController#index (for 0.0.0.0 at 2010-12-21 22:14:34) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + Photo Load (0.4ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` IS NULL AND `photos`.`is_profile` IS NULL)  +Rendering template within layouts/application +Rendering photos/index + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  +Rendered photos/_photo_brief (2.4ms) + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  +Rendered photos/_photo_brief (2.1ms) +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + + +Processing PhotosController#new (for 0.0.0.0 at 2010-12-21 22:14:34) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 +Rendering template within layouts/application +Rendering photos/new +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Photo Load (0.1ms) SELECT * FROM `photos` WHERE (`photos`.`id` = 1)  + + +Processing PhotosController#show (for 0.0.0.0 at 2010-12-21 22:14:34) [GET] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + Photo Load (0.1ms) SELECT * FROM `photos` WHERE (`photos`.`id` = 1)  + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 +Rendering template within layouts/application +Rendering photos/show + Tag Load (0.2ms) SELECT `tags`.* FROM `tags` INNER JOIN `taggings` ON `tags`.id = `taggings`.tag_id WHERE ((`taggings`.taggable_id = 1) AND (`taggings`.taggable_type = 'Photo') AND (context = 'tags'))  + Role Load (0.1ms) SELECT `roles`.* FROM `roles` INNER JOIN `permissions` ON `roles`.id = `permissions`.role_id WHERE ((`permissions`.user_id = 1))  + Comment Load (0.1ms) SELECT * FROM `comments` WHERE (`comments`.commentable_id = 1 AND `comments`.commentable_type = 'Photo') ORDER BY created_at ASC +Rendered photos/_photo_comments (1.6ms) +Rendered photos/_photo_comment_form (1.0ms) +Rendered layouts/_widgets (0.1ms) + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Photo Load (0.1ms) SELECT * FROM `photos` WHERE (`photos`.`id` = 1)  + + +Processing PhotosController#update (for 0.0.0.0 at 2010-12-21 22:14:34) [PUT] + Parameters: {"photo"=>{"size"=>"200", "title"=>"some title", "content_type"=>"image/png", "is_profile"=>true, "thumbnail"=>"thumbnail", "user_id"=>1, "filename"=>"filename", "description"=>"some desc"}, "id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + Photo Load (0.1ms) SELECT * FROM `photos` WHERE (`photos`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + Photo Update (0.4ms) UPDATE `photos` SET `updated_at` = '2010-12-22 05:14:34', `thumbnail` = 'thumbnail', `title` = 'some title', `is_profile` = 1, `content_type` = 'image/png', `filename` = 'filename', `description` = 'some desc', `size` = 200 WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/photos/1 +Completed in 8ms (DB: 2) | 302 Found [http://test.host/photos/1?photo%5Bcontent_type%5D=image%2Fpng&photo%5Bdescription%5D=some+desc&photo%5Bfilename%5D=filename&photo%5Bis_profile%5D=true&photo%5Bsize%5D=200&photo%5Bthumbnail%5D=thumbnail&photo%5Btitle%5D=some+title&photo%5Buser_id%5D=1] + SQL (43.4ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.5ms) SELECT * FROM `users` WHERE (`users`.`id` = 9)  + SQL (0.2ms) SELECT count(*) AS count_all FROM `photos`  + + +Processing ProfilePhotosController#create (for 0.0.0.0 at 2010-12-21 22:14:34) [POST] + Parameters: {"profile_photo"=>{"size"=>200, "uploaded_data"=>#>, "title"=>"some title", "is_profile"=>true, "user_id"=>9, "filename"=>"filename", "height"=>100, "description"=>"some desc", "width"=>75}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.5ms) SELECT * FROM `users` WHERE (`users`.`id` = 9) LIMIT 1 + ProfilePhoto Delete all (0.2ms) DELETE FROM `photos` WHERE (user_id = 9 AND is_profile = true)  + SQL (0.1ms) SAVEPOINT active_record_1 + ProfilePhoto Create (0.5ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 6646, '2010-12-22 05:14:34', NULL, 'some title', 'image/png', 1, NULL, '2010-12-22 05:14:34', NULL, NULL, 0, 9, NULL, 'filename', 175, 'some desc', 137, NULL) + ProfilePhoto Load (0.4ms) SELECT * FROM `photos` WHERE (`photos`.`parent_id` = 108 AND `photos`.`thumbnail` = 'small') LIMIT 1 + ProfilePhoto Create (0.6ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 30991, '2010-12-22 05:14:34', NULL, NULL, 'image/png', NULL, 'small', '2010-12-22 05:14:34', NULL, NULL, 0, NULL, 108, 'filename_small', 48, NULL, 38, NULL) + ProfilePhoto Load (0.4ms) SELECT * FROM `photos` WHERE (`photos`.`parent_id` = 108 AND `photos`.`thumbnail` = 'medium') LIMIT 1 + ProfilePhoto Create (0.5ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 30991, '2010-12-22 05:14:34', NULL, NULL, 'image/png', NULL, 'medium', '2010-12-22 05:14:34', NULL, NULL, 0, NULL, 108, 'filename_medium', 82, NULL, 64, NULL) + ProfilePhoto Load (0.4ms) SELECT * FROM `photos` WHERE (`photos`.`parent_id` = 108 AND `photos`.`thumbnail` = 'member') LIMIT 1 + ProfilePhoto Create (0.6ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 30991, '2010-12-22 05:14:34', NULL, NULL, 'image/png', NULL, 'member', '2010-12-22 05:14:34', NULL, NULL, 0, NULL, 108, 'filename_member', 96, NULL, 75, NULL) + ProfilePhoto Load (0.4ms) SELECT * FROM `photos` WHERE (`photos`.`parent_id` = 108 AND `photos`.`thumbnail` = 'thumb') LIMIT 1 + ProfilePhoto Create (0.3ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 30991, '2010-12-22 05:14:34', NULL, NULL, 'image/png', NULL, 'thumb', '2010-12-22 05:14:34', NULL, NULL, 0, NULL, 108, 'filename_thumb', 32, NULL, 25, NULL) + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/users/9/edit +Completed in 293ms (DB: 49) | 302 Found [http://test.host/profile_photos?profile_photo%5Bdescription%5D=some+desc&profile_photo%5Bfilename%5D=filename&profile_photo%5Bheight%5D=100&profile_photo%5Bis_profile%5D=true&profile_photo%5Bsize%5D=200&profile_photo%5Btitle%5D=some+title&profile_photo%5Buploaded_data%5D=%23%3CActionController%3A%3ATestUploadedFile%3A0xb6215154%3E&profile_photo%5Buser_id%5D=9&profile_photo%5Bwidth%5D=75] + SQL (0.4ms) SELECT count(*) AS count_all FROM `photos`  + SQL (47.6ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 9)  + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (0.2ms) SELECT count(*) AS count_all FROM `photos`  + + +Processing ProfilePhotosController#create (for 0.0.0.0 at 2010-12-21 22:14:35) [POST] + Parameters: {"profile_photo"=>{"size"=>200, "uploaded_data"=>#>, "title"=>"some title", "is_profile"=>true, "user_id"=>1, "filename"=>"filename", "height"=>100, "description"=>"some desc", "width"=>75}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + ProfilePhoto Delete all (0.2ms) DELETE FROM `photos` WHERE (user_id = 1 AND is_profile = true)  + SQL (0.1ms) SAVEPOINT active_record_1 + ProfilePhoto Create (0.3ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 6646, '2010-12-22 05:14:35', NULL, 'some title', 'image/png', 1, NULL, '2010-12-22 05:14:35', NULL, NULL, 0, 1, NULL, 'filename', 175, 'some desc', 137, NULL) + ProfilePhoto Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`parent_id` = 113 AND `photos`.`thumbnail` = 'small') LIMIT 1 + ProfilePhoto Create (0.5ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 30991, '2010-12-22 05:14:35', NULL, NULL, 'image/png', NULL, 'small', '2010-12-22 05:14:35', NULL, NULL, 0, NULL, 113, 'filename_small', 48, NULL, 38, NULL) + ProfilePhoto Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`parent_id` = 113 AND `photos`.`thumbnail` = 'medium') LIMIT 1 + ProfilePhoto Create (0.5ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 30991, '2010-12-22 05:14:35', NULL, NULL, 'image/png', NULL, 'medium', '2010-12-22 05:14:35', NULL, NULL, 0, NULL, 113, 'filename_medium', 82, NULL, 64, NULL) + ProfilePhoto Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`parent_id` = 113 AND `photos`.`thumbnail` = 'member') LIMIT 1 + ProfilePhoto Create (0.3ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 30991, '2010-12-22 05:14:35', NULL, NULL, 'image/png', NULL, 'member', '2010-12-22 05:14:35', NULL, NULL, 0, NULL, 113, 'filename_member', 96, NULL, 75, NULL) + ProfilePhoto Load (0.4ms) SELECT * FROM `photos` WHERE (`photos`.`parent_id` = 113 AND `photos`.`thumbnail` = 'thumb') LIMIT 1 + ProfilePhoto Create (0.3ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 30991, '2010-12-22 05:14:35', NULL, NULL, 'image/png', NULL, 'thumb', '2010-12-22 05:14:35', NULL, NULL, 0, NULL, 113, 'filename_thumb', 32, NULL, 25, NULL) + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/users/1/edit +Completed in 119ms (DB: 52) | 302 Found [http://test.host/profile_photos?profile_photo%5Bdescription%5D=some+desc&profile_photo%5Bfilename%5D=filename&profile_photo%5Bheight%5D=100&profile_photo%5Bis_profile%5D=true&profile_photo%5Bsize%5D=200&profile_photo%5Btitle%5D=some+title&profile_photo%5Buploaded_data%5D=%23%3CActionController%3A%3ATestUploadedFile%3A0xb64ffb30%3E&profile_photo%5Buser_id%5D=1&profile_photo%5Bwidth%5D=75] + SQL (0.2ms) SELECT count(*) AS count_all FROM `photos`  + SQL (77.3ms) ROLLBACK + SQL (0.0ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (0.2ms) SELECT count(*) AS count_all FROM `projects`  + + +Processing ProjectsController#create (for 0.0.0.0 at 2010-12-21 22:14:35) [POST] + Parameters: {"project"=>{"name"=>"My Super Project", "url"=>"http://www.myproject.org", "user_id"=>1, "description"=>"About my project."}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + SQL (0.3ms) SAVEPOINT active_record_1 + Project Create (1.6ms) INSERT INTO `projects` (`name`, `created_at`, `updated_at`, `url`, `user_id`, `description`) VALUES('My Super Project', '2010-12-22 05:14:35', '2010-12-22 05:14:35', 'http://www.myproject.org', 1, 'About my project.') + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Activity Create (0.2ms) INSERT INTO `activities` (`created_at`, `public`, `updated_at`, `action`, `user_id`, `item_id`, `item_type`) VALUES('2010-12-22 05:14:35', 1, '2010-12-22 05:14:35', NULL, 1, 4, 'Project') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/projects +Completed in 23ms (DB: 80) | 302 Found [http://test.host/projects?project%5Bdescription%5D=About+my+project.&project%5Bname%5D=My+Super+Project&project%5Burl%5D=http%3A%2F%2Fwww.myproject.org&project%5Buser_id%5D=1] + SQL (0.2ms) SELECT count(*) AS count_all FROM `projects`  + SQL (40.5ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (0.2ms) SELECT count(*) AS count_all FROM `projects`  + Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  + + +Processing ProjectsController#destroy (for 0.0.0.0 at 2010-12-21 22:14:35) [DELETE] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + Project Destroy (0.2ms) DELETE FROM `projects` WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/projects +Completed in 4ms (DB: 42) | 302 Found [http://test.host/projects/1] + SQL (0.2ms) SELECT count(*) AS count_all FROM `projects`  + SQL (43.4ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Project Load (0.6ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  + + +Processing ProjectsController#edit (for 0.0.0.0 at 2010-12-21 22:14:35) [GET] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  +Rendering template within layouts/application +Rendering projects/edit +Rendered projects/_project_form (4.3ms) +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + + +Processing ProjectsController#index (for 0.0.0.0 at 2010-12-21 22:14:35) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + Project Load (0.3ms) SELECT * FROM `projects`  +Rendering template within layouts/application + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + Role Load (0.1ms) SELECT `roles`.* FROM `roles` INNER JOIN `permissions` ON `roles`.id = `permissions`.role_id WHERE ((`permissions`.user_id = 1))  + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  +Rendered projects/_projects_canvas (13.6ms) +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + + +Processing ProjectsController#new (for 0.0.0.0 at 2010-12-21 22:14:35) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 +Rendering template within layouts/application +Rendering projects/new +Rendered projects/_project_form (2.4ms) +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.0ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  + + +Processing ProjectsController#show (for 0.0.0.0 at 2010-12-21 22:14:35) [GET] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  +Rendering template within layouts/application +Rendering projects/projects_show +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  + + +Processing ProjectsController#update (for 0.0.0.0 at 2010-12-21 22:14:35) [PUT] + Parameters: {"project"=>{"name"=>"My Super Project", "url"=>"http://www.myproject.org", "user_id"=>1, "description"=>"About my project."}, "id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + Project Update (2.1ms) UPDATE `projects` SET `updated_at` = '2010-12-22 05:14:35', `name` = 'My Super Project', `description` = 'About my project.', `url` = 'http://www.myproject.org' WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/projects +Completed in 9ms (DB: 3) | 302 Found [http://test.host/projects/1?project%5Bdescription%5D=About+my+project.&project%5Bname%5D=My+Super+Project&project%5Burl%5D=http%3A%2F%2Fwww.myproject.org&project%5Buser_id%5D=1] + SQL (70.6ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.3ms) SELECT count(*) AS count_all FROM `replies`  + + +Processing RepliesController#create (for 0.0.0.0 at 2010-12-21 22:14:36) [POST] + Parameters: {"reply"=>{}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + SQL (0.2ms) SAVEPOINT active_record_1 + Reply Create (0.2ms) INSERT INTO `replies` (`created_at`, `body`, `updated_at`, `user_id`, `item_id`, `item_type`) VALUES('2010-12-22 05:14:36', NULL, '2010-12-22 05:14:36', NULL, NULL, NULL) + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/replies/3 +Completed in 15ms (DB: 72) | 302 Found [http://test.host/replies?] + SQL (0.2ms) SELECT count(*) AS count_all FROM `replies`  + SQL (32.1ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.2ms) SELECT count(*) AS count_all FROM `replies`  + Reply Load (0.2ms) SELECT * FROM `replies` WHERE (`replies`.`id` = 1)  + + +Processing RepliesController#destroy (for 0.0.0.0 at 2010-12-21 22:14:36) [DELETE] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + Reply Load (0.1ms) SELECT * FROM `replies` WHERE (`replies`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + Reply Destroy (0.2ms) DELETE FROM `replies` WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/replies +Completed in 4ms (DB: 33) | 302 Found [http://test.host/replies/1] + SQL (0.2ms) SELECT count(*) AS count_all FROM `replies`  + SQL (35.4ms) ROLLBACK + SQL (0.1ms) BEGIN + Reply Load (0.3ms) SELECT * FROM `replies` WHERE (`replies`.`id` = 1)  + + +Processing RepliesController#edit (for 0.0.0.0 at 2010-12-21 22:14:36) [GET] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + Reply Load (0.1ms) SELECT * FROM `replies` WHERE (`replies`.`id` = 1)  +Rendering template within layouts/application +Rendering replies/edit +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing RepliesController#new (for 0.0.0.0 at 2010-12-21 22:14:36) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Rendering template within layouts/application +Rendering replies/new +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.0ms) BEGIN + Reply Load (2.5ms) SELECT * FROM `replies` WHERE (`replies`.`id` = 1)  + + +Processing RepliesController#update (for 0.0.0.0 at 2010-12-21 22:14:36) [PUT] + Parameters: {"reply"=>{}, "id"=>"1"} + Theme Load (6.1ms) SELECT * FROM `themes` LIMIT 1 + Reply Load (0.1ms) SELECT * FROM `replies` WHERE (`replies`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/replies/1 +Completed in 18ms (DB: 9) | 302 Found [http://test.host/replies/1?] + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (1.6ms) SELECT count(*) AS count_all FROM `rss_feeds`  + + +Processing RssFeedsController#create (for 0.0.0.0 at 2010-12-21 22:14:36) [POST] + Parameters: {"rss_feed"=>{}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + SQL (0.5ms) SAVEPOINT active_record_1 + RssFeed Create (0.7ms) INSERT INTO `rss_feeds` (`name`, `is_blog`, `created_at`, `updated_at`, `url`, `user_id`) VALUES(NULL, NULL, '2010-12-22 05:14:36', '2010-12-22 05:14:36', NULL, NULL) + SQL (0.3ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/rss_feeds/3 +Completed in 239ms (DB: 3) | 302 Found [http://test.host/rss_feeds?] + SQL (0.3ms) SELECT count(*) AS count_all FROM `rss_feeds`  + SQL (77.5ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.3ms) SELECT count(*) AS count_all FROM `rss_feeds`  + RssFeed Load (0.3ms) SELECT * FROM `rss_feeds` WHERE (`rss_feeds`.`id` = 1)  + + +Processing RssFeedsController#destroy (for 0.0.0.0 at 2010-12-21 22:14:36) [DELETE] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + RssFeed Load (0.1ms) SELECT * FROM `rss_feeds` WHERE (`rss_feeds`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + RssFeed Destroy (0.2ms) DELETE FROM `rss_feeds` WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/rss_feeds +Completed in 5ms (DB: 79) | 302 Found [http://test.host/rss_feeds/1] + SQL (0.5ms) SELECT count(*) AS count_all FROM `rss_feeds`  + SQL (37.4ms) ROLLBACK + SQL (0.1ms) BEGIN + RssFeed Load (0.7ms) SELECT * FROM `rss_feeds` WHERE (`rss_feeds`.`id` = 1)  + + +Processing RssFeedsController#edit (for 0.0.0.0 at 2010-12-21 22:14:36) [GET] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + RssFeed Load (0.1ms) SELECT * FROM `rss_feeds` WHERE (`rss_feeds`.`id` = 1)  +Rendering template within layouts/application +Rendering rss_feeds/edit +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.0ms) BEGIN + + +Processing RssFeedsController#index (for 0.0.0.0 at 2010-12-21 22:14:36) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + RssFeed Load (0.3ms) SELECT * FROM `rss_feeds`  +Rendering template within layouts/application +Rendering rss_feeds/index +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing RssFeedsController#new (for 0.0.0.0 at 2010-12-21 22:14:36) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Rendering template within layouts/application +Rendering rss_feeds/new +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + RssFeed Load (0.1ms) SELECT * FROM `rss_feeds` WHERE (`rss_feeds`.`id` = 1)  + + +Processing RssFeedsController#update (for 0.0.0.0 at 2010-12-21 22:14:37) [PUT] + Parameters: {"rss_feed"=>{}, "id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + RssFeed Load (0.1ms) SELECT * FROM `rss_feeds` WHERE (`rss_feeds`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/rss_feeds/1 +Completed in 5ms (DB: 1) | 302 Found [http://test.host/rss_feeds/1?] + SQL (0.1ms) ROLLBACK + SQL (0.0ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + + +Processing SessionsController#destroy (for 0.0.0.0 at 2010-12-21 22:14:37) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + SQL (0.1ms) SAVEPOINT active_record_1 + User Load (0.6ms) SELECT `users`.* FROM `users` INNER JOIN `permissions` ON permissions.user_id = users.id WHERE (role_id = 2)  + User Load (0.4ms) SELECT `users`.* FROM `users` INNER JOIN `permissions` ON permissions.user_id = users.id WHERE (role_id = 1)  + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/ +Completed in 38ms (DB: 2) | 302 Found [http://test.host/session] + SQL (0.1ms) ROLLBACK + SQL (0.0ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + User Update (0.4ms) UPDATE `users` SET `updated_at` = '2010-12-22 05:14:37', `remember_token_expires_at` = '2011-01-05 05:14:37', `remember_token` = '6585991c4edfd619158c9aa47813650e2a92d8a2' WHERE `id` = 1 + User Load (0.7ms) SELECT `users`.* FROM `users` INNER JOIN `permissions` ON permissions.user_id = users.id WHERE (role_id = 2)  + User Load (0.5ms) SELECT `users`.* FROM `users` INNER JOIN `permissions` ON permissions.user_id = users.id WHERE (role_id = 1)  + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + + +Processing SessionsController#new (for 0.0.0.0 at 2010-12-21 22:14:37) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Rendering template within layouts/application +Rendering sessions/new + SQL (118.3ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.5ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + User Update (0.4ms) UPDATE `users` SET `updated_at` = '2010-12-22 05:14:37', `remember_token_expires_at` = '2011-01-05 05:14:37', `remember_token` = '6585991c4edfd619158c9aa47813650e2a92d8a2' WHERE `id` = 1 + User Load (0.5ms) SELECT `users`.* FROM `users` INNER JOIN `permissions` ON permissions.user_id = users.id WHERE (role_id = 2)  + User Load (0.4ms) SELECT `users`.* FROM `users` INNER JOIN `permissions` ON permissions.user_id = users.id WHERE (role_id = 1)  + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + User Update (0.2ms) UPDATE `users` SET `updated_at` = '2010-12-22 05:14:37', `remember_token_expires_at` = '2010-12-22 05:09:37' WHERE `id` = 1 + User Load (0.4ms) SELECT `users`.* FROM `users` INNER JOIN `permissions` ON permissions.user_id = users.id WHERE (role_id = 2)  + User Load (0.4ms) SELECT `users`.* FROM `users` INNER JOIN `permissions` ON permissions.user_id = users.id WHERE (role_id = 1)  + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + + +Processing SessionsController#new (for 0.0.0.0 at 2010-12-21 22:14:37) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Rendering template within layouts/application +Rendering sessions/new + SQL (69.5ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing SessionsController#create (for 0.0.0.0 at 2010-12-21 22:14:37) [POST] + Parameters: {"login"=>"quentin", "password"=>"bad password"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.5ms) SELECT * FROM `users` WHERE (`users`.`login` = 'quentin') LIMIT 1 +Rendering template within layouts/application +Rendering sessions/new + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing SessionsController#create (for 0.0.0.0 at 2010-12-21 22:14:37) [POST] + Parameters: {"login"=>"quentin", "password"=>"test"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`login` = 'quentin') LIMIT 1 +Rendering template within layouts/application +Rendering sessions/new + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.5ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + User Update (0.3ms) UPDATE `users` SET `updated_at` = '2010-12-22 05:14:37', `remember_token_expires_at` = '2011-01-05 05:14:37', `remember_token` = '6585991c4edfd619158c9aa47813650e2a92d8a2' WHERE `id` = 1 + User Load (0.5ms) SELECT `users`.* FROM `users` INNER JOIN `permissions` ON permissions.user_id = users.id WHERE (role_id = 2)  + User Load (0.4ms) SELECT `users`.* FROM `users` INNER JOIN `permissions` ON permissions.user_id = users.id WHERE (role_id = 1)  + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + + +Processing SessionsController#new (for 0.0.0.0 at 2010-12-21 22:14:37) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Rendering template within layouts/application +Rendering sessions/new + SQL (75.6ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.6ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + + +Processing SessionsController#destroy (for 0.0.0.0 at 2010-12-21 22:14:38) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.5ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + SQL (0.1ms) SAVEPOINT active_record_1 + User Load (0.5ms) SELECT `users`.* FROM `users` INNER JOIN `permissions` ON permissions.user_id = users.id WHERE (role_id = 2)  + User Load (0.5ms) SELECT `users`.* FROM `users` INNER JOIN `permissions` ON permissions.user_id = users.id WHERE (role_id = 1)  + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/ +Completed in 11ms (DB: 78) | 302 Found [http://test.host/session] + SQL (0.1ms) ROLLBACK + SQL (0.0ms) BEGIN + + +Processing SessionsController#create (for 0.0.0.0 at 2010-12-21 22:14:38) [POST] + Parameters: {"remember_me"=>"0", "login"=>"quentin", "password"=>"test"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.6ms) SELECT * FROM `users` WHERE (`users`.`login` = 'quentin') LIMIT 1 +Rendering template within layouts/application +Rendering sessions/new + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing SessionsController#create (for 0.0.0.0 at 2010-12-21 22:14:38) [POST] + Parameters: {"remember_me"=>"1", "login"=>"quentin", "password"=>"test"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`login` = 'quentin') LIMIT 1 +Rendering template within layouts/application +Rendering sessions/new + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (0.4ms) SELECT count(*) AS count_all FROM `status_posts`  + + +Processing StatusPostsController#create (for 0.0.0.0 at 2010-12-21 22:14:38) [POST] + Parameters: {"status_post"=>{"body"=>"My new status"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + SQL (0.1ms) SAVEPOINT active_record_1 + StatusPost Create (0.2ms) INSERT INTO `status_posts` (`created_at`, `body`, `updated_at`, `user_id`) VALUES('2010-12-22 05:14:38', 'My new status', '2010-12-22 05:14:38', 1) + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Activity Create (0.2ms) INSERT INTO `activities` (`created_at`, `public`, `updated_at`, `action`, `user_id`, `item_id`, `item_type`) VALUES('2010-12-22 05:14:38', 1, '2010-12-22 05:14:38', NULL, 1, 4, 'StatusPost') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Completed in 228ms (View: 213, DB: 2) | 201 Created [http://test.host/status_posts?status_post%5Bbody%5D=My+new+status] + SQL (0.3ms) SELECT count(*) AS count_all FROM `status_posts`  + SQL (44.5ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (0.3ms) SELECT count(*) AS count_all FROM `status_posts`  + StatusPost Load (0.3ms) SELECT * FROM `status_posts` WHERE (`status_posts`.`id` = 1)  + + +Processing StatusPostsController#destroy (for 0.0.0.0 at 2010-12-21 22:14:38) [DELETE] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + StatusPost Load (0.1ms) SELECT * FROM `status_posts` WHERE (`status_posts`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + Like Load (0.5ms) SELECT * FROM `likes` WHERE (`likes`.likable_id = 1 AND `likes`.likable_type = 'StatusPost')  + StatusPost Destroy (0.2ms) DELETE FROM `status_posts` WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/status_posts +Completed in 27ms (DB: 47) | 302 Found [http://test.host/status_posts/1] + SQL (0.2ms) SELECT count(*) AS count_all FROM `status_posts`  + SQL (57.6ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + StatusPost Load (0.3ms) SELECT * FROM `status_posts` WHERE (`status_posts`.`id` = 1)  + + +Processing StatusPostsController#edit (for 0.0.0.0 at 2010-12-21 22:14:38) [GET] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + StatusPost Load (0.1ms) SELECT * FROM `status_posts` WHERE (`status_posts`.`id` = 1)  +Rendering template within layouts/application +Rendering status_posts/edit +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing StatusPostsController#index (for 0.0.0.0 at 2010-12-21 22:14:38) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + StatusPost Load (0.3ms) SELECT * FROM `status_posts`  +Rendering template within layouts/application +Rendering status_posts/index +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + + +Processing StatusPostsController#new (for 0.0.0.0 at 2010-12-21 22:14:38) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 +Rendering template within layouts/application +Rendering status_posts/new +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.0ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + StatusPost Load (0.1ms) SELECT * FROM `status_posts` WHERE (`status_posts`.`id` = 1)  + + +Processing StatusPostsController#update (for 0.0.0.0 at 2010-12-21 22:14:38) [PUT] + Parameters: {"id"=>"1", "status_post"=>{"body"=>"Updated Status Post"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + StatusPost Load (0.1ms) SELECT * FROM `status_posts` WHERE (`status_posts`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + StatusPost Update (0.3ms) UPDATE `status_posts` SET `updated_at` = '2010-12-22 05:14:38', `body` = 'Updated Status Post' WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/status_posts/1 +Completed in 6ms (DB: 1) | 302 Found [http://test.host/status_posts/1?status_post%5Bbody%5D=Updated+Status+Post] + SQL (44.7ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing UsersController#index (for 0.0.0.0 at 2010-12-21 22:14:38) [GET] + Parameters: {"page"=>"2"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (1.5ms) SELECT * FROM `users` WHERE (activated_at is not null) ORDER BY created_at ASC LIMIT 10, 10 + ProfilePhoto Load (0.5ms) SELECT `photos`.* FROM `photos` WHERE (`photos`.user_id IN (13,14,15,16,17,18,19,20,21,22) AND (is_profile = 1))  + SQL (0.4ms) SELECT count(*) AS count_all FROM `users` WHERE (activated_at is not null)  + SQL (0.1ms) SELECT count(*) AS count_all FROM `users` WHERE (activated_at is not null)  +Rendering template within layouts/application +Rendering users/index +Rendered users/_user_brief (1.2ms) +Rendered users/_user_brief (0.9ms) +Rendered users/_user_brief (0.9ms) +Rendered users/_user_brief (0.9ms) +Rendered users/_user_brief (0.9ms) +Rendered users/_user_brief (0.9ms) +Rendered users/_user_brief (0.9ms) +Rendered users/_user_brief (0.8ms) +Rendered users/_user_brief (0.9ms) +Rendered users/_user_brief (0.9ms) +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing UsersController#index (for 0.0.0.0 at 2010-12-21 22:14:39) [GET] + Parameters: {"sort_field"=>"last_name"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (1.4ms) SELECT * FROM `users` WHERE (activated_at is not null) ORDER BY last_name ASC LIMIT 0, 10 + ProfilePhoto Load (0.4ms) SELECT `photos`.* FROM `photos` WHERE (`photos`.user_id IN (5,3,6,1,7,8,9,10,11,12) AND (is_profile = 1))  + SQL (0.1ms) SELECT count(*) AS count_all FROM `users` WHERE (activated_at is not null)  +Rendering template within layouts/application +Rendering users/index +Rendered users/_user_brief (1.3ms) +Rendered users/_user_brief (1.0ms) +Rendered users/_user_brief (1.0ms) +Rendered users/_user_brief (2.2ms) +Rendered users/_user_brief (1.0ms) +Rendered users/_user_brief (2.1ms) +Rendered users/_user_brief (1.0ms) +Rendered users/_user_brief (1.0ms) +Rendered users/_user_brief (0.9ms) +Rendered users/_user_brief (0.9ms) +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.9ms) SELECT * FROM `users` WHERE (login = 'aaron' and activated_at IS NOT NULL) LIMIT 1 + User Load (0.4ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  + + +Processing UsersController#activate (for 0.0.0.0 at 2010-12-21 22:14:39) [GET] + Parameters: {"activation_code"=>"8f24789ae988411ccf33ab0c30fe9106fab32e9a"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.6ms) SELECT * FROM `users` WHERE (`users`.`activation_code` = '8f24789ae988411ccf33ab0c30fe9106fab32e9a') LIMIT 1 + SQL (0.1ms) SAVEPOINT active_record_1 + User Update (0.4ms) UPDATE `users` SET `updated_at` = '2010-12-22 05:14:39', `activated_at` = '2010-12-22 05:14:39', `activation_code` = NULL WHERE `id` = 2 + Network Load (0.2ms) SELECT * FROM `networks` LIMIT 1 +Sent mail to aaron@example.com + +Date: Tue, 21 Dec 2010 22:14:39 -0700 +To: aaron@example.com +Subject: [Test Network] Your account has been activated! +Mime-Version: 1.0 +Content-Type: text/plain; charset=utf-8 + + +aaron, your account has been activated. You may now log in to the site: + + + User Load (0.5ms) SELECT `users`.* FROM `users` INNER JOIN `permissions` ON permissions.user_id = users.id WHERE (role_id = 2)  + User Load (0.4ms) SELECT `users`.* FROM `users` INNER JOIN `permissions` ON permissions.user_id = users.id WHERE (role_id = 1)  + Network Load (0.1ms) SELECT * FROM `networks` LIMIT 1 + User Load (0.5ms) SELECT `users`.* FROM `users` INNER JOIN `permissions` ON permissions.user_id = users.id WHERE (role_id = 2)  + User Load (0.4ms) SELECT `users`.* FROM `users` INNER JOIN `permissions` ON permissions.user_id = users.id WHERE (role_id = 1)  +Sent mail to quentin@example.com,bobby@example.com + +Date: Tue, 21 Dec 2010 22:14:39 -0700 +To: quentin@example.com, bobby@example.com +Subject: [Test Network] New User Activated +Mime-Version: 1.0 +Content-Type: text/plain; charset=utf-8 + + +A new user has been activated on RubyMI: + +aaron + + + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Activity Create (0.2ms) INSERT INTO `activities` (`created_at`, `public`, `updated_at`, `action`, `user_id`, `item_id`, `item_type`) VALUES('2010-12-22 05:14:39', 1, '2010-12-22 05:14:39', NULL, 2, 2, 'User') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Rendering template within layouts/application +Rendering users/activate_complete + ProfilePhoto Load (0.4ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 2 AND (is_profile = 1)) LIMIT 1 + Role Load (21.8ms) SELECT `roles`.* FROM `roles` INNER JOIN `permissions` ON `roles`.id = `permissions`.role_id WHERE ((`permissions`.user_id = 2))  +Rendered users/_user_control_widget (179.1ms) +Rendered layouts/_widgets (0.1ms) + SQL (61.6ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.3ms) SELECT count(*) AS count_all FROM `users`  + + +Processing UsersController#create (for 0.0.0.0 at 2010-12-21 22:14:39) [POST] + Parameters: {"user"=>{"about_me"=>"this is about me", "password_confirmation"=>"quire", "last_name"=>"user", "login"=>"quire", "password"=>"quire", "first_name"=>"test", "email"=>"quire@example.com"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing UsersController#index (for 0.0.0.0 at 2010-12-21 22:14:39) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (1.3ms) SELECT * FROM `users` WHERE (activated_at is not null) ORDER BY created_at ASC LIMIT 0, 10 + ProfilePhoto Load (0.4ms) SELECT `photos`.* FROM `photos` WHERE (`photos`.user_id IN (1,3,5,6,7,8,9,10,11,12) AND (is_profile = 1))  + SQL (0.4ms) SELECT count(*) AS count_all FROM `users` WHERE (activated_at is not null)  + SQL (0.1ms) SELECT count(*) AS count_all FROM `users` WHERE (activated_at is not null)  +Rendering template within layouts/application +Rendering users/index +Rendered users/_user_brief (2.2ms) +Rendered users/_user_brief (0.9ms) +Rendered users/_user_brief (0.9ms) +Rendered users/_user_brief (0.9ms) +Rendered users/_user_brief (1.0ms) +Rendered users/_user_brief (2.0ms) +Rendered users/_user_brief (1.0ms) +Rendered users/_user_brief (0.9ms) +Rendered users/_user_brief (0.9ms) +Rendered users/_user_brief (1.0ms) +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing UsersController#activate (for 0.0.0.0 at 2010-12-21 22:14:39) [GET] + Parameters: {"activation_code"=>""} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Redirected to http://test.host/ +Completed in 2ms (DB: 0) | 302 Found [http://test.host/activate/] + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing UsersController#activate (for 0.0.0.0 at 2010-12-21 22:14:39) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Redirected to http://test.host/ +Completed in 2ms (DB: 0) | 302 Found [http://test.host/activate] + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.1ms) SELECT count(*) AS count_all FROM `users`  + + +Processing UsersController#create (for 0.0.0.0 at 2010-12-21 22:14:39) [POST] + Parameters: {"user"=>{"about_me"=>"this is about me", "password_confirmation"=>"quire", "last_name"=>"user", "login"=>"quire", "password"=>"quire", "first_name"=>"test", "email"=>nil}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.1ms) SELECT count(*) AS count_all FROM `users`  + + +Processing UsersController#create (for 0.0.0.0 at 2010-12-21 22:14:39) [POST] + Parameters: {"user"=>{"about_me"=>"this is about me", "password_confirmation"=>"quire", "last_name"=>"user", "login"=>nil, "password"=>"quire", "first_name"=>"test", "email"=>"quire@example.com"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.1ms) SELECT count(*) AS count_all FROM `users`  + + +Processing UsersController#create (for 0.0.0.0 at 2010-12-21 22:14:39) [POST] + Parameters: {"user"=>{"about_me"=>"this is about me", "password_confirmation"=>nil, "last_name"=>"user", "login"=>"quire", "password"=>"quire", "first_name"=>"test", "email"=>"quire@example.com"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.1ms) SELECT count(*) AS count_all FROM `users`  + + +Processing UsersController#create (for 0.0.0.0 at 2010-12-21 22:14:39) [POST] + Parameters: {"user"=>{"about_me"=>"this is about me", "password_confirmation"=>"quire", "last_name"=>"user", "login"=>"quire", "password"=>nil, "first_name"=>"test", "email"=>"quire@example.com"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing UsersController#create (for 0.0.0.0 at 2010-12-21 22:14:39) [POST] + Parameters: {"user"=>{"about_me"=>"this is about me", "password_confirmation"=>"quire", "last_name"=>"user", "login"=>"quire", "password"=>"quire", "first_name"=>"test", "email"=>"quire@example.com"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.2ms) SELECT count(*) AS count_all FROM `videos`  + + +Processing VideosController#create (for 0.0.0.0 at 2010-12-21 22:14:39) [POST] + Parameters: {"video"=>{}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + SQL (0.1ms) SAVEPOINT active_record_1 + Video Create (0.2ms) INSERT INTO `videos` (`created_at`, `updated_at`) VALUES('2010-12-22 05:14:39', '2010-12-22 05:14:39') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/videos/3 +Completed in 11ms (DB: 2) | 302 Found [http://test.host/videos?] + SQL (0.2ms) SELECT count(*) AS count_all FROM `videos`  + SQL (381.3ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.3ms) SELECT count(*) AS count_all FROM `videos`  + Video Load (0.2ms) SELECT * FROM `videos` WHERE (`videos`.`id` = 1)  + + +Processing VideosController#destroy (for 0.0.0.0 at 2010-12-21 22:14:40) [DELETE] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + Video Load (0.1ms) SELECT * FROM `videos` WHERE (`videos`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + Video Destroy (0.2ms) DELETE FROM `videos` WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/videos +Completed in 4ms (DB: 383) | 302 Found [http://test.host/videos/1] + SQL (0.2ms) SELECT count(*) AS count_all FROM `videos`  + SQL (37.1ms) ROLLBACK + SQL (0.1ms) BEGIN + Video Load (0.3ms) SELECT * FROM `videos` WHERE (`videos`.`id` = 1)  + + +Processing VideosController#edit (for 0.0.0.0 at 2010-12-21 22:14:40) [GET] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + Video Load (0.1ms) SELECT * FROM `videos` WHERE (`videos`.`id` = 1)  +Rendering template within layouts/application +Rendering videos/edit +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing VideosController#index (for 0.0.0.0 at 2010-12-21 22:14:40) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + Video Load (0.3ms) SELECT * FROM `videos`  +Rendering template within layouts/application +Rendering videos/index +Rendered layouts/_widgets (0.1ms) + SQL (0.1ms) ROLLBACK + SQL (0.0ms) BEGIN + + +Processing VideosController#new (for 0.0.0.0 at 2010-12-21 22:14:40) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Rendering template within layouts/application +Rendering videos/new +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + Video Load (0.1ms) SELECT * FROM `videos` WHERE (`videos`.`id` = 1)  + + +Processing VideosController#show (for 0.0.0.0 at 2010-12-21 22:14:40) [GET] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + Video Load (0.1ms) SELECT * FROM `videos` WHERE (`videos`.`id` = 1)  +Rendering template within layouts/application +Rendering videos/show +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + Video Load (0.1ms) SELECT * FROM `videos` WHERE (`videos`.`id` = 1)  + + +Processing VideosController#update (for 0.0.0.0 at 2010-12-21 22:14:40) [PUT] + Parameters: {"id"=>"1", "video"=>{}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + Video Load (0.1ms) SELECT * FROM `videos` WHERE (`videos`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/videos/1 +Completed in 5ms (DB: 1) | 302 Found [http://test.host/videos/1?] + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.6ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (0.2ms) SELECT count(*) AS count_all FROM `wall_posts`  + + +Processing WallPostsController#create (for 0.0.0.0 at 2010-12-21 22:14:40) [POST] + Parameters: {"wall_post"=>{"user_id"=>1, "sender_id"=>1, "message"=>"Hello World"}, "event_id"=>"2"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.5ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + SQL (0.1ms) SAVEPOINT active_record_1 + WallPost Create (0.3ms) INSERT INTO `wall_posts` (`created_at`, `event_id`, `updated_at`, `group_id`, `user_id`, `sender_id`, `message`) VALUES('2010-12-22 05:14:40', 2, '2010-12-22 05:14:40', NULL, 1, 1, 'Hello World') + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Network Load (0.1ms) SELECT * FROM `networks` LIMIT 1 +Sent mail to quentin@example.com + +Date: Tue, 21 Dec 2010 22:14:40 -0700 +To: quentin@example.com +Subject: [Test Network] Wall Post Notification +Mime-Version: 1.0 +Content-Type: text/html; charset=utf-8 + + +A user has posted a new comment to your wall at RubyMI.org + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + Event Load (0.3ms) SELECT * FROM `events` WHERE (`events`.`id` = 2)  + WallPost Load (0.4ms) SELECT * FROM `wall_posts` WHERE (`wall_posts`.event_id = 2) ORDER BY created_at DESC + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + ProfilePhoto Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 1 AND (is_profile = 1)) LIMIT 1 +Rendered shared/_wall_posts (6.1ms) +Completed in 55ms (View: 31, DB: 4) | 200 OK [http://test.host/events/2/wall_posts?wall_post%5Bmessage%5D=Hello+World&wall_post%5Bsender_id%5D=1&wall_post%5Buser_id%5D=1] + SQL (0.2ms) SELECT count(*) AS count_all FROM `wall_posts`  + SQL (44.6ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (0.2ms) SELECT count(*) AS count_all FROM `wall_posts`  + + +Processing WallPostsController#create (for 0.0.0.0 at 2010-12-21 22:14:40) [POST] + Parameters: {"wall_post"=>{"user_id"=>1, "sender_id"=>1, "message"=>"Hello World"}, "group_id"=>"2"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + SQL (0.1ms) SAVEPOINT active_record_1 + WallPost Create (0.2ms) INSERT INTO `wall_posts` (`created_at`, `event_id`, `updated_at`, `group_id`, `user_id`, `sender_id`, `message`) VALUES('2010-12-22 05:14:40', NULL, '2010-12-22 05:14:40', 2, 1, 1, 'Hello World') + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Network Load (0.1ms) SELECT * FROM `networks` LIMIT 1 +Sent mail to quentin@example.com + +Date: Tue, 21 Dec 2010 22:14:40 -0700 +To: quentin@example.com +Subject: [Test Network] Wall Post Notification +Mime-Version: 1.0 +Content-Type: text/html; charset=utf-8 + + +A user has posted a new comment to your wall at RubyMI.org + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + Group Load (0.3ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 2)  + WallPost Load (0.4ms) SELECT * FROM `wall_posts` WHERE (`wall_posts`.group_id = 2) ORDER BY created_at DESC + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + ProfilePhoto Load (0.1ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 1 AND (is_profile = 1)) LIMIT 1 +Rendered shared/_wall_posts (5.0ms) +Completed in 231ms (View: 218, DB: 47) | 200 OK [http://test.host/groups/2/wall_posts?wall_post%5Bmessage%5D=Hello+World&wall_post%5Bsender_id%5D=1&wall_post%5Buser_id%5D=1] + SQL (0.2ms) SELECT count(*) AS count_all FROM `wall_posts`  + SQL (405.7ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (0.2ms) SELECT count(*) AS count_all FROM `wall_posts`  + + +Processing WallPostsController#create (for 0.0.0.0 at 2010-12-21 22:14:41) [POST] + Parameters: {"wall_post"=>{"user_id"=>1, "sender_id"=>1, "message"=>"Hello World"}, "user_id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + SQL (0.1ms) SAVEPOINT active_record_1 + WallPost Create (0.3ms) INSERT INTO `wall_posts` (`created_at`, `event_id`, `updated_at`, `group_id`, `user_id`, `sender_id`, `message`) VALUES('2010-12-22 05:14:41', NULL, '2010-12-22 05:14:41', NULL, 1, 1, 'Hello World') + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Network Load (0.1ms) SELECT * FROM `networks` LIMIT 1 +Sent mail to quentin@example.com + +Date: Tue, 21 Dec 2010 22:14:41 -0700 +To: quentin@example.com +Subject: [Test Network] Wall Post Notification +Mime-Version: 1.0 +Content-Type: text/html; charset=utf-8 + + +A user has posted a new comment to your wall at RubyMI.org + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + WallPost Load (0.4ms) SELECT * FROM `wall_posts` WHERE (`wall_posts`.user_id = 1) ORDER BY created_at DESC + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + ProfilePhoto Load (0.1ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 1 AND (is_profile = 1)) LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + ProfilePhoto Load (0.1ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 1 AND (is_profile = 1)) LIMIT 1 +Rendered shared/_wall_posts (7.4ms) +Completed in 54ms (View: 40, DB: 408) | 200 OK [http://test.host/users/1/wall_posts?wall_post%5Bmessage%5D=Hello+World&wall_post%5Bsender_id%5D=1&wall_post%5Buser_id%5D=1] + SQL (0.2ms) SELECT count(*) AS count_all FROM `wall_posts`  + SQL (42.2ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (0.2ms) SELECT count(*) AS count_all FROM `wall_posts`  + WallPost Load (0.2ms) SELECT * FROM `wall_posts` WHERE (`wall_posts`.`id` = 3)  + + +Processing WallPostsController#destroy (for 0.0.0.0 at 2010-12-21 22:14:41) [DELETE] + Parameters: {"id"=>"3"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + WallPost Load (0.1ms) SELECT * FROM `wall_posts` WHERE (`wall_posts`.`id` = 3)  + Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + WallPost Destroy (0.2ms) DELETE FROM `wall_posts` WHERE `id` = 3 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + WallPost Load (0.4ms) SELECT * FROM `wall_posts` WHERE (`wall_posts`.event_id = 1) ORDER BY created_at DESC +Rendered shared/_wall_posts (1.4ms) +Completed in 32ms (View: 28, DB: 44) | 200 OK [http://test.host/wall_posts/3] + SQL (0.2ms) SELECT count(*) AS count_all FROM `wall_posts`  + SQL (40.1ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (0.2ms) SELECT count(*) AS count_all FROM `wall_posts`  + WallPost Load (0.2ms) SELECT * FROM `wall_posts` WHERE (`wall_posts`.`id` = 2)  + + +Processing WallPostsController#destroy (for 0.0.0.0 at 2010-12-21 22:14:41) [DELETE] + Parameters: {"id"=>"2"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + WallPost Load (0.1ms) SELECT * FROM `wall_posts` WHERE (`wall_posts`.`id` = 2)  + Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + WallPost Destroy (0.2ms) DELETE FROM `wall_posts` WHERE `id` = 2 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + WallPost Load (0.4ms) SELECT * FROM `wall_posts` WHERE (`wall_posts`.group_id = 1) ORDER BY created_at DESC +Rendered shared/_wall_posts (1.5ms) +Completed in 233ms (View: 229, DB: 42) | 200 OK [http://test.host/wall_posts/2] + SQL (0.2ms) SELECT count(*) AS count_all FROM `wall_posts`  + SQL (37.4ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (0.2ms) SELECT count(*) AS count_all FROM `wall_posts`  + WallPost Load (0.2ms) SELECT * FROM `wall_posts` WHERE (`wall_posts`.`id` = 1)  + + +Processing WallPostsController#destroy (for 0.0.0.0 at 2010-12-21 22:14:41) [DELETE] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + WallPost Load (0.1ms) SELECT * FROM `wall_posts` WHERE (`wall_posts`.`id` = 1)  + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + WallPost Destroy (0.2ms) DELETE FROM `wall_posts` WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + WallPost Load (0.4ms) SELECT * FROM `wall_posts` WHERE (`wall_posts`.user_id = 1) ORDER BY created_at DESC +Rendered shared/_wall_posts (1.5ms) +Completed in 35ms (View: 30, DB: 39) | 200 OK [http://test.host/wall_posts/1] + SQL (0.2ms) SELECT count(*) AS count_all FROM `wall_posts`  + SQL (35.3ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + WallPost Load (0.3ms) SELECT * FROM `wall_posts` WHERE (`wall_posts`.`id` = 1)  + + +Processing WallPostsController#update (for 0.0.0.0 at 2010-12-21 22:14:42) [PUT] + Parameters: {"wall_post"=>{"user_id"=>1, "sender_id"=>1, "message"=>"New Hello World"}, "id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + WallPost Load (0.1ms) SELECT * FROM `wall_posts` WHERE (`wall_posts`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + WallPost Update (0.3ms) UPDATE `wall_posts` SET `updated_at` = '2010-12-22 05:14:42', `message` = 'New Hello World' WHERE `id` = 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Network Load (0.1ms) SELECT * FROM `networks` LIMIT 1 +Sent mail to quentin@example.com + +Date: Tue, 21 Dec 2010 22:14:42 -0700 +To: quentin@example.com +Subject: [Test Network] Wall Post Notification +Mime-Version: 1.0 +Content-Type: text/html; charset=utf-8 + + +A user has posted a new comment to your wall at RubyMI.org + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/wall_posts/1 +Completed in 11ms (DB: 37) | 302 Found [http://test.host/wall_posts/1?wall_post%5Bmessage%5D=New+Hello+World&wall_post%5Bsender_id%5D=1&wall_post%5Buser_id%5D=1] + SQL (52.4ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.3ms) SELECT count(*) AS count_all FROM `widget_layouts`  + + +Processing WidgetLayoutsController#create (for 0.0.0.0 at 2010-12-21 22:14:42) [POST] + Parameters: {"widget_layout"=>{}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + SQL (0.1ms) SAVEPOINT active_record_1 + WidgetLayout Create (0.2ms) INSERT INTO `widget_layouts` (`row_num`, `created_at`, `widget_id`, `updated_at`, `html_content_id`, `page_id`, `col_num`) VALUES(NULL, '2010-12-22 05:14:42', NULL, '2010-12-22 05:14:42', NULL, NULL, NULL) + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/widget_layouts/3 +Completed in 15ms (DB: 53) | 302 Found [http://test.host/widget_layouts?] + SQL (0.2ms) SELECT count(*) AS count_all FROM `widget_layouts`  + SQL (39.3ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.2ms) SELECT count(*) AS count_all FROM `widget_layouts`  + WidgetLayout Load (0.2ms) SELECT * FROM `widget_layouts` WHERE (`widget_layouts`.`id` = 1)  + + +Processing WidgetLayoutsController#destroy (for 0.0.0.0 at 2010-12-21 22:14:42) [DELETE] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + WidgetLayout Load (0.1ms) SELECT * FROM `widget_layouts` WHERE (`widget_layouts`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + WidgetLayout Destroy (0.2ms) DELETE FROM `widget_layouts` WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/widget_layouts +Completed in 4ms (DB: 41) | 302 Found [http://test.host/widget_layouts/1] + SQL (0.2ms) SELECT count(*) AS count_all FROM `widget_layouts`  + SQL (36.3ms) ROLLBACK + SQL (0.1ms) BEGIN + WidgetLayout Load (0.3ms) SELECT * FROM `widget_layouts` WHERE (`widget_layouts`.`id` = 1)  + + +Processing WidgetLayoutsController#update (for 0.0.0.0 at 2010-12-21 22:14:42) [PUT] + Parameters: {"id"=>"1", "widget_layout"=>{}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + WidgetLayout Load (0.1ms) SELECT * FROM `widget_layouts` WHERE (`widget_layouts`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/widget_layouts/1 +Completed in 5ms (DB: 37) | 302 Found [http://test.host/widget_layouts/1?] + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing WidgetsController#grid_data (for 0.0.0.0 at 2010-12-21 22:14:42) [GET] + Parameters: {"rows"=>"10"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + Widget Load (0.3ms) SELECT * FROM `widgets`  +Rendered widgets/_griddata (3.1ms) +Completed in 37ms (View: 28, DB: 1) | 200 OK [http://test.host/widgets/grid_data?rows=10] + SQL (0.2ms) ROLLBACK +** acts_as_taggable_on: initialized properly. + SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 + SQL (0.0ms) BEGIN + + +Processing BlogPostsController#index to json (for 127.0.0.1 at 2010-12-21 22:14:49) [GET] + Parameters: {"api_key"=>"testapikey"} + Theme Load (0.3ms) SELECT * FROM `themes` LIMIT 1 + Network Load (0.2ms) SELECT * FROM `networks` LIMIT 1 + User Load (0.4ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + BlogPost Load (0.4ms) SELECT * FROM `blog_posts` ORDER BY created_at DESC LIMIT 0, 6 + SQL (0.3ms) SELECT count(*) AS count_all FROM `blog_posts` WHERE (published = true)  +Completed in 56ms (View: 23, DB: 180) | 200 OK [http://www.example.com/blog_posts.json] + SQL (38.3ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing BlogPostsController#show to json (for 127.0.0.1 at 2010-12-21 22:14:50) [GET] + Parameters: {"api_key"=>"testapikey", "id"=>"1"} + Theme Load (0.2ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + BlogPost Load (0.3ms) SELECT * FROM `blog_posts` WHERE (`blog_posts`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + BlogPost Update (0.3ms) UPDATE `blog_posts` SET `views` = 1, `updated_at` = '2010-12-22 05:14:50' WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Completed in 35ms (View: 25, DB: 40) | 200 OK [http://www.example.com/blog_posts/1.json] + SQL (38.9ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing SessionsController#destroy (for 127.0.0.1 at 2010-12-21 22:14:50) [GET] + Theme Load (0.2ms) SELECT * FROM `themes` LIMIT 1 +Redirected to http://www.example.com/ +Completed in 11ms (DB: 40) | 302 Found [http://www.example.com/logout] + + +Processing BlogPostsController#create to json (for 127.0.0.1 at 2010-12-21 22:14:50) [POST] + Parameters: {"api_key"=>"testapikey", "blog_post"=>{"title"=>"API Test Post", "body"=>"API Test Body", "guid"=>"22222", "featured"=>"false", "published"=>"true", "url"=>"http://www.apiblogpost.com", "summary"=>"Blog Post Summary"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.7ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = '') LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + SQL (0.1ms) SAVEPOINT active_record_1 + BlogPost Create (0.2ms) INSERT INTO `blog_posts` (`created_at`, `title`, `body`, `guid`, `published`, `featured`, `updated_at`, `url`, `views`, `user_id`, `parent_id`, `summary`, `published_at`) VALUES('2010-12-22 05:14:50', 'API Test Post', 'API Test Body', '22222', 1, 0, '2010-12-22 05:14:50', 'http://www.apiblogpost.com', 0, 1, NULL, 'Blog Post Summary', NULL) + Activity Create (0.2ms) INSERT INTO `activities` (`created_at`, `public`, `updated_at`, `action`, `user_id`, `item_id`, `item_type`) VALUES('2010-12-22 05:14:50', 1, '2010-12-22 05:14:50', NULL, 1, 9, 'BlogPost') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + blog_post_topics_blog_posts Columns (0.8ms) SHOW FIELDS FROM `blog_post_topics_blog_posts` + BlogPostTopic Load (0.3ms) SELECT * FROM `blog_post_topics` INNER JOIN `blog_post_topics_blog_posts` ON `blog_post_topics`.id = `blog_post_topics_blog_posts`.blog_post_topic_id WHERE (`blog_post_topics_blog_posts`.blog_post_id = 9 )  + SQL (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Completed in 44ms (View: 25, DB: 4) | 201 Created [http://www.example.com/blog_posts.json] + SQL (27.7ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing SessionsController#destroy (for 127.0.0.1 at 2010-12-21 22:14:50) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Redirected to http://www.example.com/ +Completed in 3ms (DB: 29) | 302 Found [http://www.example.com/logout] + + +Processing BlogPostsController#create to xml (for 127.0.0.1 at 2010-12-21 22:14:50) [POST] + Parameters: {"api_key"=>"testapikey", "blog_post"=>{"title"=>"API Test Post", "body"=>"API Test Body", "guid"=>"22222", "featured"=>"false", "published"=>"true", "url"=>"http://www.apiblogpost.com", "summary"=>"Blog Post Summary"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = '') LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + SQL (0.1ms) SAVEPOINT active_record_1 + BlogPost Create (0.2ms) INSERT INTO `blog_posts` (`created_at`, `title`, `body`, `guid`, `published`, `featured`, `updated_at`, `url`, `views`, `user_id`, `parent_id`, `summary`, `published_at`) VALUES('2010-12-22 05:14:50', 'API Test Post', 'API Test Body', '22222', 1, 0, '2010-12-22 05:14:50', 'http://www.apiblogpost.com', 0, 1, NULL, 'Blog Post Summary', NULL) + Activity Create (0.1ms) INSERT INTO `activities` (`created_at`, `public`, `updated_at`, `action`, `user_id`, `item_id`, `item_type`) VALUES('2010-12-22 05:14:50', 1, '2010-12-22 05:14:50', NULL, 1, 10, 'BlogPost') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + BlogPostTopic Load (0.3ms) SELECT * FROM `blog_post_topics` INNER JOIN `blog_post_topics_blog_posts` ON `blog_post_topics`.id = `blog_post_topics_blog_posts`.blog_post_topic_id WHERE (`blog_post_topics_blog_posts`.blog_post_id = 10 )  + SQL (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Completed in 36ms (View: 24, DB: 2) | 201 Created [http://www.example.com/blog_posts.xml] + SQL (33.0ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing SessionsController#destroy (for 127.0.0.1 at 2010-12-21 22:14:50) [GET] + Theme Load (1.7ms) SELECT * FROM `themes` LIMIT 1 +Redirected to http://www.example.com/ +Completed in 22ms (DB: 36) | 302 Found [http://www.example.com/logout] + + +Processing BlogPostsController#create to xml (for 127.0.0.1 at 2010-12-21 22:14:50) [POST] + Parameters: {"blog_post"=>{"title"=>"API Test Post", "body"=>"API Test Body", "guid"=>"22222", "featured"=>"false", "published"=>"true", "url"=>"http://www.apiblogpost.com", "summary"=>"Blog Post Summary"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = '') LIMIT 1 +Filter chain halted as [:api_filter] rendered_or_redirected. +Completed in 29ms (View: 25, DB: 1) | 401 Unauthorized [http://www.example.com/blog_posts.xml] + SQL (30.4ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing SessionsController#destroy (for 127.0.0.1 at 2010-12-21 22:14:50) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Redirected to http://www.example.com/ +Completed in 3ms (DB: 32) | 302 Found [http://www.example.com/logout] + + +Processing BlogPostsController#update to json (for 127.0.0.1 at 2010-12-21 22:14:50) [PUT] + Parameters: {"api_key"=>"testapikey", "id"=>"1", "blog_post"=>{"title"=>"API Test Post", "body"=>"API Test Body", "guid"=>"22222", "featured"=>"false", "published"=>"true", "url"=>"http://www.apiblogpost.com", "summary"=>"Blog Post Summary"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = '') LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + BlogPost Load (0.2ms) SELECT * FROM `blog_posts` WHERE (`blog_posts`.`id` = 1)  + User Load (0.4ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + CACHE (0.0ms) SELECT * FROM `blog_posts` WHERE (`blog_posts`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + BlogPost Update (0.3ms) UPDATE `blog_posts` SET `updated_at` = '2010-12-22 05:14:50', `guid` = '22222', `title` = 'API Test Post', `url` = 'http://www.apiblogpost.com', `body` = 'API Test Body' WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + BlogPostTopic Load (0.3ms) SELECT * FROM `blog_post_topics` INNER JOIN `blog_post_topics_blog_posts` ON `blog_post_topics`.id = `blog_post_topics_blog_posts`.blog_post_topic_id WHERE (`blog_post_topics_blog_posts`.blog_post_id = 1 )  + SQL (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Completed in 37ms (View: 26, DB: 3) | 200 OK [http://www.example.com/blog_posts/1.json] + SQL (29.4ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing SessionsController#destroy (for 127.0.0.1 at 2010-12-21 22:14:50) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Redirected to http://www.example.com/ +Completed in 3ms (DB: 31) | 302 Found [http://www.example.com/logout] + + +Processing BlogPostsController#update to xml (for 127.0.0.1 at 2010-12-21 22:14:50) [PUT] + Parameters: {"api_key"=>"testapikey", "id"=>"1", "blog_post"=>{"title"=>"API Test Post", "body"=>"API Test Body", "guid"=>"22222", "featured"=>"false", "published"=>"true", "url"=>"http://www.apiblogpost.com", "summary"=>"Blog Post Summary"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = '') LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + BlogPost Load (0.2ms) SELECT * FROM `blog_posts` WHERE (`blog_posts`.`id` = 1)  + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + CACHE (0.0ms) SELECT * FROM `blog_posts` WHERE (`blog_posts`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + BlogPost Update (0.3ms) UPDATE `blog_posts` SET `updated_at` = '2010-12-22 05:14:50', `guid` = '22222', `title` = 'API Test Post', `url` = 'http://www.apiblogpost.com', `body` = 'API Test Body' WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + BlogPostTopic Load (0.1ms) SELECT * FROM `blog_post_topics` INNER JOIN `blog_post_topics_blog_posts` ON `blog_post_topics`.id = `blog_post_topics_blog_posts`.blog_post_topic_id WHERE (`blog_post_topics_blog_posts`.blog_post_id = 1 )  + SQL (0.1ms) SAVEPOINT active_record_1 + SQL (0.0ms) RELEASE SAVEPOINT active_record_1 +Completed in 153ms (View: 143, DB: 2) | 200 OK [http://www.example.com/blog_posts/1.xml] + SQL (32.1ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing EventsController#index to json (for 127.0.0.1 at 2010-12-21 22:14:51) [GET] + Parameters: {"api_key"=>"testapikey"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + Event Load (0.4ms) SELECT * FROM `events` WHERE (start_time>now()) ORDER BY start_time ASC +Completed in 67ms (View: 50, DB: 34) | 200 OK [http://www.example.com/events.json] + SQL (28.8ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing EventsController#show to json (for 127.0.0.1 at 2010-12-21 22:14:51) [GET] + Parameters: {"api_key"=>"testapikey", "id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + Event Load (0.3ms) SELECT * FROM `events` WHERE (`events`.`id` = 1)  +Completed in 28ms (View: 22, DB: 30) | 200 OK [http://www.example.com/events/1.json] + SQL (31.0ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing SessionsController#destroy (for 127.0.0.1 at 2010-12-21 22:14:51) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Redirected to http://www.example.com/ +Completed in 3ms (DB: 32) | 302 Found [http://www.example.com/logout] + + +Processing EventsController#create to json (for 127.0.0.1 at 2010-12-21 22:14:51) [POST] + Parameters: {"api_key"=>"testapikey", "event"=>{"name"=>"Test API Event 1", "city"=>"TestTown", "end_time"=>"2010-12-21 22:14:51", "location"=>"Testville, USA", "organized_by"=>"API Testers of America", "street"=>"Testers Rd.", "user_id"=>"1", "website"=>"http://www.test.com", "phone"=>"555-555-5555", "description"=>"Test API Event 1 Desc", "event_type"=>"API Type", "start_time"=>"2010-12-21 22:14:51"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = '') LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + +ActiveRecord::AssociationTypeMismatch (Location(#-617319488) expected, got String(#-608376318)): + app/controllers/events_controller.rb:98:in `new' + app/controllers/events_controller.rb:98:in `create' + /test/integration/api/events_test.rb:74:in `test_should_create_event_via_API_JSON' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run' + /usr/lib/ruby/1.8/test/unit/ui/testrunnermediator.rb:46:in `run_suite' + /usr/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:67:in `start_mediator' + /usr/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:41:in `start' + /usr/lib/ruby/1.8/test/unit/ui/testrunnerutilities.rb:29:in `run' + /usr/lib/ruby/1.8/test/unit/autorunner.rb:216:in `run' + /usr/lib/ruby/1.8/test/unit/autorunner.rb:12:in `run' + /usr/lib/ruby/1.8/test/unit.rb:279 + rake (0.8.7) lib/rake/rake_test_loader.rb:5 + +Rendered rescues/_trace (49.9ms) +Rendered rescues/_request_and_response (1.9ms) +Rendering rescues/layout (internal_server_error) + SQL (37.8ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing SessionsController#destroy (for 127.0.0.1 at 2010-12-21 22:14:55) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Redirected to http://www.example.com/ +Completed in 4ms (DB: 40) | 302 Found [http://www.example.com/logout] + + +Processing EventsController#create to xml (for 127.0.0.1 at 2010-12-21 22:14:55) [POST] + Parameters: {"api_key"=>"testapikey", "event"=>{"name"=>"Test API Event 1", "city"=>"TestTown", "end_time"=>"2010-12-21 22:14:55", "location"=>"Testville, USA", "organized_by"=>"API Testers of America", "street"=>"Testers Rd.", "user_id"=>"1", "website"=>"http://www.test.com", "phone"=>"555-555-5555", "description"=>"Test API Event 1 Desc", "event_type"=>"API Type", "start_time"=>"2010-12-21 22:14:55"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = '') LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + +ActiveRecord::AssociationTypeMismatch (Location(#-617319488) expected, got String(#-608376318)): + app/controllers/events_controller.rb:98:in `new' + app/controllers/events_controller.rb:98:in `create' + /test/integration/api/events_test.rb:53:in `test_should_create_event_via_API_XML' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run' + /usr/lib/ruby/1.8/test/unit/ui/testrunnermediator.rb:46:in `run_suite' + /usr/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:67:in `start_mediator' + /usr/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:41:in `start' + /usr/lib/ruby/1.8/test/unit/ui/testrunnerutilities.rb:29:in `run' + /usr/lib/ruby/1.8/test/unit/autorunner.rb:216:in `run' + /usr/lib/ruby/1.8/test/unit/autorunner.rb:12:in `run' + /usr/lib/ruby/1.8/test/unit.rb:279 + rake (0.8.7) lib/rake/rake_test_loader.rb:5 + +Rendered rescues/_trace (37.6ms) +Rendered rescues/_request_and_response (0.5ms) +Rendering rescues/layout (internal_server_error) + SQL (96.4ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing SessionsController#destroy (for 127.0.0.1 at 2010-12-21 22:14:59) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Redirected to http://www.example.com/ +Completed in 4ms (DB: 153) | 302 Found [http://www.example.com/logout] + + +Processing EventsController#create to xml (for 127.0.0.1 at 2010-12-21 22:14:59) [POST] + Parameters: {"event"=>{"name"=>"Test API Event 1", "city"=>"TestTown", "end_time"=>"2010-12-21 22:14:59", "location"=>"Testville, USA", "organized_by"=>"API Testers of America", "street"=>"Testers Rd.", "user_id"=>"1", "website"=>"http://www.test.com", "phone"=>"555-555-5555", "description"=>"Test API Event 1 Desc", "event_type"=>"API Type", "start_time"=>"2010-12-21 22:14:59"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = '') LIMIT 1 +Filter chain halted as [:api_filter] rendered_or_redirected. +Completed in 166ms (View: 162, DB: 1) | 401 Unauthorized [http://www.example.com/events.xml] + SQL (85.7ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing SessionsController#destroy (for 127.0.0.1 at 2010-12-21 22:15:00) [GET] + Theme Load (0.2ms) SELECT * FROM `themes` LIMIT 1 +Redirected to http://www.example.com/ +Completed in 6ms (DB: 89) | 302 Found [http://www.example.com/logout] + + +Processing EventsController#update to json (for 127.0.0.1 at 2010-12-21 22:15:00) [PUT] + Parameters: {"api_key"=>"testapikey", "id"=>"1", "event"=>{"name"=>"Test API Event 1", "city"=>"TestTown", "end_time"=>"2010-12-21 22:15:00", "location"=>"Testville, USA", "organized_by"=>"API Testers of America", "street"=>"Testers Rd.", "user_id"=>"1", "website"=>"http://www.test.com", "phone"=>"555-555-5555", "description"=>"Test API Event 1 Desc", "event_type"=>"API Type", "start_time"=>"2010-12-21 22:15:00"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = '') LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.`id` = 1)  + +ActiveRecord::AssociationTypeMismatch (Location(#-617319488) expected, got String(#-608376318)): + app/controllers/events_controller.rb:136:in `update' + app/controllers/events_controller.rb:135:in `update' + /test/integration/api/events_test.rb:135:in `test_should_update_event_via_API_JSON' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run' + /usr/lib/ruby/1.8/test/unit/ui/testrunnermediator.rb:46:in `run_suite' + /usr/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:67:in `start_mediator' + /usr/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:41:in `start' + /usr/lib/ruby/1.8/test/unit/ui/testrunnerutilities.rb:29:in `run' + /usr/lib/ruby/1.8/test/unit/autorunner.rb:216:in `run' + /usr/lib/ruby/1.8/test/unit/autorunner.rb:12:in `run' + /usr/lib/ruby/1.8/test/unit.rb:279 + rake (0.8.7) lib/rake/rake_test_loader.rb:5 + +Rendered rescues/_trace (38.9ms) +Rendered rescues/_request_and_response (0.5ms) +Rendering rescues/layout (internal_server_error) + SQL (29.7ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing SessionsController#destroy (for 127.0.0.1 at 2010-12-21 22:15:00) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Redirected to http://www.example.com/ +Completed in 3ms (DB: 32) | 302 Found [http://www.example.com/logout] + + +Processing EventsController#update to xml (for 127.0.0.1 at 2010-12-21 22:15:00) [PUT] + Parameters: {"api_key"=>"testapikey", "id"=>"1", "event"=>{"name"=>"Test API Event 1", "city"=>"TestTown", "end_time"=>"2010-12-21 22:15:00", "location"=>"Testville, USA", "organized_by"=>"API Testers of America", "street"=>"Testers Rd.", "user_id"=>"1", "website"=>"http://www.test.com", "phone"=>"555-555-5555", "description"=>"Test API Event 1 Desc", "event_type"=>"API Type", "start_time"=>"2010-12-21 22:15:00"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = '') LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.`id` = 1)  + +ActiveRecord::AssociationTypeMismatch (Location(#-617319488) expected, got String(#-608376318)): + app/controllers/events_controller.rb:136:in `update' + app/controllers/events_controller.rb:135:in `update' + /test/integration/api/events_test.rb:115:in `test_should_update_event_via_API_XML' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run' + /usr/lib/ruby/1.8/test/unit/ui/testrunnermediator.rb:46:in `run_suite' + /usr/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:67:in `start_mediator' + /usr/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:41:in `start' + /usr/lib/ruby/1.8/test/unit/ui/testrunnerutilities.rb:29:in `run' + /usr/lib/ruby/1.8/test/unit/autorunner.rb:216:in `run' + /usr/lib/ruby/1.8/test/unit/autorunner.rb:12:in `run' + /usr/lib/ruby/1.8/test/unit.rb:279 + rake (0.8.7) lib/rake/rake_test_loader.rb:5 + +Rendered rescues/_trace (183.6ms) +Rendered rescues/_request_and_response (0.6ms) +Rendering rescues/layout (internal_server_error) + SQL (46.9ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing FollowsController#index to json (for 127.0.0.1 at 2010-12-21 22:15:00) [GET] + Parameters: {"api_key"=>"testapikey", "user_id"=>"1", "type"=>"followees"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Follow Load (0.4ms) SELECT * FROM `follows` WHERE (`follows`.follower_id = 1) ORDER BY created_at DESC +Completed in 41ms (View: 29, DB: 50) | 200 OK [http://www.example.com/users/1/follows.json?type=followees&api_key=testapikey] + SQL (32.3ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing FollowsController#index to json (for 127.0.0.1 at 2010-12-21 22:15:00) [GET] + Parameters: {"api_key"=>"testapikey", "user_id"=>"1", "type"=>"followers"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Follow Load (0.4ms) SELECT * FROM `follows` WHERE (`follows`.followee_id = 1) ORDER BY created_at DESC +Completed in 30ms (View: 25, DB: 34) | 200 OK [http://www.example.com/users/1/follows.json?type=followers&api_key=testapikey] + SQL (29.9ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing FollowsController#create to json (for 127.0.0.1 at 2010-12-21 22:15:00) [POST] + Parameters: {"api_key"=>"bobbyapikey", "followee_id"=>"3"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.5ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'bobbyapikey') LIMIT 1 + SQL (0.1ms) SAVEPOINT active_record_1 + Follow Create (0.2ms) INSERT INTO `follows` (`created_at`, `updated_at`, `follower_id`, `followee_id`) VALUES('2010-12-22 05:15:00', '2010-12-22 05:15:00', 6, 3) + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Completed in 161ms (View: 155, DB: 32) | 201 Created [http://www.example.com/follows.json?api_key=bobbyapikey&followee_id=3] + SQL (33.7ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing ForumPostsController#index to json (for 127.0.0.1 at 2010-12-21 22:15:00) [GET] + Parameters: {"api_key"=>"testapikey"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + ForumPost Load (0.4ms) SELECT * FROM `forum_posts`  +Completed in 46ms (View: 36, DB: 35) | 200 OK [http://www.example.com/forum_posts.json?api_key=testapikey] + SQL (29.5ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing ForumPostsController#index to json (for 127.0.0.1 at 2010-12-21 22:15:00) [GET] + Parameters: {"forum_topic_id"=>"1", "api_key"=>"testapikey"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + ForumTopic Load (0.2ms) SELECT * FROM `forum_topics` WHERE (`forum_topics`.`id` = 1)  + ForumPost Load (0.8ms) SELECT * FROM `forum_posts` WHERE (`forum_posts`.forum_topic_id = 1 AND (parent_id is null)) ORDER BY created_at DESC +Completed in 38ms (View: 31, DB: 32) | 200 OK [http://www.example.com/forum_posts.json?api_key=testapikey&forum_topic_id=1] + SQL (32.9ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing ForumPostsController#index to json (for 127.0.0.1 at 2010-12-21 22:15:01) [GET] + Parameters: {"api_key"=>"testapikey", "user_id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + ForumPost Load (0.5ms) SELECT * FROM `forum_posts` WHERE (`forum_posts`.user_id = 1) ORDER BY created_at DESC +Completed in 38ms (View: 34, DB: 35) | 200 OK [http://www.example.com/forum_posts.json?api_key=testapikey&user_id=1] + SQL (28.4ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing ForumPostsController#show to json (for 127.0.0.1 at 2010-12-21 22:15:01) [GET] + Parameters: {"api_key"=>"testapikey", "id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + ForumPost Load (0.2ms) SELECT * FROM `forum_posts` WHERE (`forum_posts`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + ForumPost Update (0.3ms) UPDATE `forum_posts` SET `views` = 1, `updated_at` = '2010-12-22 05:15:01' WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Completed in 46ms (View: 38, DB: 30) | 200 OK [http://www.example.com/forum_posts/1.json?api_key=testapikey] + SQL (31.2ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing SessionsController#destroy (for 127.0.0.1 at 2010-12-21 22:15:01) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Redirected to http://www.example.com/ +Completed in 3ms (DB: 32) | 302 Found [http://www.example.com/logout] + + +Processing ForumPostsController#create to json (for 127.0.0.1 at 2010-12-21 22:15:01) [POST] + Parameters: {"forum_post"=>{"title"=>"API Test Post", "body"=>"Test Post desc", "user_id"=>"1"}, "api_key"=>"testapikey"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = '') LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + SQL (0.1ms) SAVEPOINT active_record_1 + ForumPost Create (0.2ms) INSERT INTO `forum_posts` (`forum_topic_id`, `created_at`, `title`, `body`, `featured`, `updated_at`, `views`, `user_id`, `parent_id`) VALUES(NULL, '2010-12-22 05:15:01', 'API Test Post', 'Test Post desc', NULL, '2010-12-22 05:15:01', 0, 1, NULL) + Activity Create (0.2ms) INSERT INTO `activities` (`created_at`, `public`, `updated_at`, `action`, `user_id`, `item_id`, `item_type`) VALUES('2010-12-22 05:15:01', 1, '2010-12-22 05:15:01', NULL, 1, 19, 'ForumPost') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Completed in 216ms (View: 206, DB: 2) | 201 Created [http://www.example.com/forum_posts.json] + SQL (40.1ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing SessionsController#destroy (for 127.0.0.1 at 2010-12-21 22:15:01) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Redirected to http://www.example.com/ +Completed in 3ms (DB: 41) | 302 Found [http://www.example.com/logout] + + +Processing ForumPostsController#create to xml (for 127.0.0.1 at 2010-12-21 22:15:01) [POST] + Parameters: {"forum_post"=>{"title"=>"API Test Post", "body"=>"Test Post desc", "user_id"=>"1"}, "api_key"=>"testapikey"} + Theme Load (0.2ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = '') LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + SQL (0.1ms) SAVEPOINT active_record_1 + ForumPost Create (0.2ms) INSERT INTO `forum_posts` (`forum_topic_id`, `created_at`, `title`, `body`, `featured`, `updated_at`, `views`, `user_id`, `parent_id`) VALUES(NULL, '2010-12-22 05:15:01', 'API Test Post', 'Test Post desc', NULL, '2010-12-22 05:15:01', 0, 1, NULL) + Activity Create (0.2ms) INSERT INTO `activities` (`created_at`, `public`, `updated_at`, `action`, `user_id`, `item_id`, `item_type`) VALUES('2010-12-22 05:15:01', 1, '2010-12-22 05:15:01', NULL, 1, 20, 'ForumPost') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Completed in 35ms (View: 25, DB: 2) | 201 Created [http://www.example.com/forum_posts.xml] + SQL (33.9ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing ForumTopicsController#index to json (for 127.0.0.1 at 2010-12-21 22:15:01) [GET] + Parameters: {"api_key"=>"testapikey"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + ForumTopic Load (0.3ms) SELECT * FROM `forum_topics`  +Completed in 161ms (View: 148, DB: 35) | 200 OK [http://www.example.com/forum_topics.json] + SQL (31.3ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing ForumTopicsController#show to json (for 127.0.0.1 at 2010-12-21 22:15:01) [GET] + Parameters: {"api_key"=>"testapikey", "id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + ForumTopic Load (0.1ms) SELECT * FROM `forum_topics` WHERE (`forum_topics`.`id` = 1)  +Completed in 29ms (View: 24, DB: 33) | 200 OK [http://www.example.com/forum_topics/1.json] + SQL (37.8ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing SessionsController#destroy (for 127.0.0.1 at 2010-12-21 22:15:01) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Redirected to http://www.example.com/ +Completed in 3ms (DB: 39) | 302 Found [http://www.example.com/logout] + + +Processing ForumTopicsController#create to json (for 127.0.0.1 at 2010-12-21 22:15:01) [POST] + Parameters: {"api_key"=>"testapikey", "forum_topic"=>{"title"=>"API Test Topic", "user_id"=>"1", "description"=>"Test topic desc"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = '') LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + Role Load (0.3ms) SELECT `roles`.* FROM `roles` INNER JOIN `permissions` ON `roles`.id = `permissions`.role_id WHERE ((`permissions`.user_id = 1))  + SQL (0.1ms) SAVEPOINT active_record_1 + ForumTopic Create (0.2ms) INSERT INTO `forum_topics` (`created_at`, `title`, `updated_at`, `user_id`, `description`) VALUES('2010-12-22 05:15:01', 'API Test Topic', '2010-12-22 05:15:01', 1, 'Test topic desc') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Completed in 33ms (View: 23, DB: 2) | 201 Created [http://www.example.com/forum_topics.json] + SQL (32.3ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing SessionsController#destroy (for 127.0.0.1 at 2010-12-21 22:15:02) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Redirected to http://www.example.com/ +Completed in 3ms (DB: 33) | 302 Found [http://www.example.com/logout] + + +Processing ForumTopicsController#create to xml (for 127.0.0.1 at 2010-12-21 22:15:02) [POST] + Parameters: {"api_key"=>"testapikey", "forum_topic"=>{"title"=>"API Test Topic", "user_id"=>"1", "description"=>"Test topic desc"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = '') LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + Role Load (0.1ms) SELECT `roles`.* FROM `roles` INNER JOIN `permissions` ON `roles`.id = `permissions`.role_id WHERE ((`permissions`.user_id = 1))  + SQL (0.1ms) SAVEPOINT active_record_1 + ForumTopic Create (0.2ms) INSERT INTO `forum_topics` (`created_at`, `title`, `updated_at`, `user_id`, `description`) VALUES('2010-12-22 05:15:02', 'API Test Topic', '2010-12-22 05:15:02', 1, 'Test topic desc') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Completed in 167ms (View: 160, DB: 2) | 201 Created [http://www.example.com/forum_topics.xml] + SQL (53.0ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing SessionsController#destroy (for 127.0.0.1 at 2010-12-21 22:15:02) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Redirected to http://www.example.com/ +Completed in 3ms (DB: 54) | 302 Found [http://www.example.com/logout] + + +Processing ForumTopicsController#create to xml (for 127.0.0.1 at 2010-12-21 22:15:02) [POST] + Parameters: {"forum_topic"=>{"title"=>"API Test Topic", "user_id"=>"1", "description"=>"Test topic desc"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = '') LIMIT 1 +Filter chain halted as [:api_filter] rendered_or_redirected. +Completed in 26ms (View: 23, DB: 1) | 401 Unauthorized [http://www.example.com/forum_topics.xml] + SQL (34.9ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing SessionsController#destroy (for 127.0.0.1 at 2010-12-21 22:15:02) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Redirected to http://www.example.com/ +Completed in 4ms (DB: 36) | 302 Found [http://www.example.com/logout] + + +Processing ForumTopicsController#update to json (for 127.0.0.1 at 2010-12-21 22:15:02) [PUT] + Parameters: {"api_key"=>"testapikey", "id"=>"1", "forum_topic"=>{"title"=>"Updated API Test Topic", "user_id"=>"1", "description"=>"Updated Test topic desc"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = '') LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + Role Load (0.1ms) SELECT `roles`.* FROM `roles` INNER JOIN `permissions` ON `roles`.id = `permissions`.role_id WHERE ((`permissions`.user_id = 1))  + ForumTopic Load (0.2ms) SELECT * FROM `forum_topics` WHERE (`forum_topics`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + ForumTopic Update (0.3ms) UPDATE `forum_topics` SET `updated_at` = '2010-12-22 05:15:02', `title` = 'Updated API Test Topic', `description` = 'Updated Test topic desc' WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Completed in 159ms (View: 151, DB: 2) | 200 OK [http://www.example.com/forum_topics/1.json] + SQL (31.9ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing SessionsController#destroy (for 127.0.0.1 at 2010-12-21 22:15:02) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Redirected to http://www.example.com/ +Completed in 3ms (DB: 33) | 302 Found [http://www.example.com/logout] + + +Processing ForumTopicsController#update to xml (for 127.0.0.1 at 2010-12-21 22:15:02) [PUT] + Parameters: {"api_key"=>"testapikey", "id"=>"1", "forum_topic"=>{"title"=>"Updated API Test Topic", "user_id"=>"1", "description"=>"Updated Test topic desc"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = '') LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + Role Load (0.1ms) SELECT `roles`.* FROM `roles` INNER JOIN `permissions` ON `roles`.id = `permissions`.role_id WHERE ((`permissions`.user_id = 1))  + ForumTopic Load (0.2ms) SELECT * FROM `forum_topics` WHERE (`forum_topics`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + ForumTopic Update (0.3ms) UPDATE `forum_topics` SET `updated_at` = '2010-12-22 05:15:02', `title` = 'Updated API Test Topic', `description` = 'Updated Test topic desc' WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Completed in 32ms (View: 23, DB: 2) | 200 OK [http://www.example.com/forum_topics/1.xml] + SQL (36.5ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing SessionsController#destroy (for 127.0.0.1 at 2010-12-21 22:15:02) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Redirected to http://www.example.com/ +Completed in 3ms (DB: 38) | 302 Found [http://www.example.com/logout] + + +Processing FriendsController#create to json (for 127.0.0.1 at 2010-12-21 22:15:02) [POST] + Parameters: {"api_key"=>"bobbyapikey", "user_id"=>"6", "friend_id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = '') LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'bobbyapikey') LIMIT 1 + User Load (0.6ms) SELECT * FROM `users` WHERE (`users`.`id` = 6)  + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Friendship Load (0.2ms) SELECT * FROM `friendships` WHERE (`friendships`.`user_id` = 6 AND `friendships`.`friend_id` = 1) LIMIT 1 + SQL (0.1ms) SAVEPOINT active_record_1 + Friendship Create (0.2ms) INSERT INTO `friendships` (`created_at`, `updated_at`, `user_id`, `status`, `friend_id`) VALUES('2010-12-22 05:15:02', '2010-12-22 05:15:02', 6, 'requested', 1) + Friendship Create (0.1ms) INSERT INTO `friendships` (`created_at`, `updated_at`, `user_id`, `status`, `friend_id`) VALUES('2010-12-22 05:15:02', '2010-12-22 05:15:02', 1, 'pending', 6) + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Completed in 201ms (View: 171, DB: 3) | 201 Created [http://www.example.com/users/6/friends.json] + + +Processing SessionsController#destroy (for 127.0.0.1 at 2010-12-21 22:15:02) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.5ms) SELECT * FROM `users` WHERE (`users`.`id` = 6) LIMIT 1 + SQL (0.1ms) SAVEPOINT active_record_1 + Role Load (0.4ms) SELECT * FROM `roles` WHERE (`roles`.`rolename` = 'administrator') LIMIT 1 + User Load (0.6ms) SELECT `users`.* FROM `users` INNER JOIN `permissions` ON permissions.user_id = users.id WHERE (role_id = 2)  + Role Load (0.2ms) SELECT * FROM `roles` WHERE (`roles`.`rolename` = 'creator') LIMIT 1 + User Load (0.4ms) SELECT `users`.* FROM `users` INNER JOIN `permissions` ON permissions.user_id = users.id WHERE (role_id = 1)  + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/ +Completed in 15ms (DB: 3) | 302 Found [http://www.example.com/logout] + + +Processing FriendsController#update to json (for 127.0.0.1 at 2010-12-21 22:15:02) [PUT] + Parameters: {"api_key"=>"testapikey", "id"=>"6", "user_id"=>"1", "friend_id"=>"6"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = '') LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 6)  + SQL (0.1ms) SAVEPOINT active_record_1 + Friendship Load (0.3ms) SELECT * FROM `friendships` WHERE (`friendships`.`user_id` = 1 AND `friendships`.`friend_id` = 6) LIMIT 1 + Friendship Update (0.2ms) UPDATE `friendships` SET `updated_at` = '2010-12-22 05:15:02', `status` = 'accepted' WHERE `id` = 12 + Friendship Load (0.2ms) SELECT * FROM `friendships` WHERE (`friendships`.`user_id` = 6 AND `friendships`.`friend_id` = 1) LIMIT 1 + Friendship Update (0.2ms) UPDATE `friendships` SET `updated_at` = '2010-12-22 05:15:02', `status` = 'accepted' WHERE `id` = 11 + Friendship Load (0.2ms) SELECT * FROM `friendships` WHERE (`friendships`.`user_id` = 1 AND `friendships`.`friend_id` = 6) LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Activity Create (0.2ms) INSERT INTO `activities` (`created_at`, `public`, `updated_at`, `action`, `user_id`, `item_id`, `item_type`) VALUES('2010-12-22 05:15:02', 1, '2010-12-22 05:15:02', NULL, 1, 12, 'Friendship') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Completed in 42ms (View: 24, DB: 3) | 201 Created [http://www.example.com/users/1/friends/6.json] + SQL (43.8ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing FriendsController#create to json (for 127.0.0.1 at 2010-12-21 22:15:03) [POST] + Parameters: {"api_key"=>"testapikey", "user_id"=>"1", "friend_id"=>"6"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 6)  + Friendship Load (0.2ms) SELECT * FROM `friendships` WHERE (`friendships`.`user_id` = 1 AND `friendships`.`friend_id` = 6) LIMIT 1 + SQL (0.1ms) SAVEPOINT active_record_1 + Friendship Create (0.4ms) INSERT INTO `friendships` (`created_at`, `updated_at`, `user_id`, `status`, `friend_id`) VALUES('2010-12-22 05:15:03', '2010-12-22 05:15:03', 1, 'requested', 6) + Friendship Create (0.2ms) INSERT INTO `friendships` (`created_at`, `updated_at`, `user_id`, `status`, `friend_id`) VALUES('2010-12-22 05:15:03', '2010-12-22 05:15:03', 6, 'pending', 1) + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Completed in 38ms (View: 23, DB: 46) | 201 Created [http://www.example.com/users/1/friends.json] + SQL (31.1ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing FriendsController#index to json (for 127.0.0.1 at 2010-12-21 22:15:03) [GET] + Parameters: {"api_key"=>"testapikey", "user_id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + User Load (0.6ms) SELECT `users`.* FROM `users` INNER JOIN `friendships` ON `users`.id = `friendships`.friend_id WHERE ((`friendships`.user_id = 1) AND ((status = 'accepted')))  +Completed in 177ms (View: 165, DB: 33) | 200 OK [http://www.example.com/users/1/friends.json] + SQL (31.9ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing FriendsController#index to json (for 127.0.0.1 at 2010-12-21 22:15:03) [GET] + Parameters: {"api_key"=>"testapikey", "user_id"=>"1", "type"=>"pending"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + User Load (0.6ms) SELECT `users`.* FROM `users` INNER JOIN `friendships` ON `users`.id = `friendships`.friend_id WHERE ((`friendships`.user_id = 1) AND ((status = 'pending'))) ORDER BY friendships.created_at +Completed in 32ms (View: 23, DB: 34) | 200 OK [http://www.example.com/users/1/friends.json?type=pending&api_key=testapikey] + SQL (35.2ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing FriendsController#index to json (for 127.0.0.1 at 2010-12-21 22:15:03) [GET] + Parameters: {"api_key"=>"testapikey", "user_id"=>"1", "type"=>"requested"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + User Load (1.0ms) SELECT `users`.* FROM `users` INNER JOIN `friendships` ON `users`.id = `friendships`.friend_id WHERE ((`friendships`.user_id = 1) AND ((status = 'requested'))) ORDER BY friendships.created_at +Completed in 186ms (View: 175, DB: 38) | 200 OK [http://www.example.com/users/1/friends.json?type=requested&api_key=testapikey] + SQL (38.3ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing GroupsController#index to json (for 127.0.0.1 at 2010-12-21 22:15:03) [GET] + Parameters: {"api_key"=>"testapikey"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + Group Load (0.3ms) SELECT * FROM `groups`  +Completed in 39ms (View: 24, DB: 40) | 200 OK [http://www.example.com/groups.json] + SQL (28.6ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing GroupsController#show to json (for 127.0.0.1 at 2010-12-21 22:15:03) [GET] + Parameters: {"api_key"=>"testapikey", "id"=>"1"} + Theme Load (0.3ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + Group Load (0.4ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 1)  + Page Load (0.6ms) SELECT * FROM `pages` WHERE (`pages`.`name` = 'group') LIMIT 1 +Completed in 39ms (View: 28, DB: 32) | 200 OK [http://www.example.com/groups/1.json] + SQL (29.3ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing SessionsController#destroy (for 127.0.0.1 at 2010-12-21 22:15:03) [GET] + Theme Load (0.2ms) SELECT * FROM `themes` LIMIT 1 +Redirected to http://www.example.com/ +Completed in 4ms (DB: 30) | 302 Found [http://www.example.com/logout] + + +Processing GroupsController#create to json (for 127.0.0.1 at 2010-12-21 22:15:03) [POST] + Parameters: {"group"=>{"name"=>"unit test group", "featured"=>"false", "description"=>"my desc"}, "api_key"=>"testapikey"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = '') LIMIT 1 + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + Role Load (0.2ms) SELECT `roles`.* FROM `roles` INNER JOIN `permissions` ON `roles`.id = `permissions`.role_id WHERE ((`permissions`.user_id = 1))  + SQL (0.2ms) SAVEPOINT active_record_1 + Group Create (0.4ms) INSERT INTO `groups` (`name`, `created_at`, `featured`, `announcements`, `private`, `updated_at`, `creator_id`, `description`, `photo_id`) VALUES('unit test group', '2010-12-22 05:15:07', 0, NULL, 0, '2010-12-22 05:15:07', 1, 'my desc', NULL) + Activity Create (0.3ms) INSERT INTO `activities` (`created_at`, `public`, `updated_at`, `action`, `user_id`, `item_id`, `item_type`) VALUES('2010-12-22 05:15:07', 1, '2010-12-22 05:15:07', NULL, 1, 5, 'Group') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Completed in 4191ms (View: 169, DB: 3) | 201 Created [http://www.example.com/groups.json] + SQL (67.1ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing SessionsController#destroy (for 127.0.0.1 at 2010-12-21 22:15:08) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Redirected to http://www.example.com/ +Completed in 3ms (DB: 68) | 302 Found [http://www.example.com/logout] + + +Processing GroupsController#create to xml (for 127.0.0.1 at 2010-12-21 22:15:08) [POST] + Parameters: {"group"=>{"name"=>"unit test group", "featured"=>"false", "description"=>"my desc"}, "api_key"=>"testapikey"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = '') LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + Role Load (0.1ms) SELECT `roles`.* FROM `roles` INNER JOIN `permissions` ON `roles`.id = `permissions`.role_id WHERE ((`permissions`.user_id = 1))  + SQL (0.2ms) SAVEPOINT active_record_1 + Group Create (0.4ms) INSERT INTO `groups` (`name`, `created_at`, `featured`, `announcements`, `private`, `updated_at`, `creator_id`, `description`, `photo_id`) VALUES('unit test group', '2010-12-22 05:15:12', 0, NULL, 0, '2010-12-22 05:15:12', 1, 'my desc', NULL) + Activity Create (0.3ms) INSERT INTO `activities` (`created_at`, `public`, `updated_at`, `action`, `user_id`, `item_id`, `item_type`) VALUES('2010-12-22 05:15:12', 1, '2010-12-22 05:15:12', NULL, 1, 6, 'Group') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Completed in 4051ms (View: 31, DB: 2) | 201 Created [http://www.example.com/groups.xml] + SQL (69.6ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing SessionsController#destroy (for 127.0.0.1 at 2010-12-21 22:15:12) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Redirected to http://www.example.com/ +Completed in 3ms (DB: 71) | 302 Found [http://www.example.com/logout] + + +Processing GroupsController#create to xml (for 127.0.0.1 at 2010-12-21 22:15:12) [POST] + Parameters: {"group"=>{"name"=>"unit test group", "featured"=>"false", "description"=>"my desc"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = '') LIMIT 1 +Filter chain halted as [:api_filter] rendered_or_redirected. +Completed in 161ms (View: 157, DB: 1) | 401 Unauthorized [http://www.example.com/groups.xml] + SQL (66.1ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing SessionsController#destroy (for 127.0.0.1 at 2010-12-21 22:15:12) [GET] + Theme Load (0.4ms) SELECT * FROM `themes` LIMIT 1 +Redirected to http://www.example.com/ +Completed in 3ms (DB: 67) | 302 Found [http://www.example.com/logout] + + +Processing GroupsController#update to json (for 127.0.0.1 at 2010-12-21 22:15:12) [PUT] + Parameters: {"group"=>{"name"=>"renamed unit test group", "featured"=>"false", "description"=>"my new desc"}, "api_key"=>"testapikey", "id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = '') LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + Group Load (0.3ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 1)  + Role Load (0.1ms) SELECT `roles`.* FROM `roles` INNER JOIN `permissions` ON `roles`.id = `permissions`.role_id WHERE ((`permissions`.user_id = 1))  + CACHE (0.0ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 1)  + SQL (0.2ms) SAVEPOINT active_record_1 + Group Update (0.5ms) UPDATE `groups` SET `updated_at` = '2010-12-22 05:15:16', `name` = 'renamed unit test group', `description` = 'my new desc' WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Completed in 4047ms (View: 31, DB: 2) | 200 OK [http://www.example.com/groups/1.json] + SQL (57.0ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing SessionsController#destroy (for 127.0.0.1 at 2010-12-21 22:15:16) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Redirected to http://www.example.com/ +Completed in 3ms (DB: 58) | 302 Found [http://www.example.com/logout] + + +Processing GroupsController#update to xml (for 127.0.0.1 at 2010-12-21 22:15:16) [PUT] + Parameters: {"group"=>{"name"=>"renamed unit test group", "featured"=>"false", "description"=>"my new desc"}, "api_key"=>"testapikey", "id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = '') LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 1)  + Role Load (0.1ms) SELECT `roles`.* FROM `roles` INNER JOIN `permissions` ON `roles`.id = `permissions`.role_id WHERE ((`permissions`.user_id = 1))  + CACHE (0.0ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 1)  + SQL (0.2ms) SAVEPOINT active_record_1 + Group Update (0.5ms) UPDATE `groups` SET `updated_at` = '2010-12-22 05:15:20', `name` = 'renamed unit test group', `description` = 'my new desc' WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Completed in 4043ms (View: 30, DB: 2) | 200 OK [http://www.example.com/groups/1.xml] + SQL (51.6ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing InvitesController#index to json (for 127.0.0.1 at 2010-12-21 22:15:20) [GET] + Parameters: {"api_key"=>"testapikey"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + Invite Load (0.5ms) SELECT * FROM `invites`  +Completed in 45ms (View: 27, DB: 53) | 200 OK [http://www.example.com/invites.json] + SQL (36.4ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing InvitesController#show to json (for 127.0.0.1 at 2010-12-21 22:15:21) [GET] + Parameters: {"api_key"=>"testapikey", "id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + Invite Load (0.2ms) SELECT * FROM `invites` WHERE (`invites`.`id` = 1)  +Completed in 29ms (View: 23, DB: 38) | 200 OK [http://www.example.com/invites/1.json] + SQL (32.9ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing SessionsController#destroy (for 127.0.0.1 at 2010-12-21 22:15:21) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Redirected to http://www.example.com/ +Completed in 3ms (DB: 34) | 302 Found [http://www.example.com/logout] + + +Processing InvitesController#create to json (for 127.0.0.1 at 2010-12-21 22:15:21) [POST] + Parameters: {"invite"=>{"user_id"=>"1", "accepted"=>"false", "message"=>"API Invite 1", "email"=>"test@email.com"}, "api_key"=>"testapikey"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = '') LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + Invite Load (0.2ms) SELECT * FROM `invites` WHERE (`invites`.`email` = 'test@email.com') LIMIT 1 + SQL (0.1ms) SAVEPOINT active_record_1 + Invite Create (0.2ms) INSERT INTO `invites` (`created_at`, `updated_at`, `invite_code`, `user_id`, `message`, `accepted`, `email`) VALUES('2010-12-22 05:15:21', '2010-12-22 05:15:21', 'zKMJxqLcay6OerUk', 1, 'API Invite 1', 0, 'test@email.com') + Network Load (0.1ms) SELECT * FROM `networks` LIMIT 1 +Sent mail to test@email.com + +Date: Tue, 21 Dec 2010 22:15:21 -0700 +From: quentin@example.com +To: test@email.com +Subject: An Invitation to Join Test Network +Mime-Version: 1.0 +Content-Type: text/html; charset=utf-8 + + + + +quentin test has invited you to join the Michigan Ruby Community +at RubyMI.org. +

    +To accept this invitation, click this link:
    +http://www.rubymi.org/signup?invite_code=zKMJxqLcay6OerUk + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Completed in 197ms (View: 183, DB: 2) | 201 Created [http://www.example.com/invites.json] + SQL (36.6ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing SessionsController#destroy (for 127.0.0.1 at 2010-12-21 22:15:21) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Redirected to http://www.example.com/ +Completed in 3ms (DB: 38) | 302 Found [http://www.example.com/logout] + + +Processing InvitesController#create to xml (for 127.0.0.1 at 2010-12-21 22:15:21) [POST] + Parameters: {"invite"=>{"user_id"=>"1", "accepted"=>"false", "message"=>"API Invite 1", "email"=>"test@email.com"}, "api_key"=>"testapikey"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = '') LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + Invite Load (0.2ms) SELECT * FROM `invites` WHERE (`invites`.`email` = 'test@email.com') LIMIT 1 + SQL (0.1ms) SAVEPOINT active_record_1 + Invite Create (0.2ms) INSERT INTO `invites` (`created_at`, `updated_at`, `invite_code`, `user_id`, `message`, `accepted`, `email`) VALUES('2010-12-22 05:15:21', '2010-12-22 05:15:21', 'J5pukspsFUfqc3Dw', 1, 'API Invite 1', 0, 'test@email.com') + Network Load (0.1ms) SELECT * FROM `networks` LIMIT 1 +Sent mail to test@email.com + +Date: Tue, 21 Dec 2010 22:15:21 -0700 +From: quentin@example.com +To: test@email.com +Subject: An Invitation to Join Test Network +Mime-Version: 1.0 +Content-Type: text/html; charset=utf-8 + + + + +quentin test has invited you to join the Michigan Ruby Community +at RubyMI.org. +

    +To accept this invitation, click this link:
    +http://www.rubymi.org/signup?invite_code=J5pukspsFUfqc3Dw + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Completed in 36ms (View: 24, DB: 2) | 201 Created [http://www.example.com/invites.xml] + SQL (33.9ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing SessionsController#destroy (for 127.0.0.1 at 2010-12-21 22:15:21) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Redirected to http://www.example.com/ +Completed in 3ms (DB: 35) | 302 Found [http://www.example.com/logout] + + +Processing InvitesController#create to xml (for 127.0.0.1 at 2010-12-21 22:15:21) [POST] + Parameters: {"invite"=>{"user_id"=>"1", "accepted"=>"false", "message"=>"API Invite 1", "email"=>"test@email.com"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = '') LIMIT 1 +Filter chain halted as [:api_filter] rendered_or_redirected. +Completed in 216ms (View: 213, DB: 1) | 401 Unauthorized [http://www.example.com/invites.xml] + SQL (36.3ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing SessionsController#destroy (for 127.0.0.1 at 2010-12-21 22:15:21) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Redirected to http://www.example.com/ +Completed in 4ms (DB: 37) | 302 Found [http://www.example.com/logout] + + +Processing InvitesController#update to json (for 127.0.0.1 at 2010-12-21 22:15:21) [PUT] + Parameters: {"invite"=>{"user_id"=>"1", "accepted"=>"false", "message"=>"API Invite 1", "email"=>"test@email.com"}, "api_key"=>"testapikey", "id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = '') LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + Invite Load (0.3ms) SELECT * FROM `invites` WHERE (`invites`.`id` = 1)  + SQL (0.2ms) SAVEPOINT active_record_1 + Invite Update (0.3ms) UPDATE `invites` SET `updated_at` = '2010-12-22 05:15:21', `message` = 'API Invite 1', `email` = 'test@email.com' WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Completed in 36ms (View: 27, DB: 2) | 200 OK [http://www.example.com/invites/1.json] + SQL (34.5ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing SessionsController#destroy (for 127.0.0.1 at 2010-12-21 22:15:21) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Redirected to http://www.example.com/ +Completed in 3ms (DB: 36) | 302 Found [http://www.example.com/logout] + + +Processing InvitesController#update to xml (for 127.0.0.1 at 2010-12-21 22:15:21) [PUT] + Parameters: {"invite"=>{"user_id"=>"1", "accepted"=>"false", "message"=>"API Invite 1", "email"=>"test@email.com"}, "api_key"=>"testapikey", "id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = '') LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + Invite Load (0.2ms) SELECT * FROM `invites` WHERE (`invites`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + Invite Update (0.3ms) UPDATE `invites` SET `updated_at` = '2010-12-22 05:15:21', `message` = 'API Invite 1', `email` = 'test@email.com' WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Completed in 30ms (View: 22, DB: 2) | 200 OK [http://www.example.com/invites/1.xml] + SQL (30.8ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing LinksController#index to json (for 127.0.0.1 at 2010-12-21 22:15:21) [GET] + Parameters: {"api_key"=>"testapikey"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + Link Load (0.3ms) SELECT * FROM `links` ORDER BY created_at DESC LIMIT 0, 30 + SQL (0.1ms) SELECT count(*) AS count_all FROM `links`  +Completed in 179ms (View: 166, DB: 32) | 200 OK [http://www.example.com/links.json] + SQL (40.1ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing LinksController#show to json (for 127.0.0.1 at 2010-12-21 22:15:22) [GET] + Parameters: {"api_key"=>"testapikey", "id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + Link Load (0.2ms) SELECT * FROM `links` WHERE (`links`.`id` = 1)  +Completed in 28ms (View: 23, DB: 42) | 200 OK [http://www.example.com/links/1.json] + SQL (32.7ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing SessionsController#destroy (for 127.0.0.1 at 2010-12-21 22:15:22) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Redirected to http://www.example.com/ +Completed in 3ms (DB: 34) | 302 Found [http://www.example.com/logout] + + +Processing LinksController#create to json (for 127.0.0.1 at 2010-12-21 22:15:22) [POST] + Parameters: {"api_key"=>"testapikey", "link"=>{"title"=>"API Link 1", "url"=>"http://www.api.com", "user_id"=>"1"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = '') LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + SQL (0.1ms) SAVEPOINT active_record_1 + Link Create (0.2ms) INSERT INTO `links` (`created_at`, `title`, `updated_at`, `url`, `user_id`) VALUES('2010-12-22 05:15:22', 'API Link 1', '2010-12-22 05:15:22', 'http://www.api.com', 1) + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Activity Create (0.2ms) INSERT INTO `activities` (`created_at`, `public`, `updated_at`, `action`, `user_id`, `item_id`, `item_type`) VALUES('2010-12-22 05:15:22', 1, '2010-12-22 05:15:22', NULL, 1, 5, 'Link') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Completed in 175ms (View: 165, DB: 2) | 201 Created [http://www.example.com/links.json] + SQL (69.1ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing SessionsController#destroy (for 127.0.0.1 at 2010-12-21 22:15:22) [GET] + Theme Load (0.2ms) SELECT * FROM `themes` LIMIT 1 +Redirected to http://www.example.com/ +Completed in 3ms (DB: 70) | 302 Found [http://www.example.com/logout] + + +Processing LinksController#create to xml (for 127.0.0.1 at 2010-12-21 22:15:22) [POST] + Parameters: {"api_key"=>"testapikey", "link"=>{"title"=>"API Link 1", "url"=>"http://www.api.com", "user_id"=>"1"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = '') LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + SQL (0.1ms) SAVEPOINT active_record_1 + Link Create (0.2ms) INSERT INTO `links` (`created_at`, `title`, `updated_at`, `url`, `user_id`) VALUES('2010-12-22 05:15:22', 'API Link 1', '2010-12-22 05:15:22', 'http://www.api.com', 1) + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Activity Create (0.2ms) INSERT INTO `activities` (`created_at`, `public`, `updated_at`, `action`, `user_id`, `item_id`, `item_type`) VALUES('2010-12-22 05:15:22', 1, '2010-12-22 05:15:22', NULL, 1, 6, 'Link') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Completed in 35ms (View: 26, DB: 36) | 201 Created [http://www.example.com/links.xml] + SQL (76.9ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing SessionsController#destroy (for 127.0.0.1 at 2010-12-21 22:15:22) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Redirected to http://www.example.com/ +Completed in 5ms (DB: 79) | 302 Found [http://www.example.com/logout] + + +Processing LinksController#create to xml (for 127.0.0.1 at 2010-12-21 22:15:22) [POST] + Parameters: {"link"=>{"title"=>"API Link 1", "url"=>"http://www.api.com", "user_id"=>"1"}} + Theme Load (0.2ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = '') LIMIT 1 +Filter chain halted as [:api_filter] rendered_or_redirected. +Completed in 30ms (View: 25, DB: 1) | 401 Unauthorized [http://www.example.com/links.xml] + SQL (34.6ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing SessionsController#destroy (for 127.0.0.1 at 2010-12-21 22:15:22) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Redirected to http://www.example.com/ +Completed in 3ms (DB: 36) | 302 Found [http://www.example.com/logout] + + +Processing LinksController#update to json (for 127.0.0.1 at 2010-12-21 22:15:22) [PUT] + Parameters: {"api_key"=>"testapikey", "id"=>"1", "link"=>{"title"=>"API Link 1", "url"=>"http://www.api.com", "user_id"=>"1"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.5ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = '') LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + Link Load (0.3ms) SELECT * FROM `links` WHERE (`links`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + Link Update (0.3ms) UPDATE `links` SET `updated_at` = '2010-12-22 05:15:22', `title` = 'API Link 1', `url` = 'http://www.api.com' WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Completed in 175ms (View: 25, DB: 2) | 200 OK [http://www.example.com/links/1.json] + SQL (34.0ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing SessionsController#destroy (for 127.0.0.1 at 2010-12-21 22:15:23) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Redirected to http://www.example.com/ +Completed in 4ms (DB: 35) | 302 Found [http://www.example.com/logout] + + +Processing LinksController#update to xml (for 127.0.0.1 at 2010-12-21 22:15:23) [PUT] + Parameters: {"api_key"=>"testapikey", "id"=>"1", "link"=>{"title"=>"API Link 1", "url"=>"http://www.api.com", "user_id"=>"1"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = '') LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + Link Load (0.2ms) SELECT * FROM `links` WHERE (`links`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + Link Update (0.3ms) UPDATE `links` SET `updated_at` = '2010-12-22 05:15:23', `title` = 'API Link 1', `url` = 'http://www.api.com' WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Completed in 31ms (View: 23, DB: 2) | 200 OK [http://www.example.com/links/1.xml] + SQL (31.3ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing MembershipsController#show to json (for 127.0.0.1 at 2010-12-21 22:15:23) [GET] + Parameters: {"api_key"=>"testapikey", "id"=>"2"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + Membership Load (0.3ms) SELECT * FROM `memberships` WHERE (`memberships`.`id` = 2)  +Completed in 172ms (View: 162, DB: 33) | 200 OK [http://www.example.com/memberships/2.json] + SQL (35.6ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing MembershipsController#find to json (for 127.0.0.1 at 2010-12-21 22:15:23) [GET] + Parameters: {"api_key"=>"testapikey", "group_id"=>"1", "user_id"=>"4"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + Membership Load (0.3ms) SELECT * FROM `memberships` WHERE (`memberships`.`user_id` = '4' AND `memberships`.`group_id` = '1') LIMIT 1 +Completed in 29ms (View: 24, DB: 37) | 200 OK [http://www.example.com/memberships/find.json?api_key=testapikey&user_id=4&group_id=1] + SQL (31.2ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.1ms) ROLLBACK + SQL (0.0ms) BEGIN + + +Processing SessionsController#destroy (for 127.0.0.1 at 2010-12-21 22:15:23) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Redirected to http://www.example.com/ +Completed in 3ms (DB: 32) | 302 Found [http://www.example.com/logout] + + +Processing MembershipsController#create to json (for 127.0.0.1 at 2010-12-21 22:15:23) [POST] + Parameters: {"api_key"=>"testapikey", "group_id"=>"1", "user_id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = '') LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Role Load (0.1ms) SELECT `roles`.* FROM `roles` INNER JOIN `permissions` ON `roles`.id = `permissions`.role_id WHERE ((`permissions`.user_id = 1))  + Role Load (0.2ms) SELECT * FROM `roles` WHERE (`roles`.`rolename` = 'group_admin') LIMIT 1 + SQL (0.1ms) SAVEPOINT active_record_1 + Membership Create (0.2ms) INSERT INTO `memberships` (`created_at`, `updated_at`, `role_id`, `group_id`, `user_id`) VALUES('2010-12-22 05:15:23', '2010-12-22 05:15:23', 4, 1, 1) + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Activity Create (0.2ms) INSERT INTO `activities` (`created_at`, `public`, `updated_at`, `action`, `user_id`, `item_id`, `item_type`) VALUES('2010-12-22 05:15:23', 1, '2010-12-22 05:15:23', NULL, 1, 6, 'Membership') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Completed in 35ms (View: 23, DB: 2) | 201 Created [http://www.example.com/memberships.json] + SQL (31.2ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing SessionsController#destroy (for 127.0.0.1 at 2010-12-21 22:15:23) [GET] + Theme Load (0.2ms) SELECT * FROM `themes` LIMIT 1 +Redirected to http://www.example.com/ +Completed in 3ms (DB: 32) | 302 Found [http://www.example.com/logout] + + +Processing MembershipsController#create to json (for 127.0.0.1 at 2010-12-21 22:15:23) [POST] + Parameters: {"api_key"=>"testapikey", "group_id"=>"1", "user_id"=>"3"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = '') LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + User Load (0.4ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  + Role Load (0.2ms) SELECT `roles`.* FROM `roles` INNER JOIN `permissions` ON `roles`.id = `permissions`.role_id WHERE ((`permissions`.user_id = 3))  + Role Load (0.2ms) SELECT * FROM `roles` WHERE (`roles`.`rolename` = 'user') LIMIT 1 + SQL (0.1ms) SAVEPOINT active_record_1 + Membership Create (0.2ms) INSERT INTO `memberships` (`created_at`, `updated_at`, `role_id`, `group_id`, `user_id`) VALUES('2010-12-22 05:15:23', '2010-12-22 05:15:23', 3, 1, 3) + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  + Activity Create (0.2ms) INSERT INTO `activities` (`created_at`, `public`, `updated_at`, `action`, `user_id`, `item_id`, `item_type`) VALUES('2010-12-22 05:15:23', 1, '2010-12-22 05:15:23', NULL, 3, 7, 'Membership') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Completed in 43ms (View: 28, DB: 3) | 201 Created [http://www.example.com/memberships.json] + SQL (73.9ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing MembershipsController#create to json (for 127.0.0.1 at 2010-12-21 22:15:23) [POST] + Parameters: {"api_key"=>"testapikey", "group_id"=>"1", "user_id"=>"3"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  + Role Load (0.1ms) SELECT `roles`.* FROM `roles` INNER JOIN `permissions` ON `roles`.id = `permissions`.role_id WHERE ((`permissions`.user_id = 3))  + Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`rolename` = 'user') LIMIT 1 + SQL (0.1ms) SAVEPOINT active_record_1 + Membership Create (0.2ms) INSERT INTO `memberships` (`created_at`, `updated_at`, `role_id`, `group_id`, `user_id`) VALUES('2010-12-22 05:15:23', '2010-12-22 05:15:23', 3, 1, 3) + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  + Activity Create (0.2ms) INSERT INTO `activities` (`created_at`, `public`, `updated_at`, `action`, `user_id`, `item_id`, `item_type`) VALUES('2010-12-22 05:15:23', 1, '2010-12-22 05:15:23', NULL, 3, 8, 'Membership') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Completed in 35ms (View: 23, DB: 76) | 201 Created [http://www.example.com/memberships.json] + + +Processing MembershipsController#destroy to json (for 127.0.0.1 at 2010-12-21 22:15:23) [DELETE] + Parameters: {"api_key"=>"testapikey", "id"=>"destroy", "group_id"=>"1", "user_id"=>"3"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.4ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + Membership Load (0.2ms) SELECT * FROM `memberships` WHERE (`memberships`.`user_id` = '3' AND `memberships`.`group_id` = '1') LIMIT 1 + SQL (0.1ms) SAVEPOINT active_record_1 + Membership Destroy (0.1ms) DELETE FROM `memberships` WHERE `id` = 8 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Completed in 172ms (View: 167, DB: 2) | 200 OK [http://www.example.com/memberships/destroy.json] + SQL (42.2ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing MembershipsController#find to json (for 127.0.0.1 at 2010-12-21 22:15:24) [GET] + Parameters: {"api_key"=>"testapikey", "group_id"=>"1", "user_id"=>"4"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + Membership Load (0.2ms) SELECT * FROM `memberships` WHERE (`memberships`.`user_id` = '4' AND `memberships`.`group_id` = '1') LIMIT 1 +Completed in 29ms (View: 24, DB: 43) | 200 OK [http://www.example.com/memberships/find.json?api_key=testapikey&user_id=4&group_id=1] + SQL (30.7ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing ProjectsController#index to json (for 127.0.0.1 at 2010-12-21 22:15:24) [GET] + Parameters: {"api_key"=>"testapikey"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + Project Load (0.3ms) SELECT * FROM `projects`  +Completed in 36ms (View: 23, DB: 32) | 200 OK [http://www.example.com/projects.json] + SQL (34.1ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing ProjectsController#show to json (for 127.0.0.1 at 2010-12-21 22:15:24) [GET] + Parameters: {"api_key"=>"testapikey", "id"=>"1"} + Theme Load (0.2ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  +Completed in 192ms (View: 187, DB: 36) | 200 OK [http://www.example.com/projects/1.json] + SQL (43.5ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing SessionsController#destroy (for 127.0.0.1 at 2010-12-21 22:15:24) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Redirected to http://www.example.com/ +Completed in 3ms (DB: 45) | 302 Found [http://www.example.com/logout] + + +Processing ProjectsController#create to json (for 127.0.0.1 at 2010-12-21 22:15:24) [POST] + Parameters: {"api_key"=>"testapikey", "project"=>{"name"=>"API Project", "url"=>"http://www.apiproject.com", "user_id"=>"1", "description"=>"API Project Desc"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = '') LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + SQL (0.1ms) SAVEPOINT active_record_1 + Project Create (0.2ms) INSERT INTO `projects` (`name`, `created_at`, `updated_at`, `url`, `user_id`, `description`) VALUES('API Project', '2010-12-22 05:15:24', '2010-12-22 05:15:24', 'http://www.apiproject.com', 1, 'API Project Desc') + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Activity Create (0.2ms) INSERT INTO `activities` (`created_at`, `public`, `updated_at`, `action`, `user_id`, `item_id`, `item_type`) VALUES('2010-12-22 05:15:24', 1, '2010-12-22 05:15:24', NULL, 1, 5, 'Project') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Completed in 33ms (View: 23, DB: 2) | 201 Created [http://www.example.com/projects.json] + SQL (32.7ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing SessionsController#destroy (for 127.0.0.1 at 2010-12-21 22:15:24) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Redirected to http://www.example.com/ +Completed in 5ms (DB: 34) | 302 Found [http://www.example.com/logout] + + +Processing ProjectsController#create to xml (for 127.0.0.1 at 2010-12-21 22:15:24) [POST] + Parameters: {"api_key"=>"testapikey", "project"=>{"name"=>"API Project", "url"=>"http://www.apiproject.com", "user_id"=>"1", "description"=>"API Project Desc"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = '') LIMIT 1 + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + SQL (0.2ms) SAVEPOINT active_record_1 + Project Create (0.5ms) INSERT INTO `projects` (`name`, `created_at`, `updated_at`, `url`, `user_id`, `description`) VALUES('API Project', '2010-12-22 05:15:24', '2010-12-22 05:15:24', 'http://www.apiproject.com', 1, 'API Project Desc') + User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Activity Create (0.4ms) INSERT INTO `activities` (`created_at`, `public`, `updated_at`, `action`, `user_id`, `item_id`, `item_type`) VALUES('2010-12-22 05:15:24', 1, '2010-12-22 05:15:24', NULL, 1, 6, 'Project') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Completed in 261ms (View: 243, DB: 5) | 201 Created [http://www.example.com/projects.xml] + SQL (35.5ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing SessionsController#destroy (for 127.0.0.1 at 2010-12-21 22:15:24) [GET] + Parameters: {"api_key"=>"testapikey"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + SQL (0.1ms) SAVEPOINT active_record_1 + User Load (0.2ms) SELECT `users`.* FROM `users` INNER JOIN `permissions` ON permissions.user_id = users.id WHERE (role_id = 2)  + User Load (0.1ms) SELECT `users`.* FROM `users` INNER JOIN `permissions` ON permissions.user_id = users.id WHERE (role_id = 1)  + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/ +Completed in 9ms (DB: 37) | 302 Found [http://www.example.com/logout] + + +Processing ProjectsController#create to xml (for 127.0.0.1 at 2010-12-21 22:15:24) [POST] + Parameters: {"project"=>{"name"=>"API Project", "url"=>"http://www.apiproject.com", "user_id"=>"1", "description"=>"API Project Desc"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = '') LIMIT 1 +Filter chain halted as [:api_filter] rendered_or_redirected. +Completed in 27ms (View: 23, DB: 1) | 401 Unauthorized [http://www.example.com/projects.xml] + SQL (36.5ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing SessionsController#destroy (for 127.0.0.1 at 2010-12-21 22:15:24) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Redirected to http://www.example.com/ +Completed in 3ms (DB: 38) | 302 Found [http://www.example.com/logout] + + +Processing ProjectsController#update to json (for 127.0.0.1 at 2010-12-21 22:15:24) [PUT] + Parameters: {"api_key"=>"testapikey", "id"=>"1", "project"=>{"name"=>"API Project", "url"=>"http://www.apiproject.com", "user_id"=>"1", "description"=>"API Project Desc"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = '') LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + Project Update (0.2ms) UPDATE `projects` SET `updated_at` = '2010-12-22 05:15:24', `name` = 'API Project', `description` = 'API Project Desc', `url` = 'http://www.apiproject.com' WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Completed in 174ms (View: 168, DB: 2) | 200 OK [http://www.example.com/projects/1.json] + SQL (37.3ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing SessionsController#destroy (for 127.0.0.1 at 2010-12-21 22:15:25) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Redirected to http://www.example.com/ +Completed in 3ms (DB: 38) | 302 Found [http://www.example.com/logout] + + +Processing ProjectsController#update to xml (for 127.0.0.1 at 2010-12-21 22:15:25) [PUT] + Parameters: {"api_key"=>"testapikey", "id"=>"1", "project"=>{"name"=>"API Project", "url"=>"http://www.apiproject.com", "user_id"=>"1", "description"=>"API Project Desc"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = '') LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + Project Update (0.3ms) UPDATE `projects` SET `updated_at` = '2010-12-22 05:15:25', `name` = 'API Project', `description` = 'API Project Desc', `url` = 'http://www.apiproject.com' WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Completed in 32ms (View: 25, DB: 2) | 200 OK [http://www.example.com/projects/1.xml] + SQL (34.9ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing StatusPostsController#index to json (for 127.0.0.1 at 2010-12-21 22:15:25) [GET] + Parameters: {"api_key"=>"testapikey"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + StatusPost Load (0.2ms) SELECT * FROM `status_posts`  +Completed in 34ms (View: 22, DB: 36) | 200 OK [http://www.example.com/status_posts.json] + SQL (32.8ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing StatusPostsController#show to json (for 127.0.0.1 at 2010-12-21 22:15:25) [GET] + Parameters: {"api_key"=>"testapikey", "id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + StatusPost Load (0.2ms) SELECT * FROM `status_posts` WHERE (`status_posts`.`id` = 1)  +Completed in 173ms (View: 168, DB: 34) | 200 OK [http://www.example.com/status_posts/1.json] + SQL (36.4ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing SessionsController#destroy (for 127.0.0.1 at 2010-12-21 22:15:25) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Redirected to http://www.example.com/ +Completed in 3ms (DB: 38) | 302 Found [http://www.example.com/logout] + + +Processing StatusPostsController#create to json (for 127.0.0.1 at 2010-12-21 22:15:25) [POST] + Parameters: {"api_key"=>"testapikey", "status_post"=>{"body"=>"API Status Post 1"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = '') LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + SQL (0.1ms) SAVEPOINT active_record_1 + StatusPost Create (0.2ms) INSERT INTO `status_posts` (`created_at`, `body`, `updated_at`, `user_id`) VALUES('2010-12-22 05:15:25', 'API Status Post 1', '2010-12-22 05:15:25', 1) + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Activity Create (0.2ms) INSERT INTO `activities` (`created_at`, `public`, `updated_at`, `action`, `user_id`, `item_id`, `item_type`) VALUES('2010-12-22 05:15:25', 1, '2010-12-22 05:15:25', NULL, 1, 5, 'StatusPost') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Completed in 34ms (View: 24, DB: 2) | 201 Created [http://www.example.com/status_posts.json] + SQL (41.9ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing SessionsController#destroy (for 127.0.0.1 at 2010-12-21 22:15:25) [GET] + Theme Load (0.2ms) SELECT * FROM `themes` LIMIT 1 +Redirected to http://www.example.com/ +Completed in 3ms (DB: 43) | 302 Found [http://www.example.com/logout] + + +Processing StatusPostsController#create to xml (for 127.0.0.1 at 2010-12-21 22:15:25) [POST] + Parameters: {"api_key"=>"testapikey", "status_post"=>{"body"=>"API Status Post 1"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = '') LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + SQL (0.1ms) SAVEPOINT active_record_1 + StatusPost Create (0.2ms) INSERT INTO `status_posts` (`created_at`, `body`, `updated_at`, `user_id`) VALUES('2010-12-22 05:15:25', 'API Status Post 1', '2010-12-22 05:15:25', 1) + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Activity Create (0.2ms) INSERT INTO `activities` (`created_at`, `public`, `updated_at`, `action`, `user_id`, `item_id`, `item_type`) VALUES('2010-12-22 05:15:25', 1, '2010-12-22 05:15:25', NULL, 1, 6, 'StatusPost') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Completed in 199ms (View: 189, DB: 2) | 201 Created [http://www.example.com/status_posts.xml] + SQL (27.4ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing SessionsController#destroy (for 127.0.0.1 at 2010-12-21 22:15:25) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Redirected to http://www.example.com/ +Completed in 4ms (DB: 29) | 302 Found [http://www.example.com/logout] + + +Processing StatusPostsController#create to xml (for 127.0.0.1 at 2010-12-21 22:15:25) [POST] + Parameters: {"status_post"=>{"body"=>"API Status Post 1"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = '') LIMIT 1 +Filter chain halted as [:api_filter] rendered_or_redirected. +Completed in 27ms (View: 23, DB: 1) | 401 Unauthorized [http://www.example.com/status_posts.xml] + SQL (31.9ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing SessionsController#destroy (for 127.0.0.1 at 2010-12-21 22:15:26) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Redirected to http://www.example.com/ +Completed in 3ms (DB: 33) | 302 Found [http://www.example.com/logout] + + +Processing StatusPostsController#update to json (for 127.0.0.1 at 2010-12-21 22:15:26) [PUT] + Parameters: {"api_key"=>"testapikey", "id"=>"1", "status_post"=>{"body"=>"API Status Post 1"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = '') LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + StatusPost Load (0.2ms) SELECT * FROM `status_posts` WHERE (`status_posts`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + StatusPost Update (0.3ms) UPDATE `status_posts` SET `updated_at` = '2010-12-22 05:15:26', `body` = 'API Status Post 1' WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Completed in 30ms (View: 23, DB: 2) | 200 OK [http://www.example.com/status_posts/1.json] + SQL (34.1ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing SessionsController#destroy (for 127.0.0.1 at 2010-12-21 22:15:26) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Redirected to http://www.example.com/ +Completed in 3ms (DB: 35) | 302 Found [http://www.example.com/logout] + + +Processing StatusPostsController#update to xml (for 127.0.0.1 at 2010-12-21 22:15:26) [PUT] + Parameters: {"api_key"=>"testapikey", "id"=>"1", "status_post"=>{"body"=>"API Status Post 1"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = '') LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + StatusPost Load (0.3ms) SELECT * FROM `status_posts` WHERE (`status_posts`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + StatusPost Update (0.3ms) UPDATE `status_posts` SET `updated_at` = '2010-12-22 05:15:26', `body` = 'API Status Post 1' WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Completed in 200ms (View: 25, DB: 22) | 200 OK [http://www.example.com/status_posts/1.xml] + SQL (36.1ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing SessionsController#destroy (for 127.0.0.1 at 2010-12-21 22:15:26) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Redirected to http://www.example.com/ +Completed in 3ms (DB: 37) | 302 Found [http://www.example.com/logout] + + +Processing UsersController#create to json (for 127.0.0.1 at 2010-12-21 22:15:26) [POST] + Parameters: {"api_key"=>"testapikey", "user"=>{"password_confirmation"=>"12345", "twitter_id"=>"uttwit", "last_name"=>"test", "password"=>"12345", "login"=>"ut1", "email"=>"ut@email.com", "first_name"=>"unit"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = '') LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + ConfigSetting Load (0.3ms) SELECT * FROM `config_settings`  + +NoMethodError (undefined method `value' for nil:NilClass): + app/models/configuration.rb:93:in `ENABLE_SELF_REGISTRATION' + app/controllers/users_controller.rb:236:in `create' + /test/integration/api/users_test.rb:99:in `test_should_create_user_via_API_JSON' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run' + /usr/lib/ruby/1.8/test/unit/ui/testrunnermediator.rb:46:in `run_suite' + /usr/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:67:in `start_mediator' + /usr/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:41:in `start' + /usr/lib/ruby/1.8/test/unit/ui/testrunnerutilities.rb:29:in `run' + /usr/lib/ruby/1.8/test/unit/autorunner.rb:216:in `run' + /usr/lib/ruby/1.8/test/unit/autorunner.rb:12:in `run' + /usr/lib/ruby/1.8/test/unit.rb:279 + rake (0.8.7) lib/rake/rake_test_loader.rb:5 + +Rendered rescues/_trace (32.7ms) +Rendered rescues/_request_and_response (0.9ms) +Rendering rescues/layout (internal_server_error) + SQL (33.2ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing SessionsController#destroy (for 127.0.0.1 at 2010-12-21 22:15:26) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Redirected to http://www.example.com/ +Completed in 3ms (DB: 36) | 302 Found [http://www.example.com/logout] + + +Processing UsersController#create to xml (for 127.0.0.1 at 2010-12-21 22:15:26) [POST] + Parameters: {"api_key"=>"testapikey", "user"=>{"password_confirmation"=>"12345", "twitter_id"=>"uttwit", "last_name"=>"test", "password"=>"12345", "login"=>"ut2", "email"=>"ut2@email.com", "first_name"=>"unit"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = '') LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + +NoMethodError (undefined method `value' for nil:NilClass): + app/models/configuration.rb:93:in `ENABLE_SELF_REGISTRATION' + app/controllers/users_controller.rb:236:in `create' + /test/integration/api/users_test.rb:119:in `test_should_create_user_via_API_XML' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run' + /usr/lib/ruby/1.8/test/unit/ui/testrunnermediator.rb:46:in `run_suite' + /usr/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:67:in `start_mediator' + /usr/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:41:in `start' + /usr/lib/ruby/1.8/test/unit/ui/testrunnerutilities.rb:29:in `run' + /usr/lib/ruby/1.8/test/unit/autorunner.rb:216:in `run' + /usr/lib/ruby/1.8/test/unit/autorunner.rb:12:in `run' + /usr/lib/ruby/1.8/test/unit.rb:279 + rake (0.8.7) lib/rake/rake_test_loader.rb:5 + +Rendered rescues/_trace (192.8ms) +Rendered rescues/_request_and_response (0.5ms) +Rendering rescues/layout (internal_server_error) + SQL (37.6ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing UsersController#index to json (for 127.0.0.1 at 2010-12-21 22:15:26) [GET] + Parameters: {"api_key"=>"testapikey"} + Theme Load (0.2ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + User Load (1.7ms) SELECT id, first_name, last_name, login, sex, city, state_id, zip, country_id, + phone, phone2, time_zone, about_me, organization, skills, occupation, featured, + website, blog, blog_feed, flickr, flickr_username, linked_in_url, twitter_id, aim_name, + gtalk_name, yahoo_messenger_name, msn_name, youtube_username, skype_name, posts_count, + last_seen_at, login_count, activated_at, enabled, is_active, identity_url FROM `users` WHERE (activated_at is not null) ORDER BY created_at ASC +Completed in 95ms (View: 86, DB: 42) | 200 OK [http://www.example.com/users.json] + SQL (36.7ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing UsersController#index to json (for 127.0.0.1 at 2010-12-21 22:15:26) [GET] + Parameters: {"api_key"=>"testapikey", "last_name"=>"fisher"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + User Load (0.9ms) SELECT id, first_name, last_name, login, sex, city, state_id, zip, country_id, + phone, phone2, time_zone, about_me, organization, skills, occupation, featured, + website, blog, blog_feed, flickr, flickr_username, linked_in_url, twitter_id, aim_name, + gtalk_name, yahoo_messenger_name, msn_name, youtube_username, skype_name, posts_count, + last_seen_at, login_count, activated_at, enabled, is_active, identity_url FROM `users` WHERE (activated_at is not null AND last_name='fisher') ORDER BY created_at ASC +Completed in 31ms (View: 26, DB: 39) | 200 OK [http://www.example.com/users.json?api_key=testapikey&last_name=fisher] + SQL (38.2ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing UsersController#index to json (for 127.0.0.1 at 2010-12-21 22:15:27) [GET] + Parameters: {"api_key"=>"testapikey", "last_name"=>"User", "limit"=>"5"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + User Load (0.8ms) SELECT id, first_name, last_name, login, sex, city, state_id, zip, country_id, + phone, phone2, time_zone, about_me, organization, skills, occupation, featured, + website, blog, blog_feed, flickr, flickr_username, linked_in_url, twitter_id, aim_name, + gtalk_name, yahoo_messenger_name, msn_name, youtube_username, skype_name, posts_count, + last_seen_at, login_count, activated_at, enabled, is_active, identity_url FROM `users` WHERE (activated_at is not null AND last_name='User') ORDER BY created_at ASC LIMIT 0, 5 +Completed in 43ms (View: 37, DB: 40) | 200 OK [http://www.example.com/users.json?api_key=testapikey&last_name=User&limit=5] + SQL (32.5ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing UsersController#index to json (for 127.0.0.1 at 2010-12-21 22:15:27) [GET] + Parameters: {"api_key"=>"testapikey", "last_name"=>"User", "first_name"=>"Test7"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + User Load (0.7ms) SELECT id, first_name, last_name, login, sex, city, state_id, zip, country_id, + phone, phone2, time_zone, about_me, organization, skills, occupation, featured, + website, blog, blog_feed, flickr, flickr_username, linked_in_url, twitter_id, aim_name, + gtalk_name, yahoo_messenger_name, msn_name, youtube_username, skype_name, posts_count, + last_seen_at, login_count, activated_at, enabled, is_active, identity_url FROM `users` WHERE (activated_at is not null AND last_name='User' AND first_name='Test7') ORDER BY created_at ASC +Completed in 30ms (View: 25, DB: 35) | 200 OK [http://www.example.com/users.json?api_key=testapikey&last_name=User&first_name=Test7] + SQL (38.9ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing UsersController#show to json (for 127.0.0.1 at 2010-12-21 22:15:27) [GET] + Parameters: {"api_key"=>"testapikey", "id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  +Completed in 230ms (View: 223, DB: 40) | 200 OK [http://www.example.com/users/1.json] + SQL (38.9ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing UsersController#index to json (for 127.0.0.1 at 2010-12-21 22:15:27) [GET] + Parameters: {"api_key"=>"testapikey", "limit"=>"10"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + User Load (0.9ms) SELECT id, first_name, last_name, login, sex, city, state_id, zip, country_id, + phone, phone2, time_zone, about_me, organization, skills, occupation, featured, + website, blog, blog_feed, flickr, flickr_username, linked_in_url, twitter_id, aim_name, + gtalk_name, yahoo_messenger_name, msn_name, youtube_username, skype_name, posts_count, + last_seen_at, login_count, activated_at, enabled, is_active, identity_url FROM `users` WHERE (activated_at is not null) ORDER BY created_at ASC LIMIT 0, 10 +Completed in 45ms (View: 39, DB: 41) | 200 OK [http://www.example.com/users.json] + SQL (32.6ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing UsersController#index to json (for 127.0.0.1 at 2010-12-21 22:15:27) [GET] + Parameters: {"api_key"=>"testapikey", "limit"=>"10", "offset"=>"20"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + User Load (1.4ms) SELECT id, first_name, last_name, login, sex, city, state_id, zip, country_id, + phone, phone2, time_zone, about_me, organization, skills, occupation, featured, + website, blog, blog_feed, flickr, flickr_username, linked_in_url, twitter_id, aim_name, + gtalk_name, yahoo_messenger_name, msn_name, youtube_username, skype_name, posts_count, + last_seen_at, login_count, activated_at, enabled, is_active, identity_url FROM `users` WHERE (activated_at is not null) ORDER BY created_at ASC LIMIT 20, 10 +Completed in 43ms (View: 37, DB: 35) | 200 OK [http://www.example.com/users.json] + SQL (33.1ms) ROLLBACK +** acts_as_taggable_on: initialized properly. + SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 + SQL (0.1ms) BEGIN + Activity Load (0.3ms) SELECT * FROM `activities` WHERE (`activities`.`id` = 24)  + User Load (0.4ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Announcement Load (0.2ms) SELECT * FROM `announcements` WHERE (`announcements`.`id` = 1)  + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + Activity Load (0.2ms) SELECT * FROM `activities` WHERE (`activities`.`id` = 16)  + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Attendance Load (0.2ms) SELECT * FROM `attendances` WHERE (`attendances`.`id` = 1)  + Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.`id` = 1)  + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + Activity Load (0.2ms) SELECT * FROM `activities` WHERE (`activities`.`id` = 15)  + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + BlogPost Load (0.2ms) SELECT * FROM `blog_posts` WHERE (`blog_posts`.`id` = 1)  + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + Activity Load (0.2ms) SELECT * FROM `activities` WHERE (`activities`.`id` = 20)  + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + BookReview Load (0.2ms) SELECT * FROM `book_reviews` WHERE (`book_reviews`.`id` = 1)  + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + Activity Load (0.2ms) SELECT * FROM `activities` WHERE (`activities`.`id` = 25)  + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Classified Load (0.2ms) SELECT * FROM `classifieds` WHERE (`classifieds`.`id` = 1)  + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + Activity Load (0.2ms) SELECT * FROM `activities` WHERE (`activities`.`id` = 11)  + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.`id` = 1)  + SQL (0.1ms) ROLLBACK + SQL (0.0ms) BEGIN + Activity Load (0.2ms) SELECT * FROM `activities` WHERE (`activities`.`id` = 18)  + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + ForumPost Load (0.2ms) SELECT * FROM `forum_posts` WHERE (`forum_posts`.`id` = 1)  + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + Activity Load (0.2ms) SELECT * FROM `activities` WHERE (`activities`.`id` = 10)  + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Friendship Load (0.2ms) SELECT * FROM `friendships` WHERE (`friendships`.`id` = 5)  + User Load (0.4ms) SELECT * FROM `users` WHERE (`users`.`id` = 8)  + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + Activity Load (0.2ms) SELECT * FROM `activities` WHERE (`activities`.`id` = 14)  + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 1)  + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + Activity Load (0.2ms) SELECT * FROM `activities` WHERE (`activities`.`id` = 19)  + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + JobPost Load (0.2ms) SELECT * FROM `job_posts` WHERE (`job_posts`.`id` = 1)  + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + Activity Load (0.2ms) SELECT * FROM `activities` WHERE (`activities`.`id` = 22)  + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Link Load (0.2ms) SELECT * FROM `links` WHERE (`links`.`id` = 1)  + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + Activity Load (0.2ms) SELECT * FROM `activities` WHERE (`activities`.`id` = 17)  + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Membership Load (0.2ms) SELECT * FROM `memberships` WHERE (`memberships`.`id` = 1)  + Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 1)  + SQL (0.1ms) ROLLBACK + SQL (0.0ms) BEGIN + Activity Load (0.3ms) SELECT * FROM `activities` WHERE (`activities`.`id` = 13)  + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Photo Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`id` = 1)  + Photo Load (0.2ms) SELECT id, user_id, filename, parent_id, created_at FROM `photos` WHERE (`photos`.`id` = 1)  + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + Activity Load (0.2ms) SELECT * FROM `activities` WHERE (`activities`.`id` = 23)  + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + Activity Load (0.2ms) SELECT * FROM `activities` WHERE (`activities`.`id` = 21)  + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + StatusPost Load (0.2ms) SELECT * FROM `status_posts` WHERE (`status_posts`.`id` = 1)  + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + Activity Load (0.2ms) SELECT * FROM `activities` WHERE (`activities`.`id` = 12)  + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + Activity Load (0.5ms) SELECT * FROM `activities` ORDER BY created_at DESC + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + Activity Load (0.3ms) SELECT * FROM `activities` ORDER BY created_at DESC LIMIT 10 + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.1ms) SAVEPOINT active_record_1 + Announcement Create (0.2ms) INSERT INTO `announcements` (`created_at`, `title`, `body`, `updated_at`, `group_id`, `user_id`) VALUES('2010-12-22 05:16:56', 'Test Announcement', 'This is a unit test announcement', '2010-12-22 05:16:56', NULL, 1) + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Activity Create (0.3ms) INSERT INTO `activities` (`created_at`, `public`, `updated_at`, `action`, `user_id`, `item_id`, `item_type`) VALUES('2010-12-22 05:16:56', 1, '2010-12-22 05:16:56', NULL, 1, 3, 'Announcement') + Network Load (0.2ms) SELECT * FROM `networks` LIMIT 1 + User Load (1.2ms) SELECT * FROM `users`  +Sent mail to quentin@example.com,aaron@example.com,sfisher@example.com,henry@example.com,mitch@example.com,bobby@example.com,user7@test.com,user8@test.com,user9@test.com,user10@test.com,user11@test.com,user12@test.com,user13@test.com,user14@test.com,user15@test.com,user16@test.com,user17@test.com,user18@test.com,user19@test.com,user20@test.com,user21@test.com,user22@test.com,user23@test.com,user24@test.com,user25@test.com,user26@test.com,user27@test.com,user28@test.com,user29@test.com,user30@test.com,user31@test.com,user32@test.com,user33@test.com,user34@test.com,user35@test.com,user36@test.com,user37@test.com,user38@test.com,user39@test.com,user40@test.com + +Date: Tue, 21 Dec 2010 22:16:56 -0700 +To: quentin@example.com, aaron@example.com, sfisher@example.com, henry@example.com, mitch@example.com, bobby@example.com, user7@test.com, user8@test.com, user9@test.com, user10@test.com, + user11@test.com, user12@test.com, user13@test.com, user14@test.com, user15@test.com, user16@test.com, user17@test.com, user18@test.com, user19@test.com, user20@test.com, user21@test.com, + user22@test.com, user23@test.com, user24@test.com, user25@test.com, user26@test.com, user27@test.com, user28@test.com, user29@test.com, user30@test.com, user31@test.com, user32@test.com, + user33@test.com, user34@test.com, user35@test.com, user36@test.com, user37@test.com, user38@test.com, user39@test.com, user40@test.com +Subject: [Test Network] Test Announcement +Mime-Version: 1.0 +Content-Type: text/html; charset=utf-8 + + +A new announcement has been posted to the Michigan Ruby Community website. +

    +Test Announcement +

    +Read it online at: RubyMI.org + + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + Activity Load (0.3ms) SELECT * FROM `activities` WHERE (`activities`.`item_id` = 3 AND `activities`.`item_type` = 'Announcement') LIMIT 1 + SQL (61.6ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.1ms) SAVEPOINT active_record_1 + Attendance Create (0.2ms) INSERT INTO `attendances` (`created_at`, `attendee_id`, `event_id`, `updated_at`, `status`) VALUES('2010-12-22 05:16:56', 3, 2, '2010-12-22 05:16:56', '') + User Load (0.4ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  + Activity Create (0.2ms) INSERT INTO `activities` (`created_at`, `public`, `updated_at`, `action`, `user_id`, `item_id`, `item_type`) VALUES('2010-12-22 05:16:56', 1, '2010-12-22 05:16:56', NULL, 3, 5, 'Attendance') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + Activity Load (0.2ms) SELECT * FROM `activities` WHERE (`activities`.`item_id` = 5 AND `activities`.`item_type` = 'Attendance') LIMIT 1 + SQL (35.0ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.1ms) SAVEPOINT active_record_1 + BlogPost Create (0.3ms) INSERT INTO `blog_posts` (`created_at`, `title`, `body`, `guid`, `published`, `featured`, `updated_at`, `url`, `views`, `user_id`, `parent_id`, `summary`, `published_at`) VALUES('2010-12-22 05:16:56', 'Test Blog Post', 'Body of a test blog post 2Body of a test blog post \n 3Body of a test blog post 4Body of a test blog post\n 5Body of a test blog post 6Body of a test blog post\n 7Body of a test blog post 8Body of a test blog post\n 9Body of a test blog post 0Body of a test blog post\n 1Body of a test blog post 2Body of a test blog post\n 3Body of a test blog post 4Body of a test blog post\n 5Body of a test blog post 6Body of a test blog post\n 7Body of a test blog post 8Body of a test blog post\n 9Body of a test blog post 0Body of a test blog post', NULL, 1, 0, '2010-12-22 05:16:56', NULL, 0, 1, NULL, 'Summary of the post', NULL) + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Activity Create (0.2ms) INSERT INTO `activities` (`created_at`, `public`, `updated_at`, `action`, `user_id`, `item_id`, `item_type`) VALUES('2010-12-22 05:16:56', 1, '2010-12-22 05:16:56', NULL, 1, 4, 'BlogPost') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (33.3ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.1ms) SAVEPOINT active_record_1 + BlogPost Create (0.3ms) INSERT INTO `blog_posts` (`created_at`, `title`, `body`, `guid`, `published`, `featured`, `updated_at`, `url`, `views`, `user_id`, `parent_id`, `summary`, `published_at`) VALUES('2010-12-22 05:16:56', 'Test Blog Post', 'Body of a test blog post 2Body of a test blog post \n 3Body of a test blog post 4Body of a test blog post\n 5Body of a test blog post 6Body of a test blog post\n 7Body of a test blog post 8Body of a test blog post\n 9Body of a test blog post 0Body of a test blog post\n 1Body of a test blog post 2Body of a test blog post\n 3Body of a test blog post 4Body of a test blog post\n 5Body of a test blog post 6Body of a test blog post\n 7Body of a test blog post 8Body of a test blog post\n 9Body of a test blog post 0Body of a test blog post', NULL, 1, 0, '2010-12-22 05:16:56', NULL, 0, 1, NULL, 'Summary of the post', NULL) + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Activity Create (0.2ms) INSERT INTO `activities` (`created_at`, `public`, `updated_at`, `action`, `user_id`, `item_id`, `item_type`) VALUES('2010-12-22 05:16:56', 1, '2010-12-22 05:16:56', NULL, 1, 5, 'BlogPost') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + Activity Load (0.3ms) SELECT * FROM `activities` WHERE (`activities`.`item_id` = 5 AND `activities`.`item_type` = 'BlogPost') LIMIT 1 + SQL (40.4ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.1ms) SAVEPOINT active_record_1 + BlogPost Create (0.3ms) INSERT INTO `blog_posts` (`created_at`, `title`, `body`, `guid`, `published`, `featured`, `updated_at`, `url`, `views`, `user_id`, `parent_id`, `summary`, `published_at`) VALUES('2010-12-22 05:16:56', 'Test Blog Post', 'Body of a test blog post 2Body of a test blog post \n 3Body of a test blog post 4Body of a test blog post\n 5Body of a test blog post 6Body of a test blog post\n 7Body of a test blog post 8Body of a test blog post\n 9Body of a test blog post 0Body of a test blog post\n 1Body of a test blog post 2Body of a test blog post\n 3Body of a test blog post 4Body of a test blog post\n 5Body of a test blog post 6Body of a test blog post\n 7Body of a test blog post 8Body of a test blog post\n 9Body of a test blog post 0Body of a test blog post', NULL, 0, 0, '2010-12-22 05:16:56', NULL, 0, 1, NULL, 'Summary of the post', NULL) + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + Activity Load (0.3ms) SELECT * FROM `activities` WHERE (`activities`.`item_id` = 6 AND `activities`.`item_type` = 'BlogPost') LIMIT 1 + SQL (35.5ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.1ms) SAVEPOINT active_record_1 + BlogPost Create (0.3ms) INSERT INTO `blog_posts` (`created_at`, `title`, `body`, `guid`, `published`, `featured`, `updated_at`, `url`, `views`, `user_id`, `parent_id`, `summary`, `published_at`) VALUES('2010-12-22 05:16:56', 'Test Blog Post', 'Body of a test blog post 2Body of a test blog post \n 3Body of a test blog post 4Body of a test blog post\n 5Body of a test blog post 6Body of a test blog post\n 7Body of a test blog post 8Body of a test blog post\n 9Body of a test blog post 0Body of a test blog post\n 1Body of a test blog post 2Body of a test blog post\n 3Body of a test blog post 4Body of a test blog post\n 5Body of a test blog post 6Body of a test blog post\n 7Body of a test blog post 8Body of a test blog post\n 9Body of a test blog post 0Body of a test blog post', NULL, 0, 0, '2010-12-22 05:16:56', NULL, 0, 1, NULL, 'Summary of the post', NULL) + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + BlogPost Update (0.3ms) UPDATE `blog_posts` SET `updated_at` = '2010-12-22 05:16:56', `published` = 1 WHERE `id` = 7 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + Activity Create (0.2ms) INSERT INTO `activities` (`created_at`, `public`, `updated_at`, `action`, `user_id`, `item_id`, `item_type`) VALUES('2010-12-22 05:16:56', 1, '2010-12-22 05:16:56', NULL, 1, 7, 'BlogPost') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + BlogPost Load (0.3ms) SELECT * FROM `blog_posts` WHERE (`blog_posts`.`id` = 7)  + SQL (40.8ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.1ms) SAVEPOINT active_record_1 + BookReview Create (0.2ms) INSERT INTO `book_reviews` (`name`, `buy_link`, `created_at`, `image_url`, `featured`, `updated_at`, `review`, `publisher`, `user_id`, `website`, `release_date`) VALUES('Test Book Review', 'www.coolbook.com/buy', '2010-12-22 05:16:56', 'www.coolbook.com/image.jpg', 0, '2010-12-22 05:16:56', 'I thought this was a great and cool book.', 'O\'Reilly', 1, 'www.coolbook.com', '2010-12-21 22:16:56') + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Activity Create (0.1ms) INSERT INTO `activities` (`created_at`, `public`, `updated_at`, `action`, `user_id`, `item_id`, `item_type`) VALUES('2010-12-22 05:16:56', 1, '2010-12-22 05:16:56', NULL, 1, 3, 'BookReview') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + Activity Load (0.3ms) SELECT * FROM `activities` WHERE (`activities`.`item_id` = 3 AND `activities`.`item_type` = 'BookReview') LIMIT 1 + SQL (32.7ms) ROLLBACK + SQL (0.1ms) BEGIN + BugReport Load (0.3ms) SELECT * FROM `bug_reports` WHERE (`bug_reports`.`id` = 1)  + BugReport Load (0.2ms) SELECT * FROM `bug_reports` WHERE (`bug_reports`.`id` = 4)  + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + BugReport Load (0.1ms) SELECT * FROM `bug_reports` WHERE (`bug_reports`.`id` = 1)  + BugReport Load (0.2ms) SELECT * FROM `bug_reports` WHERE (`bug_reports`.`id` = 3)  + SQL (0.1ms) ROLLBACK + SQL (0.0ms) BEGIN + ClassifiedCategory Load (0.2ms) SELECT * FROM `classified_categories` WHERE (`classified_categories`.`id` = 1)  + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + Classified Load (0.1ms) SELECT * FROM `classifieds` WHERE (`classifieds`.`id` = 1)  + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + Classified Load (0.1ms) SELECT * FROM `classifieds` WHERE (`classifieds`.`id` = 1)  + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.0ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.1ms) ROLLBACK + SQL (0.0ms) BEGIN + Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.`id` = 1)  + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.1ms) ROLLBACK + SQL (0.0ms) BEGIN + Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.`id` = 1)  + SQL (0.1ms) ROLLBACK + SQL (0.0ms) BEGIN + Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.`id` = 1)  + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.1ms) ROLLBACK + SQL (0.0ms) BEGIN + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.1ms) ROLLBACK + SQL (0.0ms) BEGIN + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.1ms) SAVEPOINT active_record_1 + ForumPost Create (0.2ms) INSERT INTO `forum_posts` (`forum_topic_id`, `created_at`, `title`, `body`, `featured`, `updated_at`, `views`, `user_id`, `parent_id`) VALUES(1, '2010-12-22 05:16:56', 'Test Forum Post', 'This is the body of my forum post', 0, '2010-12-22 05:16:56', 0, 1, NULL) + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Activity Create (0.2ms) INSERT INTO `activities` (`created_at`, `public`, `updated_at`, `action`, `user_id`, `item_id`, `item_type`) VALUES('2010-12-22 05:16:56', 1, '2010-12-22 05:16:56', NULL, 1, 16, 'ForumPost') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + Activity Load (0.5ms) SELECT * FROM `activities` WHERE (`activities`.`item_id` = 16 AND `activities`.`item_type` = 'ForumPost') LIMIT 1 + SQL (34.5ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.1ms) SAVEPOINT active_record_1 + ForumPost Create (0.3ms) INSERT INTO `forum_posts` (`forum_topic_id`, `created_at`, `title`, `body`, `featured`, `updated_at`, `views`, `user_id`, `parent_id`) VALUES(1, '2010-12-22 05:16:56', 'Test Forum Post', 'This is the body of my forum post,\n This is the body of my forum post,\n This is the body of my forum post,\n This is the body of my forum post,\n This is the body of my forum post,\n This is the body of my forum post,\n This is the body of my forum post,\n This is the body of my forum post,\n This is the body of my forum post,\n This is the body of my forum post,\n This is the body of my forum post', 0, '2010-12-22 05:16:56', 0, 1, NULL) + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Activity Create (0.2ms) INSERT INTO `activities` (`created_at`, `public`, `updated_at`, `action`, `user_id`, `item_id`, `item_type`) VALUES('2010-12-22 05:16:56', 1, '2010-12-22 05:16:56', NULL, 1, 17, 'ForumPost') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (33.3ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  + Friendship Load (0.3ms) SELECT * FROM `friendships` WHERE (`friendships`.`friend_id` = 3 AND `friendships`.`user_id` = 1) LIMIT 1 + SQL (0.1ms) SAVEPOINT active_record_1 + Friendship Load (0.1ms) SELECT * FROM `friendships` WHERE (`friendships`.`friend_id` = 3 AND `friendships`.`user_id` = 1) LIMIT 1 + Friendship Update (0.3ms) UPDATE `friendships` SET `updated_at` = '2010-12-22 05:16:56', `status` = 'accepted' WHERE `id` = 3 + Friendship Load (0.2ms) SELECT * FROM `friendships` WHERE (`friendships`.`friend_id` = 1 AND `friendships`.`user_id` = 3) LIMIT 1 + Friendship Update (0.2ms) UPDATE `friendships` SET `updated_at` = '2010-12-22 05:16:56', `status` = 'accepted' WHERE `id` = 4 + Friendship Load (0.2ms) SELECT * FROM `friendships` WHERE (`friendships`.`friend_id` = 3 AND `friendships`.`user_id` = 1) LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Activity Create (0.2ms) INSERT INTO `activities` (`created_at`, `public`, `updated_at`, `action`, `user_id`, `item_id`, `item_type`) VALUES('2010-12-22 05:16:56', 1, '2010-12-22 05:16:56', NULL, 1, 3, 'Friendship') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + Friendship Load (0.3ms) SELECT * FROM `friendships` WHERE (`friendships`.`friend_id` = 3 AND `friendships`.`user_id` = 1) LIMIT 1 + SQL (36.2ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  + Friendship Load (0.3ms) SELECT * FROM `friendships` WHERE (`friendships`.`friend_id` = 3 AND `friendships`.`user_id` = 1) LIMIT 1 + SQL (0.1ms) SAVEPOINT active_record_1 + Friendship Load (0.1ms) SELECT * FROM `friendships` WHERE (`friendships`.`friend_id` = 3 AND `friendships`.`user_id` = 1) LIMIT 1 + Friendship Update (0.2ms) UPDATE `friendships` SET `updated_at` = '2010-12-22 05:16:56', `status` = 'accepted' WHERE `id` = 3 + Friendship Load (0.2ms) SELECT * FROM `friendships` WHERE (`friendships`.`friend_id` = 1 AND `friendships`.`user_id` = 3) LIMIT 1 + Friendship Update (0.2ms) UPDATE `friendships` SET `updated_at` = '2010-12-22 05:16:56', `status` = 'accepted' WHERE `id` = 4 + Friendship Load (0.2ms) SELECT * FROM `friendships` WHERE (`friendships`.`friend_id` = 3 AND `friendships`.`user_id` = 1) LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Activity Create (0.2ms) INSERT INTO `activities` (`created_at`, `public`, `updated_at`, `action`, `user_id`, `item_id`, `item_type`) VALUES('2010-12-22 05:16:56', 1, '2010-12-22 05:16:56', NULL, 1, 3, 'Friendship') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + Friendship Load (0.2ms) SELECT * FROM `friendships` WHERE (`friendships`.`friend_id` = 1 AND `friendships`.`user_id` = 3) LIMIT 1 + SQL (0.1ms) SAVEPOINT active_record_1 + Friendship Load (0.2ms) SELECT * FROM `friendships` WHERE (`friendships`.`friend_id` = 1 AND `friendships`.`user_id` = 3) LIMIT 1 + Friendship Load (0.2ms) SELECT * FROM `friendships` WHERE (`friendships`.`id` = 4)  + Friendship Destroy (0.1ms) DELETE FROM `friendships` WHERE `id` = 4 + Friendship Load (0.2ms) SELECT * FROM `friendships` WHERE (`friendships`.`friend_id` = 3 AND `friendships`.`user_id` = 1) LIMIT 1 + Friendship Load (0.1ms) SELECT * FROM `friendships` WHERE (`friendships`.`id` = 3)  + Friendship Destroy (0.1ms) DELETE FROM `friendships` WHERE `id` = 3 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + Friendship Load (0.2ms) SELECT * FROM `friendships` WHERE (`friendships`.`friend_id` = 3 AND `friendships`.`user_id` = 1) LIMIT 1 + SQL (34.0ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Friendship Load (0.4ms) SELECT * FROM `friendships` WHERE (`friendships`.`friend_id` = 1 AND `friendships`.`user_id` = 3) LIMIT 1 + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.1ms) SAVEPOINT active_record_1 + Group Create (0.3ms) INSERT INTO `groups` (`name`, `created_at`, `featured`, `announcements`, `private`, `updated_at`, `creator_id`, `description`, `photo_id`) VALUES('Test Group', '2010-12-22 05:16:57', 0, NULL, 0, '2010-12-22 05:16:57', 3, 'A group used for testing.', 1) + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  + Activity Create (0.2ms) INSERT INTO `activities` (`created_at`, `public`, `updated_at`, `action`, `user_id`, `item_id`, `item_type`) VALUES('2010-12-22 05:16:57', 1, '2010-12-22 05:16:57', NULL, 3, 3, 'Group') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + Activity Load (0.3ms) SELECT * FROM `activities` WHERE (`activities`.`item_id` = 3 AND `activities`.`item_type` = 'Group') LIMIT 1 + SQL (34.7ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.1ms) ROLLBACK + SQL (0.0ms) BEGIN + Invite Load (0.3ms) SELECT * FROM `invites` WHERE (`invites`.`invite_code` = 'invite_code1') LIMIT 1 + Invite Load (0.1ms) SELECT * FROM `invites` WHERE (`invites`.`invite_code` = 'invite_code1') LIMIT 1 + SQL (0.1ms) SAVEPOINT active_record_1 + Invite Update (0.2ms) UPDATE `invites` SET `updated_at` = '2010-12-22 05:16:57', `accepted` = 1 WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + Invite Load (0.2ms) SELECT * FROM `invites` WHERE (`invites`.`invite_code` = 'invite_code1') LIMIT 1 + SQL (33.3ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.0ms) ROLLBACK + SQL (0.0ms) BEGIN + SQL (0.1ms) SAVEPOINT active_record_1 + JobPost Create (0.3ms) INSERT INTO `job_posts` (`company`, `contact_name`, `created_at`, `job_title`, `featured`, `updated_at`, `website`, `description`, `job_id`, `end_date`, `email`) VALUES('My Company', 'Joe Jobbee', '2010-12-22 05:16:57', 'Test Job Title', 0, '2010-12-22 05:16:57', 'www.mycompany.com', 'This is a great job', 123, '2010-12-21 22:16:57', 'joe@jobbee.com') + Activity Create (0.2ms) INSERT INTO `activities` (`created_at`, `public`, `updated_at`, `action`, `user_id`, `item_id`, `item_type`) VALUES('2010-12-22 05:16:57', 1, '2010-12-22 05:16:57', NULL, NULL, 3, 'JobPost') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + Activity Load (0.3ms) SELECT * FROM `activities` WHERE (`activities`.`item_id` = 3 AND `activities`.`item_type` = 'JobPost') LIMIT 1 + SQL (33.3ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.1ms) SAVEPOINT active_record_1 + Link Create (0.2ms) INSERT INTO `links` (`created_at`, `title`, `updated_at`, `url`, `user_id`) VALUES('2010-12-22 05:16:57', 'Ruby on Rails', '2010-12-22 05:16:57', 'www.rubyonrails.com', 1) + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Activity Create (0.2ms) INSERT INTO `activities` (`created_at`, `public`, `updated_at`, `action`, `user_id`, `item_id`, `item_type`) VALUES('2010-12-22 05:16:57', 1, '2010-12-22 05:16:57', NULL, 1, 3, 'Link') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + Activity Load (0.3ms) SELECT * FROM `activities` WHERE (`activities`.`item_id` = 3 AND `activities`.`item_type` = 'Link') LIMIT 1 + SQL (33.5ms) ROLLBACK + SQL (0.1ms) BEGIN + Link Load (0.4ms) SELECT * FROM `links` WHERE (`links`.`id` = 1)  + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + Link Load (0.1ms) SELECT * FROM `links` WHERE (`links`.`id` = 1)  + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.1ms) SAVEPOINT active_record_1 + Membership Create (0.2ms) INSERT INTO `memberships` (`created_at`, `updated_at`, `role_id`, `group_id`, `user_id`) VALUES('2010-12-22 05:16:57', '2010-12-22 05:16:57', 3, 1, 1) + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Activity Create (0.3ms) INSERT INTO `activities` (`created_at`, `public`, `updated_at`, `action`, `user_id`, `item_id`, `item_type`) VALUES('2010-12-22 05:16:57', 1, '2010-12-22 05:16:57', NULL, 1, 4, 'Membership') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + Activity Load (0.3ms) SELECT * FROM `activities` WHERE (`activities`.`item_id` = 4 AND `activities`.`item_type` = 'Membership') LIMIT 1 + SQL (36.2ms) ROLLBACK + SQL (0.1ms) BEGIN + Membership Load (0.2ms) SELECT * FROM `memberships`  + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.1ms) ROLLBACK + SQL (0.0ms) BEGIN + Network Load (0.1ms) SELECT * FROM `networks` LIMIT 1 + Network Load (0.1ms) SELECT * FROM `networks` LIMIT 1 + SQL (0.1ms) ROLLBACK + SQL (0.0ms) BEGIN + Network Load (0.1ms) SELECT * FROM `networks` LIMIT 1 + Network Load (0.1ms) SELECT * FROM `networks` LIMIT 1 + Role Load (0.2ms) SELECT * FROM `roles`  + SQL (0.1ms) SAVEPOINT active_record_1 + Permission Load (0.2ms) SELECT * FROM `permissions` WHERE (`permissions`.role_id = 1)  + Permission Destroy (0.2ms) DELETE FROM `permissions` WHERE `id` = 5 + Role Destroy (0.1ms) DELETE FROM `roles` WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Permission Load (0.2ms) SELECT * FROM `permissions` WHERE (`permissions`.role_id = 2)  + Permission Destroy (0.1ms) DELETE FROM `permissions` WHERE `id` = 1 + Role Destroy (0.1ms) DELETE FROM `roles` WHERE `id` = 2 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Permission Load (0.2ms) SELECT * FROM `permissions` WHERE (`permissions`.role_id = 3)  + Permission Destroy (0.1ms) DELETE FROM `permissions` WHERE `id` = 2 + Permission Destroy (0.1ms) DELETE FROM `permissions` WHERE `id` = 3 + Permission Destroy (0.1ms) DELETE FROM `permissions` WHERE `id` = 4 + Role Destroy (0.1ms) DELETE FROM `roles` WHERE `id` = 3 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Permission Load (0.1ms) SELECT * FROM `permissions` WHERE (`permissions`.role_id = 4)  + Role Destroy (0.1ms) DELETE FROM `roles` WHERE `id` = 4 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Permission Load (0.1ms) SELECT * FROM `permissions` WHERE (`permissions`.role_id = 5)  + Role Destroy (0.1ms) DELETE FROM `roles` WHERE `id` = 5 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + Role Load (0.1ms) SELECT * FROM `roles` LIMIT 1 + Role Load (0.1ms) SELECT * FROM `roles`  + SQL (0.1ms) SAVEPOINT active_record_1 + Role Create (0.2ms) INSERT INTO `roles` (`created_at`, `updated_at`, `rolename`) VALUES('2010-12-22 05:16:57', '2010-12-22 05:16:57', 'creator') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Role Create (0.1ms) INSERT INTO `roles` (`created_at`, `updated_at`, `rolename`) VALUES('2010-12-22 05:16:57', '2010-12-22 05:16:57', 'administrator') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Role Create (0.1ms) INSERT INTO `roles` (`created_at`, `updated_at`, `rolename`) VALUES('2010-12-22 05:16:57', '2010-12-22 05:16:57', 'group_admin') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Role Create (0.2ms) INSERT INTO `roles` (`created_at`, `updated_at`, `rolename`) VALUES('2010-12-22 05:16:57', '2010-12-22 05:16:57', 'user') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Role Create (0.1ms) INSERT INTO `roles` (`created_at`, `updated_at`, `rolename`) VALUES('2010-12-22 05:16:57', '2010-12-22 05:16:57', 'contributor') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + Role Load (0.2ms) SELECT * FROM `roles`  + SQL (38.4ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.1ms) SAVEPOINT active_record_1 + Page Create (0.2ms) INSERT INTO `pages` (`permalink`, `name`, `created_at`, `title`, `updated_at`) VALUES('test_page', 'Test page', '2010-12-22 05:16:57', 'Test Page', '2010-12-22 05:16:57') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (36.5ms) ROLLBACK + SQL (0.1ms) BEGIN + Page Load (0.3ms) SELECT * FROM `pages` WHERE (`pages`.`id` = 1)  + SQL (0.1ms) ROLLBACK + SQL (0.0ms) BEGIN + SQL (0.0ms) ROLLBACK + SQL (0.1ms) BEGIN + PhotoAlbum Load (0.2ms) SELECT * FROM `photo_albums` WHERE (`photo_albums`.`id` = 1)  + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + PhotoAlbum Load (0.1ms) SELECT * FROM `photo_albums` WHERE (`photo_albums`.`id` = 1)  + SQL (0.1ms) ROLLBACK + SQL (0.0ms) BEGIN + PhotoAlbum Load (0.1ms) SELECT * FROM `photo_albums` WHERE (`photo_albums`.`id` = 1)  + SQL (0.1ms) ROLLBACK + SQL (0.0ms) BEGIN + Photo Load (0.3ms) SELECT * FROM `photos`  + SQL (0.1ms) SAVEPOINT active_record_1 + Photo Update (0.4ms) UPDATE `photos` SET `updated_at` = '2010-12-22 05:16:57', `content_type` = 'image/jpeg', `height` = 235, `width` = 180, `size` = 8908 WHERE `id` = 1 + Photo Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'thumb' AND `photos`.`parent_id` = 1) LIMIT 1 + Photo Create (0.3ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:16:57', NULL, NULL, 'image/jpeg', NULL, 'thumb', '2010-12-22 05:16:57', NULL, NULL, 0, NULL, 1, 'test_thumb.jpg', 32, NULL, 25, NULL) + Photo Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'small' AND `photos`.`parent_id` = 1) LIMIT 1 + Photo Create (0.2ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:16:57', NULL, NULL, 'image/jpeg', NULL, 'small', '2010-12-22 05:16:57', NULL, NULL, 0, NULL, 1, 'test_small.jpg', 48, NULL, 37, NULL) + Photo Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'display' AND `photos`.`parent_id` = 1) LIMIT 1 + Photo Create (0.3ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:16:57', NULL, NULL, 'image/jpeg', NULL, 'display', '2010-12-22 05:16:57', NULL, NULL, 0, NULL, 1, 'test_display.jpg', 175, NULL, 134, NULL) + Photo Load (0.4ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'member' AND `photos`.`parent_id` = 1) LIMIT 1 + Photo Create (0.3ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:16:57', NULL, NULL, 'image/jpeg', NULL, 'member', '2010-12-22 05:16:57', NULL, NULL, 0, NULL, 1, 'test_member.jpg', 96, NULL, 74, NULL) + Photo Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'medium' AND `photos`.`parent_id` = 1) LIMIT 1 + Photo Create (0.2ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:16:57', NULL, NULL, 'image/jpeg', NULL, 'medium', '2010-12-22 05:16:57', NULL, NULL, 0, NULL, 1, 'test_medium.jpg', 82, NULL, 63, NULL) + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Photo Update (0.3ms) UPDATE `photos` SET `updated_at` = '2010-12-22 05:16:57', `content_type` = 'image/jpeg', `height` = 235, `width` = 180, `size` = 8908 WHERE `id` = 2 + Photo Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'thumb' AND `photos`.`parent_id` = 2) LIMIT 1 + Photo Create (0.3ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:16:57', NULL, NULL, 'image/jpeg', NULL, 'thumb', '2010-12-22 05:16:57', NULL, NULL, 0, NULL, 2, 'test_thumb.jpg', 32, NULL, 25, NULL) + Photo Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'small' AND `photos`.`parent_id` = 2) LIMIT 1 + Photo Create (0.2ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:16:57', NULL, NULL, 'image/jpeg', NULL, 'small', '2010-12-22 05:16:57', NULL, NULL, 0, NULL, 2, 'test_small.jpg', 48, NULL, 37, NULL) + Photo Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'display' AND `photos`.`parent_id` = 2) LIMIT 1 + Photo Create (0.3ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:16:57', NULL, NULL, 'image/jpeg', NULL, 'display', '2010-12-22 05:16:57', NULL, NULL, 0, NULL, 2, 'test_display.jpg', 175, NULL, 134, NULL) + Photo Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'member' AND `photos`.`parent_id` = 2) LIMIT 1 + Photo Create (0.2ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:16:57', NULL, NULL, 'image/jpeg', NULL, 'member', '2010-12-22 05:16:57', NULL, NULL, 0, NULL, 2, 'test_member.jpg', 96, NULL, 74, NULL) + Photo Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'medium' AND `photos`.`parent_id` = 2) LIMIT 1 + Photo Create (0.2ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:16:57', NULL, NULL, 'image/jpeg', NULL, 'medium', '2010-12-22 05:16:57', NULL, NULL, 0, NULL, 2, 'test_medium.jpg', 82, NULL, 63, NULL) + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Photo Update (0.3ms) UPDATE `photos` SET `updated_at` = '2010-12-22 05:16:57', `content_type` = 'image/jpeg', `height` = 235, `width` = 180, `size` = 8908 WHERE `id` = 3 + Photo Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'thumb' AND `photos`.`parent_id` = 3) LIMIT 1 + Photo Create (0.3ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:16:57', NULL, NULL, 'image/jpeg', NULL, 'thumb', '2010-12-22 05:16:57', NULL, NULL, 0, NULL, 3, 'test_thumb.jpg', 32, NULL, 25, NULL) + Photo Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'small' AND `photos`.`parent_id` = 3) LIMIT 1 + Photo Create (0.2ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:16:57', NULL, NULL, 'image/jpeg', NULL, 'small', '2010-12-22 05:16:57', NULL, NULL, 0, NULL, 3, 'test_small.jpg', 48, NULL, 37, NULL) + Photo Load (0.4ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'display' AND `photos`.`parent_id` = 3) LIMIT 1 + Photo Create (0.3ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:16:57', NULL, NULL, 'image/jpeg', NULL, 'display', '2010-12-22 05:16:57', NULL, NULL, 0, NULL, 3, 'test_display.jpg', 175, NULL, 134, NULL) + Photo Load (0.4ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'member' AND `photos`.`parent_id` = 3) LIMIT 1 + Photo Create (0.2ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:16:57', NULL, NULL, 'image/jpeg', NULL, 'member', '2010-12-22 05:16:57', NULL, NULL, 0, NULL, 3, 'test_member.jpg', 96, NULL, 74, NULL) + Photo Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'medium' AND `photos`.`parent_id` = 3) LIMIT 1 + Photo Create (0.2ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:16:57', NULL, NULL, 'image/jpeg', NULL, 'medium', '2010-12-22 05:16:57', NULL, NULL, 0, NULL, 3, 'test_medium.jpg', 82, NULL, 63, NULL) + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Photo Update (0.3ms) UPDATE `photos` SET `updated_at` = '2010-12-22 05:16:57', `content_type` = 'image/jpeg', `height` = 235, `width` = 180, `size` = 8908 WHERE `id` = 4 + Photo Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'thumb' AND `photos`.`parent_id` = 4) LIMIT 1 + Photo Create (0.2ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:16:57', NULL, NULL, 'image/jpeg', NULL, 'thumb', '2010-12-22 05:16:57', NULL, NULL, 0, NULL, 4, 'test_thumb.jpg', 32, NULL, 25, NULL) + Photo Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'small' AND `photos`.`parent_id` = 4) LIMIT 1 + Photo Create (0.2ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:16:57', NULL, NULL, 'image/jpeg', NULL, 'small', '2010-12-22 05:16:57', NULL, NULL, 0, NULL, 4, 'test_small.jpg', 48, NULL, 37, NULL) + Photo Load (3.6ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'display' AND `photos`.`parent_id` = 4) LIMIT 1 + Photo Create (0.3ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:16:57', NULL, NULL, 'image/jpeg', NULL, 'display', '2010-12-22 05:16:57', NULL, NULL, 0, NULL, 4, 'test_display.jpg', 175, NULL, 134, NULL) + Photo Load (0.4ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'member' AND `photos`.`parent_id` = 4) LIMIT 1 + Photo Create (0.3ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:16:57', NULL, NULL, 'image/jpeg', NULL, 'member', '2010-12-22 05:16:57', NULL, NULL, 0, NULL, 4, 'test_member.jpg', 96, NULL, 74, NULL) + Photo Load (0.4ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'medium' AND `photos`.`parent_id` = 4) LIMIT 1 + Photo Create (0.3ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:16:57', NULL, NULL, 'image/jpeg', NULL, 'medium', '2010-12-22 05:16:57', NULL, NULL, 0, NULL, 4, 'test_medium.jpg', 82, NULL, 63, NULL) + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + Photo Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` IS NULL AND `photos`.`is_profile` IS NULL)  + SQL (36.2ms) ROLLBACK + SQL (0.0ms) BEGIN + Photo Load (0.3ms) SELECT * FROM `photos`  + SQL (0.1ms) SAVEPOINT active_record_1 + Photo Update (0.3ms) UPDATE `photos` SET `updated_at` = '2010-12-22 05:16:57', `content_type` = 'image/jpeg', `height` = 235, `width` = 180, `size` = 8908 WHERE `id` = 1 + Photo Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'thumb' AND `photos`.`parent_id` = 1) LIMIT 1 + Photo Create (0.3ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:16:57', NULL, NULL, 'image/jpeg', NULL, 'thumb', '2010-12-22 05:16:57', NULL, NULL, 0, NULL, 1, 'test_thumb.jpg', 32, NULL, 25, NULL) + Photo Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'small' AND `photos`.`parent_id` = 1) LIMIT 1 + Photo Create (0.3ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:16:57', NULL, NULL, 'image/jpeg', NULL, 'small', '2010-12-22 05:16:57', NULL, NULL, 0, NULL, 1, 'test_small.jpg', 48, NULL, 37, NULL) + Photo Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'display' AND `photos`.`parent_id` = 1) LIMIT 1 + Photo Create (0.3ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:16:57', NULL, NULL, 'image/jpeg', NULL, 'display', '2010-12-22 05:16:57', NULL, NULL, 0, NULL, 1, 'test_display.jpg', 175, NULL, 134, NULL) + Photo Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'member' AND `photos`.`parent_id` = 1) LIMIT 1 + Photo Create (0.3ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:16:57', NULL, NULL, 'image/jpeg', NULL, 'member', '2010-12-22 05:16:57', NULL, NULL, 0, NULL, 1, 'test_member.jpg', 96, NULL, 74, NULL) + Photo Load (0.4ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'medium' AND `photos`.`parent_id` = 1) LIMIT 1 + Photo Create (0.3ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:16:57', NULL, NULL, 'image/jpeg', NULL, 'medium', '2010-12-22 05:16:57', NULL, NULL, 0, NULL, 1, 'test_medium.jpg', 82, NULL, 63, NULL) + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Photo Update (0.3ms) UPDATE `photos` SET `updated_at` = '2010-12-22 05:16:57', `content_type` = 'image/jpeg', `height` = 235, `width` = 180, `size` = 8908 WHERE `id` = 2 + Photo Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'thumb' AND `photos`.`parent_id` = 2) LIMIT 1 + Photo Create (0.3ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:16:57', NULL, NULL, 'image/jpeg', NULL, 'thumb', '2010-12-22 05:16:57', NULL, NULL, 0, NULL, 2, 'test_thumb.jpg', 32, NULL, 25, NULL) + Photo Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'small' AND `photos`.`parent_id` = 2) LIMIT 1 + Photo Create (0.3ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:16:57', NULL, NULL, 'image/jpeg', NULL, 'small', '2010-12-22 05:16:57', NULL, NULL, 0, NULL, 2, 'test_small.jpg', 48, NULL, 37, NULL) + Photo Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'display' AND `photos`.`parent_id` = 2) LIMIT 1 + Photo Create (0.3ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:16:57', NULL, NULL, 'image/jpeg', NULL, 'display', '2010-12-22 05:16:57', NULL, NULL, 0, NULL, 2, 'test_display.jpg', 175, NULL, 134, NULL) + Photo Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'member' AND `photos`.`parent_id` = 2) LIMIT 1 + Photo Create (0.3ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:16:57', NULL, NULL, 'image/jpeg', NULL, 'member', '2010-12-22 05:16:57', NULL, NULL, 0, NULL, 2, 'test_member.jpg', 96, NULL, 74, NULL) + Photo Load (0.4ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'medium' AND `photos`.`parent_id` = 2) LIMIT 1 + Photo Create (0.2ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:16:57', NULL, NULL, 'image/jpeg', NULL, 'medium', '2010-12-22 05:16:57', NULL, NULL, 0, NULL, 2, 'test_medium.jpg', 82, NULL, 63, NULL) + SQL (0.2ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Photo Update (0.3ms) UPDATE `photos` SET `updated_at` = '2010-12-22 05:16:57', `content_type` = 'image/jpeg', `height` = 235, `width` = 180, `size` = 8908 WHERE `id` = 3 + Photo Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'thumb' AND `photos`.`parent_id` = 3) LIMIT 1 + Photo Create (0.3ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:16:58', NULL, NULL, 'image/jpeg', NULL, 'thumb', '2010-12-22 05:16:58', NULL, NULL, 0, NULL, 3, 'test_thumb.jpg', 32, NULL, 25, NULL) + Photo Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'small' AND `photos`.`parent_id` = 3) LIMIT 1 + Photo Create (0.2ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:16:58', NULL, NULL, 'image/jpeg', NULL, 'small', '2010-12-22 05:16:58', NULL, NULL, 0, NULL, 3, 'test_small.jpg', 48, NULL, 37, NULL) + Photo Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'display' AND `photos`.`parent_id` = 3) LIMIT 1 + Photo Create (0.3ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:16:58', NULL, NULL, 'image/jpeg', NULL, 'display', '2010-12-22 05:16:58', NULL, NULL, 0, NULL, 3, 'test_display.jpg', 175, NULL, 134, NULL) + Photo Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'member' AND `photos`.`parent_id` = 3) LIMIT 1 + Photo Create (0.3ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:16:58', NULL, NULL, 'image/jpeg', NULL, 'member', '2010-12-22 05:16:58', NULL, NULL, 0, NULL, 3, 'test_member.jpg', 96, NULL, 74, NULL) + Photo Load (0.4ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'medium' AND `photos`.`parent_id` = 3) LIMIT 1 + Photo Create (0.3ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:16:58', NULL, NULL, 'image/jpeg', NULL, 'medium', '2010-12-22 05:16:58', NULL, NULL, 0, NULL, 3, 'test_medium.jpg', 82, NULL, 63, NULL) + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Photo Update (0.3ms) UPDATE `photos` SET `updated_at` = '2010-12-22 05:16:58', `content_type` = 'image/jpeg', `height` = 235, `width` = 180, `size` = 8908 WHERE `id` = 4 + Photo Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'thumb' AND `photos`.`parent_id` = 4) LIMIT 1 + Photo Create (0.2ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:16:58', NULL, NULL, 'image/jpeg', NULL, 'thumb', '2010-12-22 05:16:58', NULL, NULL, 0, NULL, 4, 'test_thumb.jpg', 32, NULL, 25, NULL) + Photo Load (0.4ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'small' AND `photos`.`parent_id` = 4) LIMIT 1 + Photo Create (0.2ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:16:58', NULL, NULL, 'image/jpeg', NULL, 'small', '2010-12-22 05:16:58', NULL, NULL, 0, NULL, 4, 'test_small.jpg', 48, NULL, 37, NULL) + Photo Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'display' AND `photos`.`parent_id` = 4) LIMIT 1 + Photo Create (0.3ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:16:58', NULL, NULL, 'image/jpeg', NULL, 'display', '2010-12-22 05:16:58', NULL, NULL, 0, NULL, 4, 'test_display.jpg', 175, NULL, 134, NULL) + Photo Load (0.4ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'member' AND `photos`.`parent_id` = 4) LIMIT 1 + Photo Create (0.2ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:16:58', NULL, NULL, 'image/jpeg', NULL, 'member', '2010-12-22 05:16:58', NULL, NULL, 0, NULL, 4, 'test_member.jpg', 96, NULL, 74, NULL) + Photo Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'medium' AND `photos`.`parent_id` = 4) LIMIT 1 + Photo Create (0.2ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:16:58', NULL, NULL, 'image/jpeg', NULL, 'medium', '2010-12-22 05:16:58', NULL, NULL, 0, NULL, 4, 'test_medium.jpg', 82, NULL, 63, NULL) + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Photo Create (0.2ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8908, '2010-12-22 05:16:58', NULL, NULL, 'image/jpeg', NULL, NULL, '2010-12-22 05:16:58', NULL, NULL, 0, NULL, NULL, 'test.jpg', 235, NULL, 180, NULL) + Activity Create (0.2ms) INSERT INTO `activities` (`created_at`, `public`, `updated_at`, `action`, `user_id`, `item_id`, `item_type`) VALUES('2010-12-22 05:16:58', 1, '2010-12-22 05:16:58', 'create', NULL, 45, 'Photo') + Photo Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'thumb' AND `photos`.`parent_id` = 45) LIMIT 1 + Photo Create (0.2ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:16:58', NULL, NULL, 'image/jpeg', NULL, 'thumb', '2010-12-22 05:16:58', NULL, NULL, 0, NULL, 45, 'test_thumb.jpg', 32, NULL, 25, NULL) + Photo Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'small' AND `photos`.`parent_id` = 45) LIMIT 1 + Photo Create (0.2ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:16:58', NULL, NULL, 'image/jpeg', NULL, 'small', '2010-12-22 05:16:58', NULL, NULL, 0, NULL, 45, 'test_small.jpg', 48, NULL, 37, NULL) + Photo Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'display' AND `photos`.`parent_id` = 45) LIMIT 1 + Photo Create (0.3ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:16:58', NULL, NULL, 'image/jpeg', NULL, 'display', '2010-12-22 05:16:58', NULL, NULL, 0, NULL, 45, 'test_display.jpg', 175, NULL, 134, NULL) + Photo Load (0.4ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'member' AND `photos`.`parent_id` = 45) LIMIT 1 + Photo Create (0.2ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:16:58', NULL, NULL, 'image/jpeg', NULL, 'member', '2010-12-22 05:16:58', NULL, NULL, 0, NULL, 45, 'test_member.jpg', 96, NULL, 74, NULL) + Photo Load (0.4ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'medium' AND `photos`.`parent_id` = 45) LIMIT 1 + Photo Create (0.2ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:16:58', NULL, NULL, 'image/jpeg', NULL, 'medium', '2010-12-22 05:16:58', NULL, NULL, 0, NULL, 45, 'test_medium.jpg', 82, NULL, 63, NULL) + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + Activity Load (0.3ms) SELECT * FROM `activities` WHERE (`activities`.`item_id` = 45 AND `activities`.`item_type` = 'Photo') LIMIT 1 + SQL (47.0ms) ROLLBACK + SQL (0.0ms) BEGIN + Photo Load (0.3ms) SELECT * FROM `photos`  + SQL (0.1ms) SAVEPOINT active_record_1 + Photo Update (0.3ms) UPDATE `photos` SET `updated_at` = '2010-12-22 05:16:58', `content_type` = 'image/jpeg', `height` = 235, `width` = 180, `size` = 8908 WHERE `id` = 1 + Photo Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'thumb' AND `photos`.`parent_id` = 1) LIMIT 1 + Photo Create (0.3ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:16:58', NULL, NULL, 'image/jpeg', NULL, 'thumb', '2010-12-22 05:16:58', NULL, NULL, 0, NULL, 1, 'test_thumb.jpg', 32, NULL, 25, NULL) + Photo Load (0.4ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'small' AND `photos`.`parent_id` = 1) LIMIT 1 + Photo Create (0.3ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:16:58', NULL, NULL, 'image/jpeg', NULL, 'small', '2010-12-22 05:16:58', NULL, NULL, 0, NULL, 1, 'test_small.jpg', 48, NULL, 37, NULL) + Photo Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'display' AND `photos`.`parent_id` = 1) LIMIT 1 + Photo Create (0.3ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:16:58', NULL, NULL, 'image/jpeg', NULL, 'display', '2010-12-22 05:16:58', NULL, NULL, 0, NULL, 1, 'test_display.jpg', 175, NULL, 134, NULL) + Photo Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'member' AND `photos`.`parent_id` = 1) LIMIT 1 + Photo Create (0.3ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:16:58', NULL, NULL, 'image/jpeg', NULL, 'member', '2010-12-22 05:16:58', NULL, NULL, 0, NULL, 1, 'test_member.jpg', 96, NULL, 74, NULL) + Photo Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'medium' AND `photos`.`parent_id` = 1) LIMIT 1 + Photo Create (0.3ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:16:58', NULL, NULL, 'image/jpeg', NULL, 'medium', '2010-12-22 05:16:58', NULL, NULL, 0, NULL, 1, 'test_medium.jpg', 82, NULL, 63, NULL) + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Photo Update (0.3ms) UPDATE `photos` SET `updated_at` = '2010-12-22 05:16:58', `content_type` = 'image/jpeg', `height` = 235, `width` = 180, `size` = 8908 WHERE `id` = 2 + Photo Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'thumb' AND `photos`.`parent_id` = 2) LIMIT 1 + Photo Create (0.3ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:16:58', NULL, NULL, 'image/jpeg', NULL, 'thumb', '2010-12-22 05:16:58', NULL, NULL, 0, NULL, 2, 'test_thumb.jpg', 32, NULL, 25, NULL) + Photo Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'small' AND `photos`.`parent_id` = 2) LIMIT 1 + Photo Create (0.2ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:16:58', NULL, NULL, 'image/jpeg', NULL, 'small', '2010-12-22 05:16:58', NULL, NULL, 0, NULL, 2, 'test_small.jpg', 48, NULL, 37, NULL) + Photo Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'display' AND `photos`.`parent_id` = 2) LIMIT 1 + Photo Create (0.3ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:16:58', NULL, NULL, 'image/jpeg', NULL, 'display', '2010-12-22 05:16:58', NULL, NULL, 0, NULL, 2, 'test_display.jpg', 175, NULL, 134, NULL) + Photo Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'member' AND `photos`.`parent_id` = 2) LIMIT 1 + Photo Create (0.3ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:16:58', NULL, NULL, 'image/jpeg', NULL, 'member', '2010-12-22 05:16:58', NULL, NULL, 0, NULL, 2, 'test_member.jpg', 96, NULL, 74, NULL) + Photo Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'medium' AND `photos`.`parent_id` = 2) LIMIT 1 + Photo Create (0.2ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:16:58', NULL, NULL, 'image/jpeg', NULL, 'medium', '2010-12-22 05:16:58', NULL, NULL, 0, NULL, 2, 'test_medium.jpg', 82, NULL, 63, NULL) + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Photo Update (0.3ms) UPDATE `photos` SET `updated_at` = '2010-12-22 05:16:58', `content_type` = 'image/jpeg', `height` = 235, `width` = 180, `size` = 8908 WHERE `id` = 3 + Photo Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'thumb' AND `photos`.`parent_id` = 3) LIMIT 1 + Photo Create (0.2ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:16:58', NULL, NULL, 'image/jpeg', NULL, 'thumb', '2010-12-22 05:16:58', NULL, NULL, 0, NULL, 3, 'test_thumb.jpg', 32, NULL, 25, NULL) + Photo Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'small' AND `photos`.`parent_id` = 3) LIMIT 1 + Photo Create (0.2ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:16:58', NULL, NULL, 'image/jpeg', NULL, 'small', '2010-12-22 05:16:58', NULL, NULL, 0, NULL, 3, 'test_small.jpg', 48, NULL, 37, NULL) + Photo Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'display' AND `photos`.`parent_id` = 3) LIMIT 1 + Photo Create (0.3ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:16:58', NULL, NULL, 'image/jpeg', NULL, 'display', '2010-12-22 05:16:58', NULL, NULL, 0, NULL, 3, 'test_display.jpg', 175, NULL, 134, NULL) + Photo Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'member' AND `photos`.`parent_id` = 3) LIMIT 1 + Photo Create (0.3ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:16:58', NULL, NULL, 'image/jpeg', NULL, 'member', '2010-12-22 05:16:58', NULL, NULL, 0, NULL, 3, 'test_member.jpg', 96, NULL, 74, NULL) + Photo Load (0.4ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'medium' AND `photos`.`parent_id` = 3) LIMIT 1 + Photo Create (0.3ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:16:58', NULL, NULL, 'image/jpeg', NULL, 'medium', '2010-12-22 05:16:58', NULL, NULL, 0, NULL, 3, 'test_medium.jpg', 82, NULL, 63, NULL) + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Photo Update (0.3ms) UPDATE `photos` SET `updated_at` = '2010-12-22 05:16:58', `content_type` = 'image/jpeg', `height` = 235, `width` = 180, `size` = 8908 WHERE `id` = 4 + Photo Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'thumb' AND `photos`.`parent_id` = 4) LIMIT 1 + Photo Create (0.2ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:16:58', NULL, NULL, 'image/jpeg', NULL, 'thumb', '2010-12-22 05:16:58', NULL, NULL, 0, NULL, 4, 'test_thumb.jpg', 32, NULL, 25, NULL) + Photo Load (0.4ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'small' AND `photos`.`parent_id` = 4) LIMIT 1 + Photo Create (0.2ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:16:58', NULL, NULL, 'image/jpeg', NULL, 'small', '2010-12-22 05:16:58', NULL, NULL, 0, NULL, 4, 'test_small.jpg', 48, NULL, 37, NULL) + Photo Load (0.4ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'display' AND `photos`.`parent_id` = 4) LIMIT 1 + Photo Create (0.3ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:16:58', NULL, NULL, 'image/jpeg', NULL, 'display', '2010-12-22 05:16:58', NULL, NULL, 0, NULL, 4, 'test_display.jpg', 175, NULL, 134, NULL) + Photo Load (0.4ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'member' AND `photos`.`parent_id` = 4) LIMIT 1 + Photo Create (0.2ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:16:58', NULL, NULL, 'image/jpeg', NULL, 'member', '2010-12-22 05:16:58', NULL, NULL, 0, NULL, 4, 'test_member.jpg', 96, NULL, 74, NULL) + Photo Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'medium' AND `photos`.`parent_id` = 4) LIMIT 1 + Photo Create (0.2ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:16:58', NULL, NULL, 'image/jpeg', NULL, 'medium', '2010-12-22 05:16:58', NULL, NULL, 0, NULL, 4, 'test_medium.jpg', 82, NULL, 63, NULL) + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Photo Create (0.2ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8908, '2010-12-22 05:16:58', NULL, NULL, 'image/jpeg', NULL, NULL, '2010-12-22 05:16:58', NULL, NULL, 0, NULL, NULL, 'test.jpg', 235, NULL, 180, NULL) + Activity Create (0.1ms) INSERT INTO `activities` (`created_at`, `public`, `updated_at`, `action`, `user_id`, `item_id`, `item_type`) VALUES('2010-12-22 05:16:58', 1, '2010-12-22 05:16:58', 'create', NULL, 71, 'Photo') + Photo Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'thumb' AND `photos`.`parent_id` = 71) LIMIT 1 + Photo Create (0.2ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:16:58', NULL, NULL, 'image/jpeg', NULL, 'thumb', '2010-12-22 05:16:58', NULL, NULL, 0, NULL, 71, 'test_thumb.jpg', 32, NULL, 25, NULL) + Photo Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'small' AND `photos`.`parent_id` = 71) LIMIT 1 + Photo Create (0.2ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:16:58', NULL, NULL, 'image/jpeg', NULL, 'small', '2010-12-22 05:16:58', NULL, NULL, 0, NULL, 71, 'test_small.jpg', 48, NULL, 37, NULL) + Photo Load (0.4ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'display' AND `photos`.`parent_id` = 71) LIMIT 1 + Photo Create (0.3ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:16:58', NULL, NULL, 'image/jpeg', NULL, 'display', '2010-12-22 05:16:58', NULL, NULL, 0, NULL, 71, 'test_display.jpg', 175, NULL, 134, NULL) + Photo Load (0.4ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'member' AND `photos`.`parent_id` = 71) LIMIT 1 + Photo Create (0.3ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:16:58', NULL, NULL, 'image/jpeg', NULL, 'member', '2010-12-22 05:16:58', NULL, NULL, 0, NULL, 71, 'test_member.jpg', 96, NULL, 74, NULL) + Photo Load (0.4ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'medium' AND `photos`.`parent_id` = 71) LIMIT 1 + Photo Create (0.2ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:16:58', NULL, NULL, 'image/jpeg', NULL, 'medium', '2010-12-22 05:16:58', NULL, NULL, 0, NULL, 71, 'test_medium.jpg', 82, NULL, 63, NULL) + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + Activity Load (0.3ms) SELECT * FROM `activities` WHERE (`activities`.`item_id` = 71 AND `activities`.`item_type` = 'Photo')  + Photo Load (0.2ms) SELECT * FROM `photos` WHERE (`photos`.`id` = 71)  + SQL (0.1ms) SAVEPOINT active_record_1 + Comment Load (0.4ms) SELECT * FROM `comments` WHERE (`comments`.commentable_id = 71 AND `comments`.commentable_type = 'Photo') ORDER BY created_at ASC + Tagging Load (0.4ms) SELECT * FROM `taggings` WHERE (`taggings`.taggable_id = 71 AND `taggings`.taggable_type = 'Photo' AND (context = 'tags'))  + Tagging Load (0.2ms) SELECT * FROM `taggings` WHERE (`taggings`.taggable_id = 71 AND `taggings`.taggable_type = 'Photo')  + Photo Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.parent_id = 71)  + Comment Load (0.2ms) SELECT * FROM `comments` WHERE (`comments`.commentable_id = 72 AND `comments`.commentable_type = 'Photo') ORDER BY created_at ASC + Tagging Load (0.2ms) SELECT * FROM `taggings` WHERE (`taggings`.taggable_id = 72 AND `taggings`.taggable_type = 'Photo' AND (context = 'tags'))  + Tagging Load (0.2ms) SELECT * FROM `taggings` WHERE (`taggings`.taggable_id = 72 AND `taggings`.taggable_type = 'Photo')  + Photo Destroy (0.1ms) DELETE FROM `photos` WHERE `id` = 72 + Comment Load (0.2ms) SELECT * FROM `comments` WHERE (`comments`.commentable_id = 73 AND `comments`.commentable_type = 'Photo') ORDER BY created_at ASC + Tagging Load (0.2ms) SELECT * FROM `taggings` WHERE (`taggings`.taggable_id = 73 AND `taggings`.taggable_type = 'Photo' AND (context = 'tags'))  + Tagging Load (0.2ms) SELECT * FROM `taggings` WHERE (`taggings`.taggable_id = 73 AND `taggings`.taggable_type = 'Photo')  + Photo Destroy (0.1ms) DELETE FROM `photos` WHERE `id` = 73 + Comment Load (0.2ms) SELECT * FROM `comments` WHERE (`comments`.commentable_id = 74 AND `comments`.commentable_type = 'Photo') ORDER BY created_at ASC + Tagging Load (0.2ms) SELECT * FROM `taggings` WHERE (`taggings`.taggable_id = 74 AND `taggings`.taggable_type = 'Photo' AND (context = 'tags'))  + Tagging Load (0.2ms) SELECT * FROM `taggings` WHERE (`taggings`.taggable_id = 74 AND `taggings`.taggable_type = 'Photo')  + Photo Destroy (0.1ms) DELETE FROM `photos` WHERE `id` = 74 + Comment Load (0.2ms) SELECT * FROM `comments` WHERE (`comments`.commentable_id = 75 AND `comments`.commentable_type = 'Photo') ORDER BY created_at ASC + Tagging Load (0.2ms) SELECT * FROM `taggings` WHERE (`taggings`.taggable_id = 75 AND `taggings`.taggable_type = 'Photo' AND (context = 'tags'))  + Tagging Load (0.2ms) SELECT * FROM `taggings` WHERE (`taggings`.taggable_id = 75 AND `taggings`.taggable_type = 'Photo')  + Photo Destroy (0.1ms) DELETE FROM `photos` WHERE `id` = 75 + Comment Load (0.2ms) SELECT * FROM `comments` WHERE (`comments`.commentable_id = 76 AND `comments`.commentable_type = 'Photo') ORDER BY created_at ASC + Tagging Load (0.2ms) SELECT * FROM `taggings` WHERE (`taggings`.taggable_id = 76 AND `taggings`.taggable_type = 'Photo' AND (context = 'tags'))  + Tagging Load (0.2ms) SELECT * FROM `taggings` WHERE (`taggings`.taggable_id = 76 AND `taggings`.taggable_type = 'Photo')  + Photo Destroy (0.1ms) DELETE FROM `photos` WHERE `id` = 76 + Photo Destroy (0.1ms) DELETE FROM `photos` WHERE `id` = 71 + Activity Create (0.2ms) INSERT INTO `activities` (`created_at`, `public`, `updated_at`, `action`, `user_id`, `item_id`, `item_type`) VALUES('2010-12-22 05:16:58', 1, '2010-12-22 05:16:58', 'destroy', NULL, 71, 'Photo') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + Activity Load (0.2ms) SELECT * FROM `activities` WHERE (`activities`.`item_id` = 71 AND `activities`.`item_type` = 'Photo')  + SQL (35.9ms) ROLLBACK + SQL (0.0ms) BEGIN + Photo Load (0.3ms) SELECT * FROM `photos`  + SQL (0.1ms) SAVEPOINT active_record_1 + Photo Update (0.4ms) UPDATE `photos` SET `updated_at` = '2010-12-22 05:16:58', `content_type` = 'image/jpeg', `height` = 235, `width` = 180, `size` = 8908 WHERE `id` = 1 + Photo Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'thumb' AND `photos`.`parent_id` = 1) LIMIT 1 + Photo Create (0.3ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:16:58', NULL, NULL, 'image/jpeg', NULL, 'thumb', '2010-12-22 05:16:58', NULL, NULL, 0, NULL, 1, 'test_thumb.jpg', 32, NULL, 25, NULL) + Photo Load (0.5ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'small' AND `photos`.`parent_id` = 1) LIMIT 1 + Photo Create (0.3ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:16:59', NULL, NULL, 'image/jpeg', NULL, 'small', '2010-12-22 05:16:59', NULL, NULL, 0, NULL, 1, 'test_small.jpg', 48, NULL, 37, NULL) + Photo Load (0.4ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'display' AND `photos`.`parent_id` = 1) LIMIT 1 + Photo Create (0.3ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:16:59', NULL, NULL, 'image/jpeg', NULL, 'display', '2010-12-22 05:16:59', NULL, NULL, 0, NULL, 1, 'test_display.jpg', 175, NULL, 134, NULL) + Photo Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'member' AND `photos`.`parent_id` = 1) LIMIT 1 + Photo Create (0.3ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:16:59', NULL, NULL, 'image/jpeg', NULL, 'member', '2010-12-22 05:16:59', NULL, NULL, 0, NULL, 1, 'test_member.jpg', 96, NULL, 74, NULL) + Photo Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'medium' AND `photos`.`parent_id` = 1) LIMIT 1 + Photo Create (0.3ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:16:59', NULL, NULL, 'image/jpeg', NULL, 'medium', '2010-12-22 05:16:59', NULL, NULL, 0, NULL, 1, 'test_medium.jpg', 82, NULL, 63, NULL) + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Photo Update (0.3ms) UPDATE `photos` SET `updated_at` = '2010-12-22 05:16:59', `content_type` = 'image/jpeg', `height` = 235, `width` = 180, `size` = 8908 WHERE `id` = 2 + Photo Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'thumb' AND `photos`.`parent_id` = 2) LIMIT 1 + Photo Create (0.3ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:16:59', NULL, NULL, 'image/jpeg', NULL, 'thumb', '2010-12-22 05:16:59', NULL, NULL, 0, NULL, 2, 'test_thumb.jpg', 32, NULL, 25, NULL) + Photo Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'small' AND `photos`.`parent_id` = 2) LIMIT 1 + Photo Create (0.2ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:16:59', NULL, NULL, 'image/jpeg', NULL, 'small', '2010-12-22 05:16:59', NULL, NULL, 0, NULL, 2, 'test_small.jpg', 48, NULL, 37, NULL) + Photo Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'display' AND `photos`.`parent_id` = 2) LIMIT 1 + Photo Create (0.3ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:16:59', NULL, NULL, 'image/jpeg', NULL, 'display', '2010-12-22 05:16:59', NULL, NULL, 0, NULL, 2, 'test_display.jpg', 175, NULL, 134, NULL) + Photo Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'member' AND `photos`.`parent_id` = 2) LIMIT 1 + Photo Create (0.3ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:16:59', NULL, NULL, 'image/jpeg', NULL, 'member', '2010-12-22 05:16:59', NULL, NULL, 0, NULL, 2, 'test_member.jpg', 96, NULL, 74, NULL) + Photo Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'medium' AND `photos`.`parent_id` = 2) LIMIT 1 + Photo Create (0.2ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:16:59', NULL, NULL, 'image/jpeg', NULL, 'medium', '2010-12-22 05:16:59', NULL, NULL, 0, NULL, 2, 'test_medium.jpg', 82, NULL, 63, NULL) + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Photo Update (0.3ms) UPDATE `photos` SET `updated_at` = '2010-12-22 05:16:59', `content_type` = 'image/jpeg', `height` = 235, `width` = 180, `size` = 8908 WHERE `id` = 3 + Photo Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'thumb' AND `photos`.`parent_id` = 3) LIMIT 1 + Photo Create (0.2ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:16:59', NULL, NULL, 'image/jpeg', NULL, 'thumb', '2010-12-22 05:16:59', NULL, NULL, 0, NULL, 3, 'test_thumb.jpg', 32, NULL, 25, NULL) + Photo Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'small' AND `photos`.`parent_id` = 3) LIMIT 1 + Photo Create (0.2ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:16:59', NULL, NULL, 'image/jpeg', NULL, 'small', '2010-12-22 05:16:59', NULL, NULL, 0, NULL, 3, 'test_small.jpg', 48, NULL, 37, NULL) + Photo Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'display' AND `photos`.`parent_id` = 3) LIMIT 1 + Photo Create (0.3ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:16:59', NULL, NULL, 'image/jpeg', NULL, 'display', '2010-12-22 05:16:59', NULL, NULL, 0, NULL, 3, 'test_display.jpg', 175, NULL, 134, NULL) + Photo Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'member' AND `photos`.`parent_id` = 3) LIMIT 1 + Photo Create (0.3ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:16:59', NULL, NULL, 'image/jpeg', NULL, 'member', '2010-12-22 05:16:59', NULL, NULL, 0, NULL, 3, 'test_member.jpg', 96, NULL, 74, NULL) + Photo Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'medium' AND `photos`.`parent_id` = 3) LIMIT 1 + Photo Create (0.2ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:16:59', NULL, NULL, 'image/jpeg', NULL, 'medium', '2010-12-22 05:16:59', NULL, NULL, 0, NULL, 3, 'test_medium.jpg', 82, NULL, 63, NULL) + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Photo Update (0.3ms) UPDATE `photos` SET `updated_at` = '2010-12-22 05:16:59', `content_type` = 'image/jpeg', `height` = 235, `width` = 180, `size` = 8908 WHERE `id` = 4 + Photo Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'thumb' AND `photos`.`parent_id` = 4) LIMIT 1 + Photo Create (0.3ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:16:59', NULL, NULL, 'image/jpeg', NULL, 'thumb', '2010-12-22 05:16:59', NULL, NULL, 0, NULL, 4, 'test_thumb.jpg', 32, NULL, 25, NULL) + Photo Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'small' AND `photos`.`parent_id` = 4) LIMIT 1 + Photo Create (0.2ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:16:59', NULL, NULL, 'image/jpeg', NULL, 'small', '2010-12-22 05:16:59', NULL, NULL, 0, NULL, 4, 'test_small.jpg', 48, NULL, 37, NULL) + Photo Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'display' AND `photos`.`parent_id` = 4) LIMIT 1 + Photo Create (0.3ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:16:59', NULL, NULL, 'image/jpeg', NULL, 'display', '2010-12-22 05:16:59', NULL, NULL, 0, NULL, 4, 'test_display.jpg', 175, NULL, 134, NULL) + Photo Load (0.4ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'member' AND `photos`.`parent_id` = 4) LIMIT 1 + Photo Create (0.3ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:16:59', NULL, NULL, 'image/jpeg', NULL, 'member', '2010-12-22 05:16:59', NULL, NULL, 0, NULL, 4, 'test_member.jpg', 96, NULL, 74, NULL) + Photo Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'medium' AND `photos`.`parent_id` = 4) LIMIT 1 + Photo Create (0.3ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8858, '2010-12-22 05:16:59', NULL, NULL, 'image/jpeg', NULL, 'medium', '2010-12-22 05:16:59', NULL, NULL, 0, NULL, 4, 'test_medium.jpg', 82, NULL, 63, NULL) + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + Photo Load (0.4ms) SELECT * FROM `photos`  + Photo Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`parent_id` = 1)  + SQL (67.2ms) ROLLBACK + SQL (0.0ms) BEGIN + ProfilePhoto Columns (1.0ms) SHOW FIELDS FROM `photos` + SQL (0.1ms) SAVEPOINT active_record_1 + ProfilePhoto Create (0.3ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 8908, '2010-12-22 05:16:59', NULL, NULL, 'image/jpeg', NULL, NULL, '2010-12-22 05:16:59', NULL, NULL, 0, NULL, NULL, 'test.jpg', 175, NULL, 134, NULL) + Activity Create (0.1ms) INSERT INTO `activities` (`created_at`, `public`, `updated_at`, `action`, `user_id`, `item_id`, `item_type`) VALUES('2010-12-22 05:16:59', 1, '2010-12-22 05:16:59', 'create', NULL, 97, 'Photo') + ProfilePhoto Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'thumb' AND `photos`.`parent_id` = 97) LIMIT 1 + ProfilePhoto Create (0.3ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 5780, '2010-12-22 05:16:59', NULL, NULL, 'image/jpeg', NULL, 'thumb', '2010-12-22 05:16:59', NULL, NULL, 0, NULL, 97, 'test_thumb.jpg', 32, NULL, 25, NULL) + ProfilePhoto Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'small' AND `photos`.`parent_id` = 97) LIMIT 1 + ProfilePhoto Create (0.3ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 5780, '2010-12-22 05:16:59', NULL, NULL, 'image/jpeg', NULL, 'small', '2010-12-22 05:16:59', NULL, NULL, 0, NULL, 97, 'test_small.jpg', 48, NULL, 37, NULL) + ProfilePhoto Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'member' AND `photos`.`parent_id` = 97) LIMIT 1 + ProfilePhoto Create (0.3ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 5780, '2010-12-22 05:16:59', NULL, NULL, 'image/jpeg', NULL, 'member', '2010-12-22 05:16:59', NULL, NULL, 0, NULL, 97, 'test_member.jpg', 96, NULL, 74, NULL) + ProfilePhoto Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` = 'medium' AND `photos`.`parent_id` = 97) LIMIT 1 + ProfilePhoto Create (0.2ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 5780, '2010-12-22 05:16:59', NULL, NULL, 'image/jpeg', NULL, 'medium', '2010-12-22 05:16:59', NULL, NULL, 0, NULL, 97, 'test_medium.jpg', 82, NULL, 63, NULL) + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + Photo Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`parent_id` = 97)  + SQL (43.1ms) ROLLBACK + SQL (0.0ms) BEGIN + Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  + SQL (0.1ms) ROLLBACK + SQL (0.0ms) BEGIN + SQL (0.0ms) SAVEPOINT active_record_1 + Project Create (0.2ms) INSERT INTO `projects` (`name`, `created_at`, `updated_at`, `url`, `user_id`, `description`) VALUES('A Test Project', '2010-12-22 05:16:59', '2010-12-22 05:16:59', 'www.rubyonrails.com', 1, 'This project is created for testing') + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Activity Create (0.1ms) INSERT INTO `activities` (`created_at`, `public`, `updated_at`, `action`, `user_id`, `item_id`, `item_type`) VALUES('2010-12-22 05:16:59', 1, '2010-12-22 05:16:59', NULL, 1, 3, 'Project') + SQL (0.0ms) RELEASE SAVEPOINT active_record_1 + Activity Load (0.3ms) SELECT * FROM `activities` WHERE (`activities`.`item_id` = 3 AND `activities`.`item_type` = 'Project') LIMIT 1 + SQL (33.1ms) ROLLBACK + SQL (0.1ms) BEGIN + Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  + SQL (0.1ms) ROLLBACK + SQL (0.0ms) BEGIN + Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  + SQL (0.1ms) ROLLBACK + SQL (0.0ms) BEGIN + SQL (0.0ms) ROLLBACK + SQL (0.0ms) BEGIN + Role Load (0.2ms) SELECT * FROM `roles` WHERE (`roles`.`rolename` = 'administrator') LIMIT 1 + SQL (0.1ms) ROLLBACK + SQL (0.0ms) BEGIN + Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`rolename` = 'creator') LIMIT 1 + SQL (0.1ms) ROLLBACK + SQL (0.0ms) BEGIN + SQL (0.0ms) ROLLBACK + SQL (0.0ms) BEGIN + Country Load (0.2ms) SELECT * FROM `countries` WHERE (`countries`.`abbreviation` = 'US') LIMIT 1 + SQL (0.1ms) ROLLBACK + SQL (0.0ms) BEGIN + Country Load (0.1ms) SELECT * FROM `countries` WHERE (`countries`.`abbreviation` = 'US') LIMIT 1 + SQL (0.1ms) ROLLBACK + SQL (0.0ms) BEGIN + SQL (0.0ms) SAVEPOINT active_record_1 + StatusPost Create (0.2ms) INSERT INTO `status_posts` (`created_at`, `body`, `updated_at`, `user_id`) VALUES('2010-12-22 05:16:59', 'A Test Status Post', '2010-12-22 05:16:59', 1) + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Activity Create (0.2ms) INSERT INTO `activities` (`created_at`, `public`, `updated_at`, `action`, `user_id`, `item_id`, `item_type`) VALUES('2010-12-22 05:16:59', 1, '2010-12-22 05:16:59', NULL, 1, 3, 'StatusPost') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + Activity Load (0.3ms) SELECT * FROM `activities` WHERE (`activities`.`item_id` = 3 AND `activities`.`item_type` = 'StatusPost') LIMIT 1 + SQL (34.8ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.5ms) SELECT `users`.* FROM `users` INNER JOIN `permissions` ON permissions.user_id = users.id WHERE (role_id = 2)  + User Load (0.4ms) SELECT `users`.* FROM `users` INNER JOIN `permissions` ON permissions.user_id = users.id WHERE (role_id = 1)  + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + StatusPost Load (0.2ms) SELECT * FROM `status_posts` WHERE (`status_posts`.user_id = 1) ORDER BY created_at DESC + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  + StatusPost Load (0.2ms) SELECT * FROM `status_posts` WHERE (`status_posts`.user_id = 3) ORDER BY created_at DESC + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + User Load (0.5ms) SELECT `users`.* FROM `users` INNER JOIN `friendships` ON `users`.id = `friendships`.friend_id WHERE ((`friendships`.user_id = 1) AND ((status = 'accepted')))  + Activity Load (0.4ms) SELECT * FROM `activities` WHERE (`activities`.`user_id` IN (8,5,1)) ORDER BY created_at DESC + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + User Load (0.1ms) SELECT `users`.* FROM `users` INNER JOIN `friendships` ON `users`.id = `friendships`.friend_id WHERE ((`friendships`.user_id = 1) AND ((status = 'accepted')))  + SQL (0.1ms) ROLLBACK + SQL (0.0ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + User Load (0.1ms) SELECT `users`.* FROM `users` INNER JOIN `friendships` ON `users`.id = `friendships`.friend_id WHERE ((`friendships`.user_id = 1) AND ((status = 'accepted')))  + Activity Load (0.3ms) SELECT * FROM `activities` WHERE (`activities`.`user_id` IN (8,5,1) AND `activities`.`item_type` = 'StatusPost') ORDER BY created_at DESC + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + User Load (0.4ms) SELECT * FROM `users` WHERE (`users`.`id` = 6)  + SQL (0.1ms) ROLLBACK + SQL (0.0ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (0.1ms) ROLLBACK + SQL (0.0ms) BEGIN + User Load (0.7ms) SELECT * FROM `users` WHERE (activated_at IS NULL)  + SQL (0.1ms) ROLLBACK + SQL (0.0ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Activity Load (0.4ms) SELECT * FROM `activities` WHERE (`activities`.user_id = 1) ORDER BY created_at DESC + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + User Load (0.4ms) SELECT * FROM `users` WHERE (login = 'quentin' and activated_at IS NOT NULL) LIMIT 1 + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.2ms) SELECT count(*) AS count_all FROM `users`  + SQL (0.1ms) SAVEPOINT active_record_1 + User Load (0.5ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'quire') LIMIT 1 + User Load (0.3ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'quire@example.com') LIMIT 1 + User Create (0.4ms) INSERT INTO `users` (`city`, `occupation`, `flickr`, `facebook_id`, `salt`, `created_at`, `zip`, `about_me`, `activated_at`, `blog`, `display_tweets`, `yahoo_messenger_name`, `skype_name`, `facebook_url`, `company_url`, `crypted_password`, `remember_token_expires_at`, `updated_at`, `featured`, `last_seen_at`, `password_reset_code`, `country_id`, `skills`, `show_blog_posts_on_home`, `msn_name`, `activation_code`, `api_key`, `flickr_username`, `linked_in_url`, `gtalk_name`, `posts_count`, `enabled`, `email_hash`, `sex`, `phone2`, `last_name`, `phone`, `website`, `blog_feed`, `twitter_id`, `aim_name`, `resume_url`, `login_count`, `remember_token`, `is_active`, `time_zone`, `organization`, `login`, `state_id`, `youtube_username`, `identity_url`, `email`, `first_name`, `use_gravatar`, `receive_emails`) VALUES(NULL, NULL, NULL, NULL, '7e13843517167001115aabc21fa0996b351f28ae', '2010-12-22 05:16:59', NULL, 'this is about me', NULL, NULL, 0, NULL, NULL, NULL, NULL, '761c27930a0fd842acbe0f482d20038dd5a7e767', NULL, '2010-12-22 05:16:59', 0, NULL, NULL, NULL, NULL, 1, NULL, '62af62b1c1c9df9b96fa94ce2740583c35e8436f', '', NULL, NULL, NULL, 0, 1, NULL, NULL, NULL, 'user', NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, 0, 'UTC', NULL, 'quire', NULL, NULL, NULL, 'quire@example.com', 'test', 0, 1) + ConfigSetting Load (0.2ms) SELECT * FROM `config_settings`  + SQL (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 + SQL (60.1ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.1ms) SAVEPOINT active_record_1 + User Load (0.4ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'quire') LIMIT 1 + User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'quire@example.com') LIMIT 1 + User Create (0.4ms) INSERT INTO `users` (`city`, `occupation`, `flickr`, `facebook_id`, `salt`, `created_at`, `zip`, `about_me`, `activated_at`, `blog`, `display_tweets`, `yahoo_messenger_name`, `skype_name`, `facebook_url`, `company_url`, `crypted_password`, `remember_token_expires_at`, `updated_at`, `featured`, `last_seen_at`, `password_reset_code`, `country_id`, `skills`, `show_blog_posts_on_home`, `msn_name`, `activation_code`, `api_key`, `flickr_username`, `linked_in_url`, `gtalk_name`, `posts_count`, `enabled`, `email_hash`, `sex`, `phone2`, `last_name`, `phone`, `website`, `blog_feed`, `twitter_id`, `aim_name`, `resume_url`, `login_count`, `remember_token`, `is_active`, `time_zone`, `organization`, `login`, `state_id`, `youtube_username`, `identity_url`, `email`, `first_name`, `use_gravatar`, `receive_emails`) VALUES(NULL, NULL, NULL, NULL, '7e13843517167001115aabc21fa0996b351f28ae', '2010-12-22 05:16:59', NULL, 'this is about me', NULL, NULL, 0, NULL, NULL, NULL, NULL, '761c27930a0fd842acbe0f482d20038dd5a7e767', NULL, '2010-12-22 05:16:59', 0, NULL, NULL, NULL, NULL, 1, NULL, '5753113246edf376ed9cf1a9882f6247255b7705', '', NULL, NULL, NULL, 0, 1, NULL, NULL, NULL, 'user', NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, 0, 'UTC', NULL, 'quire', NULL, NULL, NULL, 'quire@example.com', 'test', 0, 1) + SQL (31.6ms) ROLLBACK TO SAVEPOINT active_record_1 + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.5ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + User Load (0.4ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'quentin2' AND `users`.id <> 1) LIMIT 1 + User Load (0.3ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'quentin@example.com' AND `users`.id <> 1) LIMIT 1 + User Update (0.3ms) UPDATE `users` SET `updated_at` = '2010-12-22 05:16:59', `login` = 'quentin2' WHERE `id` = 1 + User Load (0.5ms) SELECT `users`.* FROM `users` INNER JOIN `permissions` ON permissions.user_id = users.id WHERE (role_id = 2)  + User Load (0.4ms) SELECT `users`.* FROM `users` INNER JOIN `permissions` ON permissions.user_id = users.id WHERE (role_id = 1)  + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + User Load (0.4ms) SELECT * FROM `users` WHERE (login = 'quentin2' and activated_at IS NOT NULL) LIMIT 1 + SQL (37.8ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.6ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + User Update (0.3ms) UPDATE `users` SET `updated_at` = '2010-12-22 05:17:00', `remember_token_expires_at` = '2011-01-05 05:17:00', `remember_token` = 'd972e24e945ce0532e366d9e6c3e2f05dc62a4bd' WHERE `id` = 1 + User Load (0.5ms) SELECT `users`.* FROM `users` INNER JOIN `permissions` ON permissions.user_id = users.id WHERE (role_id = 2)  + User Load (0.4ms) SELECT `users`.* FROM `users` INNER JOIN `permissions` ON permissions.user_id = users.id WHERE (role_id = 1)  + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (39.5ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.4ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + User Update (0.3ms) UPDATE `users` SET `updated_at` = '2010-12-22 05:17:00', `remember_token_expires_at` = '2010-12-29 05:17:00', `remember_token` = 'c0b74679a18ba42c1ecc9e2a5ad79100b48fd33e' WHERE `id` = 1 + User Load (0.4ms) SELECT `users`.* FROM `users` INNER JOIN `permissions` ON permissions.user_id = users.id WHERE (role_id = 2)  + User Load (0.4ms) SELECT `users`.* FROM `users` INNER JOIN `permissions` ON permissions.user_id = users.id WHERE (role_id = 1)  + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (32.4ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.5ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + User Update (0.5ms) UPDATE `users` SET `updated_at` = '2010-12-22 05:17:00', `remember_token_expires_at` = '2010-12-29 05:17:00', `remember_token` = 'c0b74679a18ba42c1ecc9e2a5ad79100b48fd33e' WHERE `id` = 1 + User Load (0.8ms) SELECT `users`.* FROM `users` INNER JOIN `permissions` ON permissions.user_id = users.id WHERE (role_id = 2)  + User Load (0.7ms) SELECT `users`.* FROM `users` INNER JOIN `permissions` ON permissions.user_id = users.id WHERE (role_id = 1)  + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (36.4ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.3ms) SELECT count(*) AS count_all FROM `users`  + SQL (0.1ms) SAVEPOINT active_record_1 + User Load (0.3ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'quire') LIMIT 1 + User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (`users`.`email` IS NULL) LIMIT 1 + SQL (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 + SQL (0.1ms) SELECT count(*) AS count_all FROM `users`  + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.1ms) SELECT count(*) AS count_all FROM `users`  + SQL (0.1ms) SAVEPOINT active_record_1 + User Load (0.3ms) SELECT `users`.id FROM `users` WHERE (`users`.`login` IS NULL) LIMIT 1 + User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'quire@example.com') LIMIT 1 + SQL (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 + SQL (0.1ms) SELECT count(*) AS count_all FROM `users`  + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.1ms) SELECT count(*) AS count_all FROM `users`  + SQL (0.1ms) SAVEPOINT active_record_1 + User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'quire') LIMIT 1 + User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'quire@example.com') LIMIT 1 + SQL (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 + SQL (0.1ms) SELECT count(*) AS count_all FROM `users`  + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.1ms) SELECT count(*) AS count_all FROM `users`  + SQL (0.1ms) SAVEPOINT active_record_1 + User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'quire') LIMIT 1 + User Load (0.1ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'quire@example.com') LIMIT 1 + SQL (0.1ms) ROLLBACK TO SAVEPOINT active_record_1 + SQL (0.1ms) SELECT count(*) AS count_all FROM `users`  + SQL (0.1ms) ROLLBACK + SQL (0.0ms) BEGIN + User Load (0.5ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + User Load (0.4ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'quentin' AND `users`.id <> 1) LIMIT 1 + User Load (0.3ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'quentin@example.com' AND `users`.id <> 1) LIMIT 1 + User Update (0.3ms) UPDATE `users` SET `updated_at` = '2010-12-22 05:17:00', `crypted_password` = '4b6dd603c64f03bc2f676658e287094878df9603' WHERE `id` = 1 + User Load (0.4ms) SELECT `users`.* FROM `users` INNER JOIN `permissions` ON permissions.user_id = users.id WHERE (role_id = 2)  + User Load (0.4ms) SELECT `users`.* FROM `users` INNER JOIN `permissions` ON permissions.user_id = users.id WHERE (role_id = 1)  + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + User Load (0.4ms) SELECT * FROM `users` WHERE (login = 'quentin' and activated_at IS NOT NULL) LIMIT 1 + SQL (33.7ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.5ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + User Update (0.3ms) UPDATE `users` SET `updated_at` = '2010-12-22 05:17:00', `remember_token_expires_at` = '2011-01-05 05:17:00', `remember_token` = 'd972e24e945ce0532e366d9e6c3e2f05dc62a4bd' WHERE `id` = 1 + User Load (0.4ms) SELECT `users`.* FROM `users` INNER JOIN `permissions` ON permissions.user_id = users.id WHERE (role_id = 2)  + User Load (0.4ms) SELECT `users`.* FROM `users` INNER JOIN `permissions` ON permissions.user_id = users.id WHERE (role_id = 1)  + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (33.5ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.6ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + User Update (0.4ms) UPDATE `users` SET `updated_at` = '2010-12-22 05:17:00', `remember_token_expires_at` = '2011-01-05 05:17:00', `remember_token` = 'd972e24e945ce0532e366d9e6c3e2f05dc62a4bd' WHERE `id` = 1 + User Load (0.7ms) SELECT `users`.* FROM `users` INNER JOIN `permissions` ON permissions.user_id = users.id WHERE (role_id = 2)  + User Load (0.4ms) SELECT `users`.* FROM `users` INNER JOIN `permissions` ON permissions.user_id = users.id WHERE (role_id = 1)  + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + User Update (58.5ms) UPDATE `users` SET `updated_at` = '2010-12-22 05:17:00', `remember_token_expires_at` = NULL, `remember_token` = NULL WHERE `id` = 1 + User Load (0.7ms) SELECT `users`.* FROM `users` INNER JOIN `permissions` ON permissions.user_id = users.id WHERE (role_id = 2)  + User Load (0.5ms) SELECT `users`.* FROM `users` INNER JOIN `permissions` ON permissions.user_id = users.id WHERE (role_id = 1)  + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (102.6ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.2ms) ROLLBACK + SQL (0.0ms) BEGIN + SQL (0.0ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.1ms) ROLLBACK +** acts_as_taggable_on: initialized properly. + SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 + SQL (0.1ms) BEGIN + User Load (0.5ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + + +Processing ActivitiesController#index (for 0.0.0.0 at 2010-12-21 22:17:05) [GET] + Theme Load (0.3ms) SELECT * FROM `themes` LIMIT 1 + Network Load (0.2ms) SELECT * FROM `networks` LIMIT 1 + Activity Load (0.4ms) SELECT * FROM `activities` ORDER BY created_at DESC LIMIT 0, 15 + SQL (0.2ms) SELECT count(*) AS count_all FROM `activities`  + SQL (0.1ms) SELECT count(*) AS count_all FROM `activities`  +Rendering template within layouts/application +Rendering activities/index + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + BlogPost Load (0.3ms) SELECT * FROM `blog_posts` WHERE (`blog_posts`.`id` = 1)  + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + BlogPost Load (0.3ms) SELECT * FROM `blog_posts` WHERE (`blog_posts`.`id` = 2)  + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + StatusPost Load (0.2ms) SELECT * FROM `status_posts` WHERE (`status_posts`.`id` = 1)  + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + StatusPost Load (0.2ms) SELECT * FROM `status_posts` WHERE (`status_posts`.`id` = 2)  + User Load (0.4ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  + BlogPost Load (0.1ms) SELECT * FROM `blog_posts` WHERE (`blog_posts`.`id` = 2)  + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  + ForumPost Load (0.2ms) SELECT * FROM `forum_posts` WHERE (`forum_posts`.`id` = 1)  + User Load (0.4ms) SELECT * FROM `users` WHERE (`users`.`id` = 4)  + Photo Load (0.2ms) SELECT * FROM `photos` WHERE (`photos`.`id` = 1)  + Photo Load (0.2ms) SELECT id, user_id, filename, parent_id, created_at FROM `photos` WHERE (`photos`.`id` = 1)  + User Load (0.4ms) SELECT * FROM `users` WHERE (`users`.`id` = 5)  + Photo Load (0.2ms) SELECT * FROM `photos` WHERE (`photos`.`id` = 2)  + Photo Load (0.2ms) SELECT id, user_id, filename, parent_id, created_at FROM `photos` WHERE (`photos`.`id` = 2)  + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 5)  + StatusPost Load (0.1ms) SELECT * FROM `status_posts` WHERE (`status_posts`.`id` = 2)  + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Friendship Load (0.2ms) SELECT * FROM `friendships` WHERE (`friendships`.`id` = 5)  + User Load (0.4ms) SELECT * FROM `users` WHERE (`users`.`id` = 8)  + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.`id` = 1)  + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Photo Load (0.1ms) SELECT * FROM `photos` WHERE (`photos`.`id` = 1)  + Photo Load (0.1ms) SELECT id, user_id, filename, parent_id, created_at FROM `photos` WHERE (`photos`.`id` = 1)  + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 1)  + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + BlogPost Load (0.1ms) SELECT * FROM `blog_posts` WHERE (`blog_posts`.`id` = 1)  +Rendered layouts/_widgets (1.3ms) + ConfigSetting Load (0.1ms) SELECT * FROM `config_settings`  + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + + +Processing AdminController#analytics_code (for 0.0.0.0 at 2010-12-21 22:17:05) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.6ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + HtmlContent Load (0.3ms) SELECT * FROM `html_contents` WHERE (`html_contents`.`title` = '?analytics?') LIMIT 1 +Rendering template within layouts/admin +Rendering admin/analytics_code + ProfilePhoto Columns (1.1ms) SHOW FIELDS FROM `photos` + ProfilePhoto Load (0.4ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 1 AND (is_profile = 1)) LIMIT 1 +Rendered admin/_left_nav (3.5ms) +Completed in 50ms (View: 36, DB: 9) | 200 OK [http://test.host/admin/analytics_code] + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + + +Processing AdminController#blog_post_edit (for 0.0.0.0 at 2010-12-21 22:17:06) [GET] + Parameters: {"id"=>"2"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + BlogPost Load (0.1ms) SELECT * FROM `blog_posts` WHERE (`blog_posts`.`id` = 2)  + BlogPostTopic Load (0.3ms) SELECT * FROM `blog_post_topics`  +Rendering template within layouts/admin +Rendering admin/blog_post_form + blog_post_topics_blog_posts Columns (0.8ms) SHOW FIELDS FROM `blog_post_topics_blog_posts` + BlogPostTopic Load (0.3ms) SELECT * FROM `blog_post_topics` INNER JOIN `blog_post_topics_blog_posts` ON `blog_post_topics`.id = `blog_post_topics_blog_posts`.blog_post_topic_id WHERE (`blog_post_topics_blog_posts`.blog_post_id = 2 )  +Rendered blog_posts/_blog_post_topic_list (5.0ms) + Tagging Columns (0.6ms) SHOW FIELDS FROM `taggings` + Tag Load (0.4ms) SELECT `tags`.* FROM `tags` INNER JOIN `taggings` ON `tags`.id = `taggings`.tag_id WHERE ((`taggings`.taggable_id = 2) AND (`taggings`.taggable_type = 'BlogPost') AND (context = 'tags'))  +Rendered blog_posts/_blog_post_form (13.8ms) + ProfilePhoto Load (0.1ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 1 AND (is_profile = 1)) LIMIT 1 +Rendered admin/_left_nav (1.5ms) +Completed in 47ms (View: 41, DB: 3) | 200 OK [http://test.host/admin/blog_post_edit/2] + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + + +Processing AdminController#event_edit (for 0.0.0.0 at 2010-12-21 22:17:06) [GET] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.`id` = 1)  + Location Load (0.3ms) SELECT * FROM `locations` ORDER BY name +Rendering template within layouts/admin +Rendering admin/event_form +Rendered events/_event_form (23.1ms) + ProfilePhoto Load (0.2ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 1 AND (is_profile = 1)) LIMIT 1 +Rendered admin/_left_nav (1.6ms) +Completed in 173ms (View: 169, DB: 1) | 200 OK [http://test.host/admin/event_edit/1] + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + + +Processing AdminController#event_new (for 0.0.0.0 at 2010-12-21 22:17:06) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + Location Load (0.1ms) SELECT * FROM `locations` ORDER BY name +Rendering template within layouts/admin +Rendering admin/event_form +Rendered events/_event_form (17.1ms) + ProfilePhoto Load (0.2ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 1 AND (is_profile = 1)) LIMIT 1 +Rendered admin/_left_nav (1.5ms) +Completed in 49ms (View: 46, DB: 1) | 200 OK [http://test.host/admin/event_new] + SQL (0.1ms) ROLLBACK + SQL (0.0ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + + +Processing AdminController#group_edit (for 0.0.0.0 at 2010-12-21 22:17:06) [GET] + Parameters: {"id"=>"2"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + Group Load (0.3ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 2)  +Rendering template within layouts/admin +Rendering admin/group_form + ProfilePhoto Load (0.4ms) SELECT * FROM `photos` WHERE (`photos`.group_id = 2) LIMIT 1 +Rendered groups/_group_form (5.7ms) + ProfilePhoto Load (0.1ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 1 AND (is_profile = 1)) LIMIT 1 +Rendered admin/_left_nav (1.5ms) +Completed in 37ms (View: 33, DB: 1) | 200 OK [http://test.host/admin/group_edit/2] + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + + +Processing AdminController#group_new (for 0.0.0.0 at 2010-12-21 22:17:06) [GET] + Theme Load (0.5ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 +Rendering template within layouts/admin +Rendering admin/group_form +Rendered groups/_group_form (2.5ms) + ProfilePhoto Load (0.2ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 1 AND (is_profile = 1)) LIMIT 1 +Rendered admin/_left_nav (1.7ms) +Completed in 156ms (View: 153, DB: 1) | 200 OK [http://test.host/admin/group_new] + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + + +Processing AdminController#network_description (for 0.0.0.0 at 2010-12-21 22:17:06) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + Network Load (0.1ms) SELECT * FROM `networks` LIMIT 1 +Rendering template within layouts/admin +Rendering admin/network_description + ProfilePhoto Load (0.2ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 1 AND (is_profile = 1)) LIMIT 1 +Rendered admin/_left_nav (1.6ms) +Completed in 32ms (View: 29, DB: 1) | 200 OK [http://test.host/admin/network_description] + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + + +Processing AdminController#network_name (for 0.0.0.0 at 2010-12-21 22:17:06) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + Network Load (0.1ms) SELECT * FROM `networks` LIMIT 1 +Rendering template within layouts/admin +Rendering admin/network_name + ProfilePhoto Load (0.2ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 1 AND (is_profile = 1)) LIMIT 1 +Rendered admin/_left_nav (1.5ms) +Completed in 31ms (View: 28, DB: 1) | 200 OK [http://test.host/admin/network_name] + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + + +Processing AdminController#pending_users (for 0.0.0.0 at 2010-12-21 22:17:06) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + User Load (0.8ms) SELECT * FROM `users` WHERE (`users`.`activation_code` = 1 AND `users`.`enabled` = 0)  +Rendered admin/_pending_users (0.9ms) +Completed in 146ms (View: 142, DB: 1) | 200 OK [http://test.host/admin/pending_users] + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + + +Processing AdminController#privacy_edit (for 0.0.0.0 at 2010-12-21 22:17:06) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + HtmlContent Load (0.3ms) SELECT * FROM `html_contents` WHERE (`html_contents`.`title` = 'privacy') LIMIT 1 +Rendering template within layouts/admin +Rendering admin/privacy_edit + ProfilePhoto Load (0.2ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 1 AND (is_profile = 1)) LIMIT 1 +Rendered admin/_left_nav (1.5ms) +Completed in 33ms (View: 29, DB: 1) | 200 OK [http://test.host/admin/privacy_edit] + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + + +Processing AdminController#save_analytics (for 0.0.0.0 at 2010-12-21 22:17:06) [GET] + Parameters: {"id"=>"1", "analytics_text"=>"This is some analytics code."} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + HtmlContent Load (0.3ms) SELECT * FROM `html_contents` WHERE (`html_contents`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + HtmlContent Update (0.3ms) UPDATE `html_contents` SET `updated_at` = '2010-12-22 05:17:06', `body` = 'This is some analytics code.' WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/admin/settings +Completed in 9ms (DB: 1) | 302 Found [http://test.host/admin/save_analytics/1?analytics_text=This+is+some+analytics+code.] + SQL (44.6ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + + +Processing AdminController#save_privacy (for 0.0.0.0 at 2010-12-21 22:17:06) [GET] + Parameters: {"privacy_text"=>"This is a test privacy statement.", "id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + HtmlContent Load (0.3ms) SELECT * FROM `html_contents` WHERE (`html_contents`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + HtmlContent Update (0.2ms) UPDATE `html_contents` SET `updated_at` = '2010-12-22 05:17:06', `body` = 'This is a test privacy statement.' WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/admin/settings +Completed in 5ms (DB: 46) | 302 Found [http://test.host/admin/save_privacy/1?privacy_text=This+is+a+test+privacy+statement.] + SQL (33.8ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + + +Processing AdminController#user_activate (for 0.0.0.0 at 2010-12-21 22:17:06) [GET] + Parameters: {"id"=>"2"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + User Load (0.5ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  + SQL (0.1ms) SAVEPOINT active_record_1 + User Update (0.3ms) UPDATE `users` SET `updated_at` = '2010-12-22 05:17:06', `activated_at` = '2010-12-22 05:17:06', `activation_code` = NULL WHERE `id` = 2 + Network Load (0.1ms) SELECT * FROM `networks` LIMIT 1 +Sent mail to aaron@example.com + +Date: Tue, 21 Dec 2010 22:17:06 -0700 +To: aaron@example.com +Subject: [Test Network] Your account has been activated! +Mime-Version: 1.0 +Content-Type: text/plain; charset=utf-8 + + +aaron, your account has been activated. You may now log in to the site: + + + Role Load (0.3ms) SELECT * FROM `roles` WHERE (`roles`.`rolename` = 'administrator') LIMIT 1 + User Load (0.5ms) SELECT `users`.* FROM `users` INNER JOIN `permissions` ON permissions.user_id = users.id WHERE (role_id = 2)  + Role Load (0.2ms) SELECT * FROM `roles` WHERE (`roles`.`rolename` = 'creator') LIMIT 1 + User Load (0.4ms) SELECT `users`.* FROM `users` INNER JOIN `permissions` ON permissions.user_id = users.id WHERE (role_id = 1)  + Network Load (0.1ms) SELECT * FROM `networks` LIMIT 1 + User Load (0.4ms) SELECT `users`.* FROM `users` INNER JOIN `permissions` ON permissions.user_id = users.id WHERE (role_id = 2)  + User Load (0.5ms) SELECT `users`.* FROM `users` INNER JOIN `permissions` ON permissions.user_id = users.id WHERE (role_id = 1)  +Sent mail to quentin@example.com,bobby@example.com + +Date: Tue, 21 Dec 2010 22:17:06 -0700 +To: quentin@example.com, bobby@example.com +Subject: [Test Network] New User Activated +Mime-Version: 1.0 +Content-Type: text/plain; charset=utf-8 + + +A new user has been activated on RubyMI: + +aaron + + + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Activity Create (0.2ms) INSERT INTO `activities` (`created_at`, `public`, `updated_at`, `action`, `user_id`, `item_id`, `item_type`) VALUES('2010-12-22 05:17:06', 1, '2010-12-22 05:17:06', NULL, 2, 2, 'User') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/admin/users +Completed in 25ms (DB: 38) | 302 Found [http://test.host/admin/user_activate/2] + SQL (32.5ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.5ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (0.2ms) SELECT count(*) AS count_all FROM `users`  + + +Processing AdminController#user_delete (for 0.0.0.0 at 2010-12-21 22:17:06) [GET] + Parameters: {"id"=>"3"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.5ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  + SQL (0.1ms) SAVEPOINT active_record_1 + Permission Load (0.2ms) SELECT * FROM `permissions` WHERE (`permissions`.user_id = 3)  + Permission Destroy (0.2ms) DELETE FROM `permissions` WHERE `id` = 2 + Membership Load (0.2ms) SELECT * FROM `memberships` WHERE (`memberships`.user_id = 3)  + Attendance Load (0.2ms) SELECT * FROM `attendances` WHERE (`attendances`.attendee_id = 3)  + Attendance Destroy (0.1ms) DELETE FROM `attendances` WHERE `id` = 2 + Friendship Load (0.2ms) SELECT * FROM `friendships` WHERE (`friendships`.user_id = 3)  + Friendship Destroy (0.1ms) DELETE FROM `friendships` WHERE `id` = 4 + ProfilePhoto Load (0.2ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 3 AND (is_profile = 1)) LIMIT 1 + User Destroy (0.2ms) DELETE FROM `users` WHERE `id` = 3 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/admin/users +Completed in 12ms (DB: 36) | 302 Found [http://test.host/admin/user_delete/3] + SQL (0.2ms) SELECT count(*) AS count_all FROM `users`  + SQL (36.5ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.5ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + + +Processing AdminController#user_edit (for 0.0.0.0 at 2010-12-21 22:17:07) [GET] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.5ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  +Rendering template within layouts/admin +Rendering admin/user_form + Country Load (0.4ms) SELECT * FROM `countries`  + State Load (0.2ms) SELECT * FROM `states`  + ProfilePhoto Load (0.1ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 1 AND (is_profile = 1)) LIMIT 1 +Rendered users/_user_form (20.0ms) + ProfilePhoto Load (0.1ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 1 AND (is_profile = 1)) LIMIT 1 +Rendered admin/_left_nav (1.6ms) +Completed in 172ms (View: 168, DB: 39) | 200 OK [http://test.host/admin/user_edit/1] + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + + +Processing AdminController#user_new (for 0.0.0.0 at 2010-12-21 22:17:07) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 +Rendering template within layouts/admin +Rendering admin/user_form + Country Load (0.1ms) SELECT * FROM `countries`  + State Load (0.1ms) SELECT * FROM `states`  +Rendered users/_user_form (9.9ms) + ProfilePhoto Load (0.1ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 1 AND (is_profile = 1)) LIMIT 1 +Rendered admin/_left_nav (1.6ms) +Completed in 42ms (View: 38, DB: 1) | 200 OK [http://test.host/admin/user_new] + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + User Load (0.5ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  + Role Load (0.3ms) SELECT `roles`.* FROM `roles` INNER JOIN `permissions` ON `roles`.id = `permissions`.role_id WHERE ((`permissions`.user_id = 3))  + + +Processing AdminController#user_promote (for 0.0.0.0 at 2010-12-21 22:17:07) [GET] + Parameters: {"id"=>"3"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  + Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`rolename` = 'administrator') LIMIT 1 + SQL (0.1ms) SAVEPOINT active_record_1 + Permission Create (0.2ms) INSERT INTO `permissions` (`created_at`, `updated_at`, `role_id`, `group_id`, `user_id`) VALUES('2010-12-22 05:17:07', '2010-12-22 05:17:07', 2, NULL, 3) + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/admin/users +Completed in 6ms (DB: 2) | 302 Found [http://test.host/admin/user_promote/3] + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  + Role Load (0.3ms) SELECT `roles`.* FROM `roles` INNER JOIN `permissions` ON `roles`.id = `permissions`.role_id WHERE ((`permissions`.user_id = 3))  + SQL (41.3ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + + +Processing AdminController#blog_posts (for 0.0.0.0 at 2010-12-21 22:17:07) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + BlogPostTopic Load (0.1ms) SELECT * FROM `blog_post_topics`  + BlogPost Load (0.4ms) SELECT * FROM `blog_posts` ORDER BY created_at DESC +Rendering template within layouts/admin +Rendering admin/blog_posts + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + ProfilePhoto Load (0.1ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 1 AND (is_profile = 1)) LIMIT 1 +Rendered admin/_left_nav (1.5ms) +Completed in 41ms (View: 35, DB: 44) | 200 OK [http://test.host/admin/blog_posts] + SQL (0.1ms) ROLLBACK + SQL (0.0ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + + +Processing AdminController#events (for 0.0.0.0 at 2010-12-21 22:17:07) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + Event Load (0.3ms) SELECT * FROM `events`  +Rendering template within layouts/admin +Rendering admin/events + Location Load (0.4ms) SELECT * FROM `locations` WHERE (`locations`.`id` = 1)  + Location Load (0.2ms) SELECT * FROM `locations` WHERE (`locations`.`id` = 2)  + ProfilePhoto Load (0.1ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 1 AND (is_profile = 1)) LIMIT 1 +Rendered admin/_left_nav (1.6ms) +Completed in 162ms (View: 158, DB: 2) | 200 OK [http://test.host/admin/events] + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + + +Processing AdminController#groups (for 0.0.0.0 at 2010-12-21 22:17:07) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + Group Load (0.3ms) SELECT * FROM `groups`  +Rendering template within layouts/admin +Rendering admin/groups + ProfilePhoto Load (0.2ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 1 AND (is_profile = 1)) LIMIT 1 +Rendered admin/_left_nav (1.6ms) +Completed in 34ms (View: 31, DB: 1) | 200 OK [http://test.host/admin/groups] + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + + +Processing AdminController#index (for 0.0.0.0 at 2010-12-21 22:17:07) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 +Rendering template within layouts/admin +Rendering admin/index + ProfilePhoto Load (0.2ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 1 AND (is_profile = 1)) LIMIT 1 +Rendered admin/_left_nav (1.5ms) + Network Load (0.1ms) SELECT * FROM `networks` LIMIT 1 + Network Load (0.1ms) SELECT * FROM `networks` LIMIT 1 + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + SQL (0.3ms) SELECT count(*) AS count_all FROM `users`  + SQL (0.1ms) SELECT count(*) AS count_all FROM `groups`  + SQL (0.1ms) SELECT count(*) AS count_all FROM `events`  +Rendered admin/_quick_stats (4.2ms) +Rendered admin/_quick_tasks (0.5ms) +Rendered admin/_twitter_widget (0.6ms) +Completed in 36ms (View: 33, DB: 2) | 200 OK [http://test.host/admin] + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + + +Processing AdminController#settings (for 0.0.0.0 at 2010-12-21 22:17:07) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + Network Load (0.1ms) SELECT * FROM `networks` LIMIT 1 +Rendering template within layouts/admin +Rendering admin/settings + Theme Load (0.2ms) SELECT * FROM `themes` LIMIT 1 + ProfilePhoto Load (0.1ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 1 AND (is_profile = 1)) LIMIT 1 +Rendered admin/_left_nav (1.8ms) +Completed in 157ms (View: 154, DB: 1) | 200 OK [http://test.host/admin/settings] + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + + +Processing AdminController#users (for 0.0.0.0 at 2010-12-21 22:17:07) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + User Load (1.3ms) SELECT * FROM `users`  + User Load (0.5ms) SELECT `users`.* FROM `users` INNER JOIN `permissions` ON permissions.user_id = users.id WHERE (role_id = 2)  + User Load (0.4ms) SELECT `users`.* FROM `users` INNER JOIN `permissions` ON permissions.user_id = users.id WHERE (role_id = 1)  + User Load (0.6ms) SELECT * FROM `users` WHERE (enabled = 0)  +Rendering template within layouts/admin +Rendering admin/users + ProfilePhoto Load (0.1ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 1 AND (is_profile = 1)) LIMIT 1 +Rendered admin/_left_nav (1.5ms) +Completed in 101ms (View: 92, DB: 4) | 200 OK [http://test.host/admin/users] + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (0.2ms) SELECT count(*) AS count_all FROM `announcements`  + + +Processing AnnouncementsController#create (for 0.0.0.0 at 2010-12-21 22:17:07) [POST] + Parameters: {"announcement"=>{"title"=>"Test Announcement", "body"=>"Test Announcement Body"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + SQL (0.1ms) SAVEPOINT active_record_1 + Announcement Create (0.3ms) INSERT INTO `announcements` (`created_at`, `title`, `body`, `updated_at`, `group_id`, `user_id`) VALUES('2010-12-22 05:17:07', 'Test Announcement', 'Test Announcement Body', '2010-12-22 05:17:07', NULL, 1) + Activity Create (0.2ms) INSERT INTO `activities` (`created_at`, `public`, `updated_at`, `action`, `user_id`, `item_id`, `item_type`) VALUES('2010-12-22 05:17:07', 1, '2010-12-22 05:17:07', NULL, 1, 4, 'Announcement') + Network Load (0.1ms) SELECT * FROM `networks` LIMIT 1 + User Load (0.2ms) SELECT * FROM `users`  +Sent mail to quentin@example.com,aaron@example.com,sfisher@example.com,henry@example.com,mitch@example.com,bobby@example.com,user7@test.com,user8@test.com,user9@test.com,user10@test.com,user11@test.com,user12@test.com,user13@test.com,user14@test.com,user15@test.com,user16@test.com,user17@test.com,user18@test.com,user19@test.com,user20@test.com,user21@test.com,user22@test.com,user23@test.com,user24@test.com,user25@test.com,user26@test.com,user27@test.com,user28@test.com,user29@test.com,user30@test.com,user31@test.com,user32@test.com,user33@test.com,user34@test.com,user35@test.com,user36@test.com,user37@test.com,user38@test.com,user39@test.com,user40@test.com + +Date: Tue, 21 Dec 2010 22:17:07 -0700 +To: quentin@example.com, aaron@example.com, sfisher@example.com, henry@example.com, mitch@example.com, bobby@example.com, user7@test.com, user8@test.com, user9@test.com, user10@test.com, + user11@test.com, user12@test.com, user13@test.com, user14@test.com, user15@test.com, user16@test.com, user17@test.com, user18@test.com, user19@test.com, user20@test.com, user21@test.com, + user22@test.com, user23@test.com, user24@test.com, user25@test.com, user26@test.com, user27@test.com, user28@test.com, user29@test.com, user30@test.com, user31@test.com, user32@test.com, + user33@test.com, user34@test.com, user35@test.com, user36@test.com, user37@test.com, user38@test.com, user39@test.com, user40@test.com +Subject: [Test Network] Test Announcement +Mime-Version: 1.0 +Content-Type: text/html; charset=utf-8 + + +A new announcement has been posted to the Michigan Ruby Community website. +

    +Test Announcement +

    +Read it online at: RubyMI.org + + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/ +Completed in 25ms (DB: 2) | 302 Found [http://test.host/announcements?announcement%5Bbody%5D=Test+Announcement+Body&announcement%5Btitle%5D=Test+Announcement] + SQL (0.2ms) SELECT count(*) AS count_all FROM `announcements`  + SQL (39.5ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (0.2ms) SELECT count(*) AS count_all FROM `announcements`  + Announcement Load (0.2ms) SELECT * FROM `announcements` WHERE (`announcements`.`id` = 1)  + + +Processing AnnouncementsController#destroy (for 0.0.0.0 at 2010-12-21 22:17:07) [DELETE] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + Announcement Load (0.1ms) SELECT * FROM `announcements` WHERE (`announcements`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + Announcement Destroy (0.2ms) DELETE FROM `announcements` WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/ +Completed in 4ms (DB: 41) | 302 Found [http://test.host/announcements/1] + SQL (0.2ms) SELECT count(*) AS count_all FROM `announcements`  + SQL (35.5ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Announcement Load (0.3ms) SELECT * FROM `announcements` WHERE (`announcements`.`id` = 1)  + + +Processing AnnouncementsController#edit (for 0.0.0.0 at 2010-12-21 22:17:08) [GET] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + Announcement Load (0.1ms) SELECT * FROM `announcements` WHERE (`announcements`.`id` = 1)  +Rendering template within layouts/application +Rendering announcements/edit +Rendered announcements/_announcement_form (3.6ms) +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing AnnouncementsController#index (for 0.0.0.0 at 2010-12-21 22:17:08) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + Announcement Load (0.3ms) SELECT * FROM `announcements` ORDER BY created_at DESC LIMIT 0, 30 + SQL (0.2ms) SELECT count(*) AS count_all FROM `announcements`  +Rendering template within layouts/application +Rendering announcements/announcements_list +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + + +Processing AnnouncementsController#new (for 0.0.0.0 at 2010-12-21 22:17:08) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 +Rendering template within layouts/application +Rendering announcements/new +Rendered announcements/_announcement_form (1.8ms) +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Announcement Load (0.1ms) SELECT * FROM `announcements` WHERE (`announcements`.`id` = 1)  + + +Processing AnnouncementsController#update (for 0.0.0.0 at 2010-12-21 22:17:08) [PUT] + Parameters: {"id"=>"1", "announcement"=>{"title"=>"Test Announcement", "body"=>"Test Announcement Body"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + Announcement Load (0.1ms) SELECT * FROM `announcements` WHERE (`announcements`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + Announcement Update (0.3ms) UPDATE `announcements` SET `updated_at` = '2010-12-22 05:17:08', `title` = 'Test Announcement', `body` = 'Test Announcement Body' WHERE `id` = 1 + Network Load (0.1ms) SELECT * FROM `networks` LIMIT 1 + User Load (0.2ms) SELECT * FROM `users`  +Sent mail to quentin@example.com,aaron@example.com,sfisher@example.com,henry@example.com,mitch@example.com,bobby@example.com,user7@test.com,user8@test.com,user9@test.com,user10@test.com,user11@test.com,user12@test.com,user13@test.com,user14@test.com,user15@test.com,user16@test.com,user17@test.com,user18@test.com,user19@test.com,user20@test.com,user21@test.com,user22@test.com,user23@test.com,user24@test.com,user25@test.com,user26@test.com,user27@test.com,user28@test.com,user29@test.com,user30@test.com,user31@test.com,user32@test.com,user33@test.com,user34@test.com,user35@test.com,user36@test.com,user37@test.com,user38@test.com,user39@test.com,user40@test.com + +Date: Tue, 21 Dec 2010 22:17:08 -0700 +To: quentin@example.com, aaron@example.com, sfisher@example.com, henry@example.com, mitch@example.com, bobby@example.com, user7@test.com, user8@test.com, user9@test.com, user10@test.com, + user11@test.com, user12@test.com, user13@test.com, user14@test.com, user15@test.com, user16@test.com, user17@test.com, user18@test.com, user19@test.com, user20@test.com, user21@test.com, + user22@test.com, user23@test.com, user24@test.com, user25@test.com, user26@test.com, user27@test.com, user28@test.com, user29@test.com, user30@test.com, user31@test.com, user32@test.com, + user33@test.com, user34@test.com, user35@test.com, user36@test.com, user37@test.com, user38@test.com, user39@test.com, user40@test.com +Subject: [Test Network] Test Announcement +Mime-Version: 1.0 +Content-Type: text/html; charset=utf-8 + + +A new announcement has been posted to the Michigan Ruby Community website. +

    +Test Announcement +

    +Read it online at: RubyMI.org + + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/ +Completed in 18ms (DB: 2) | 302 Found [http://test.host/announcements/1?announcement%5Bbody%5D=Test+Announcement+Body&announcement%5Btitle%5D=Test+Announcement] + SQL (46.0ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  + + +Processing ApiKeysController#create (for 0.0.0.0 at 2010-12-21 22:17:08) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.6ms) SELECT * FROM `users` WHERE (`users`.`id` = 3) LIMIT 1 + SQL (0.1ms) SAVEPOINT active_record_1 + User Update (0.4ms) UPDATE `users` SET `updated_at` = '2010-12-22 05:17:08', `api_key` = 'eca6f23d524a857daca8062fa8a12a85711de7e6' WHERE `id` = 3 + User Load (0.5ms) SELECT `users`.* FROM `users` INNER JOIN `permissions` ON permissions.user_id = users.id WHERE (role_id = 2)  + User Load (0.4ms) SELECT `users`.* FROM `users` INNER JOIN `permissions` ON permissions.user_id = users.id WHERE (role_id = 1)  + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/users/3/edit +Completed in 16ms (DB: 48) | 302 Found [http://test.host/api_key] + User Load (0.5ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  + SQL (39.9ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.5ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + + +Processing ApiKeysController#destroy (for 0.0.0.0 at 2010-12-21 22:17:08) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.5ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + SQL (0.1ms) SAVEPOINT active_record_1 + User Update (0.3ms) UPDATE `users` SET `updated_at` = '2010-12-22 05:17:08', `api_key` = '' WHERE `id` = 1 + User Load (0.5ms) SELECT `users`.* FROM `users` INNER JOIN `permissions` ON permissions.user_id = users.id WHERE (role_id = 2)  + User Load (0.4ms) SELECT `users`.* FROM `users` INNER JOIN `permissions` ON permissions.user_id = users.id WHERE (role_id = 1)  + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/users/1/edit +Completed in 9ms (DB: 43) | 302 Found [http://test.host/api_key] + User Load (0.4ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (30.4ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing AttendancesController#create (for 0.0.0.0 at 2010-12-21 22:17:08) [POST] + Parameters: {"event_id"=>"1", "user_id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.6ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + Attendance Create (0.2ms) INSERT INTO `attendances` (`created_at`, `attendee_id`, `event_id`, `updated_at`, `status`) VALUES('2010-12-22 05:17:08', 1, 1, '2010-12-22 05:17:08', NULL) + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Activity Create (0.2ms) INSERT INTO `activities` (`created_at`, `public`, `updated_at`, `action`, `user_id`, `item_id`, `item_type`) VALUES('2010-12-22 05:17:08', 1, '2010-12-22 05:17:08', NULL, 1, 6, 'Attendance') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/events/1 +Completed in 15ms (DB: 32) | 302 Found [http://test.host/attendances/create?event_id=1&user_id=1] + SQL (32.3ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.2ms) SELECT count(*) AS count_all FROM `attendances`  + + +Processing AttendancesController#destroy (for 0.0.0.0 at 2010-12-21 22:17:08) [DELETE] + Parameters: {"event_id"=>"1", "user_id"=>"3"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.5ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  + Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.`id` = 1)  + Attendance Load (0.2ms) SELECT * FROM `attendances` WHERE (`attendances`.`event_id` = 1 AND `attendances`.`attendee_id` = 3) LIMIT 1 + SQL (0.1ms) SAVEPOINT active_record_1 + Attendance Destroy (0.2ms) DELETE FROM `attendances` WHERE `id` = 2 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/events/1 +Completed in 5ms (DB: 34) | 302 Found [http://test.host/attendances/destroy?event_id=1&user_id=3] + SQL (0.2ms) SELECT count(*) AS count_all FROM `attendances`  + SQL (26.5ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing AttendancesController#index (for 0.0.0.0 at 2010-12-21 22:17:08) [GET] + Parameters: {"event_id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.`id` = 1)  +Rendering template within layouts/application +Rendering attendances/index + SQL (0.4ms) SELECT count(*) AS count_all FROM `users` INNER JOIN `attendances` ON `users`.id = `attendances`.attendee_id WHERE ((`attendances`.event_id = 1))  + User Load (1.4ms) SELECT `users`.* FROM `users` INNER JOIN `attendances` ON `users`.id = `attendances`.attendee_id WHERE ((`attendances`.event_id = 1)) ORDER BY RAND() + ProfilePhoto Load (0.1ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 1 AND (is_profile = 1)) LIMIT 1 +Rendered users/_user_brief (4.6ms) + ProfilePhoto Load (0.1ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 3 AND (is_profile = 1)) LIMIT 1 +Rendered users/_user_brief (1.4ms) +Rendered layouts/_widgets (0.1ms) + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.2ms) SELECT count(*) AS count_all FROM `blog_post_topics`  + + +Processing BlogPostTopicsController#create (for 0.0.0.0 at 2010-12-21 22:17:08) [POST] + Parameters: {"blog_post_topic"=>{}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + SQL (0.1ms) SAVEPOINT active_record_1 + BlogPostTopic Create (0.2ms) INSERT INTO `blog_post_topics` (`name`, `created_at`, `default`, `updated_at`, `user_id`, `parent_id`) VALUES(NULL, '2010-12-22 05:17:08', NULL, '2010-12-22 05:17:08', NULL, NULL) + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/blog_post_topics/3 +Completed in 10ms (DB: 3) | 302 Found [http://test.host/blog_post_topics?] + SQL (0.2ms) SELECT count(*) AS count_all FROM `blog_post_topics`  + SQL (35.1ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.2ms) SELECT count(*) AS count_all FROM `blog_post_topics`  + BlogPostTopic Load (0.2ms) SELECT * FROM `blog_post_topics` WHERE (`blog_post_topics`.`id` = 1)  + + +Processing BlogPostTopicsController#destroy (for 0.0.0.0 at 2010-12-21 22:17:08) [DELETE] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + BlogPostTopic Load (0.1ms) SELECT * FROM `blog_post_topics` WHERE (`blog_post_topics`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + blog_post_topics_blog_posts Columns (0.6ms) SHOW FIELDS FROM `blog_post_topics_blog_posts` + BlogPost Load (0.3ms) SELECT * FROM `blog_posts` INNER JOIN `blog_post_topics_blog_posts` ON `blog_posts`.id = `blog_post_topics_blog_posts`.blog_post_id WHERE (`blog_post_topics_blog_posts`.blog_post_topic_id = 1 )  + BlogPostTopic Destroy (0.2ms) DELETE FROM `blog_post_topics` WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/blog_post_topics +Completed in 5ms (DB: 37) | 302 Found [http://test.host/blog_post_topics/1] + SQL (0.2ms) SELECT count(*) AS count_all FROM `blog_post_topics`  + SQL (35.1ms) ROLLBACK + SQL (0.1ms) BEGIN + BlogPostTopic Load (0.3ms) SELECT * FROM `blog_post_topics` WHERE (`blog_post_topics`.`id` = 1)  + + +Processing BlogPostTopicsController#edit (for 0.0.0.0 at 2010-12-21 22:17:08) [GET] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + BlogPostTopic Load (0.1ms) SELECT * FROM `blog_post_topics` WHERE (`blog_post_topics`.`id` = 1)  +Rendering template within layouts/application +Rendering blog_post_topics/edit +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing BlogPostTopicsController#index (for 0.0.0.0 at 2010-12-21 22:17:09) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + BlogPostTopic Load (0.3ms) SELECT * FROM `blog_post_topics`  +Rendering template within layouts/application +Rendering blog_post_topics/index +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing BlogPostTopicsController#new (for 0.0.0.0 at 2010-12-21 22:17:09) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Rendering template within layouts/application +Rendering blog_post_topics/new +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + BlogPostTopic Load (0.1ms) SELECT * FROM `blog_post_topics` WHERE (`blog_post_topics`.`id` = 1)  + + +Processing BlogPostTopicsController#show (for 0.0.0.0 at 2010-12-21 22:17:09) [GET] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + BlogPostTopic Load (0.1ms) SELECT * FROM `blog_post_topics` WHERE (`blog_post_topics`.`id` = 1)  +Rendering template within layouts/application +Rendering blog_post_topics/show +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + BlogPostTopic Load (0.1ms) SELECT * FROM `blog_post_topics` WHERE (`blog_post_topics`.`id` = 1)  + + +Processing BlogPostTopicsController#update (for 0.0.0.0 at 2010-12-21 22:17:09) [PUT] + Parameters: {"blog_post_topic"=>{}, "id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + BlogPostTopic Load (0.1ms) SELECT * FROM `blog_post_topics` WHERE (`blog_post_topics`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/blog_post_topics/1 +Completed in 4ms (DB: 1) | 302 Found [http://test.host/blog_post_topics/1?] + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (0.2ms) SELECT count(*) AS count_all FROM `blog_posts`  + + +Processing BlogPostsController#create (for 0.0.0.0 at 2010-12-21 22:17:09) [POST] + Parameters: {"blog_post"=>{"title"=>"Test Post", "body"=>"my test post", "featured"=>false, "published"=>true, "user_id"=>1}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.5ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + SQL (0.1ms) SAVEPOINT active_record_1 + BlogPost Create (0.3ms) INSERT INTO `blog_posts` (`created_at`, `title`, `body`, `guid`, `published`, `featured`, `updated_at`, `url`, `views`, `user_id`, `parent_id`, `summary`, `published_at`) VALUES('2010-12-22 05:17:09', 'Test Post', 'my test post', NULL, 1, 0, '2010-12-22 05:17:09', NULL, 0, 1, NULL, NULL, NULL) + Activity Create (0.2ms) INSERT INTO `activities` (`created_at`, `public`, `updated_at`, `action`, `user_id`, `item_id`, `item_type`) VALUES('2010-12-22 05:17:09', 1, '2010-12-22 05:17:09', NULL, 1, 8, 'BlogPost') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + BlogPostTopic Load (0.3ms) SELECT * FROM `blog_post_topics` INNER JOIN `blog_post_topics_blog_posts` ON `blog_post_topics`.id = `blog_post_topics_blog_posts`.blog_post_topic_id WHERE (`blog_post_topics_blog_posts`.blog_post_id = 8 )  + SQL (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/blog_posts/8 +Completed in 18ms (DB: 2) | 302 Found [http://test.host/blog_posts?blog_post%5Bbody%5D=my+test+post&blog_post%5Bfeatured%5D=false&blog_post%5Bpublished%5D=true&blog_post%5Btitle%5D=Test+Post&blog_post%5Buser_id%5D=1] + SQL (0.2ms) SELECT count(*) AS count_all FROM `blog_posts`  + SQL (36.3ms) ROLLBACK + SQL (0.0ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (0.2ms) SELECT count(*) AS count_all FROM `blog_posts`  + BlogPost Load (0.2ms) SELECT * FROM `blog_posts` WHERE (`blog_posts`.`id` = 1)  + + +Processing BlogPostsController#destroy (for 0.0.0.0 at 2010-12-21 22:17:09) [DELETE] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + BlogPost Load (0.1ms) SELECT * FROM `blog_posts` WHERE (`blog_posts`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + Comment Load (0.4ms) SELECT * FROM `comments` WHERE (`comments`.commentable_id = 1 AND `comments`.commentable_type = 'BlogPost') ORDER BY created_at ASC + Tagging Load (0.3ms) SELECT * FROM `taggings` WHERE (`taggings`.taggable_id = 1 AND `taggings`.taggable_type = 'BlogPost' AND (context = 'tags'))  + Tagging Load (0.2ms) SELECT * FROM `taggings` WHERE (`taggings`.taggable_id = 1 AND `taggings`.taggable_type = 'BlogPost')  + BlogPostTopic Load (0.2ms) SELECT * FROM `blog_post_topics` INNER JOIN `blog_post_topics_blog_posts` ON `blog_post_topics`.id = `blog_post_topics_blog_posts`.blog_post_topic_id WHERE (`blog_post_topics_blog_posts`.blog_post_id = 1 )  + BlogPost Destroy (0.2ms) DELETE FROM `blog_posts` WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/blog_posts +Completed in 10ms (DB: 39) | 302 Found [http://test.host/blog_posts/1] + SQL (0.2ms) SELECT count(*) AS count_all FROM `blog_posts`  + SQL (38.4ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + BlogPost Load (0.5ms) SELECT * FROM `blog_posts` WHERE (`blog_posts`.`id` = 1)  + + +Processing BlogPostsController#edit (for 0.0.0.0 at 2010-12-21 22:17:09) [GET] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + BlogPost Load (0.1ms) SELECT * FROM `blog_posts` WHERE (`blog_posts`.`id` = 1)  + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + BlogPost Load (0.1ms) SELECT * FROM `blog_posts` WHERE (`blog_posts`.`id` = 1)  +Rendering template within layouts/application + BlogPostTopic Load (0.4ms) SELECT * FROM `blog_post_topics` WHERE (`blog_post_topics`.user_id = 1)  + BlogPostTopic Load (0.1ms) SELECT * FROM `blog_post_topics` INNER JOIN `blog_post_topics_blog_posts` ON `blog_post_topics`.id = `blog_post_topics_blog_posts`.blog_post_topic_id WHERE (`blog_post_topics_blog_posts`.blog_post_id = 1 )  +Rendered blog_posts/_blog_post_topic_list (2.5ms) + Tag Load (0.3ms) SELECT `tags`.* FROM `tags` INNER JOIN `taggings` ON `tags`.id = `taggings`.tag_id WHERE ((`taggings`.taggable_id = 1) AND (`taggings`.taggable_type = 'BlogPost') AND (context = 'tags'))  +Rendered blog_posts/_blog_post_form (9.1ms) +Rendered blog_posts/_blog_posts_edit (11.3ms) +Rendered layouts/_widgets (0.1ms) + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + + +Processing BlogPostsController#index (for 0.0.0.0 at 2010-12-21 22:17:09) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + BlogPost Load (0.4ms) SELECT * FROM `blog_posts` ORDER BY created_at DESC LIMIT 0, 6 + SQL (0.2ms) SELECT count(*) AS count_all FROM `blog_posts` WHERE (published = true)  +Rendering template within layouts/application +Rendering blog_posts/blog_posts_list + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + ProfilePhoto Load (0.1ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 1 AND (is_profile = 1)) LIMIT 1 + Role Load (0.4ms) SELECT `roles`.* FROM `roles` INNER JOIN `permissions` ON `roles`.id = `permissions`.role_id WHERE ((`permissions`.user_id = 1))  +Rendered blog_posts/_blog_post_brief (8.7ms) + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + ProfilePhoto Load (0.1ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 1 AND (is_profile = 1)) LIMIT 1 +Rendered blog_posts/_blog_post_brief (5.7ms) + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + ProfilePhoto Load (0.1ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 1 AND (is_profile = 1)) LIMIT 1 +Rendered blog_posts/_blog_post_brief (5.4ms) +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + + +Processing BlogPostsController#new (for 0.0.0.0 at 2010-12-21 22:17:09) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 +Rendering template within layouts/application + BlogPostTopic Load (0.2ms) SELECT * FROM `blog_post_topics` WHERE (`blog_post_topics`.user_id = 1)  +Rendered blog_posts/_blog_post_topic_list (1.9ms) + Tag Load (0.3ms) SELECT `tags`.* FROM `tags` INNER JOIN `taggings` ON `tags`.id = `taggings`.tag_id WHERE ((`taggings`.taggable_id = NULL) AND (`taggings`.taggable_type = 'BlogPost') AND (context = 'tags'))  +Rendered blog_posts/_blog_post_form (6.6ms) +Rendered blog_posts/_blog_posts_edit (7.9ms) +Rendered layouts/_widgets (0.1ms) + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + BlogPost Load (0.1ms) SELECT * FROM `blog_posts` WHERE (`blog_posts`.`id` = 1)  + + +Processing BlogPostsController#show (for 0.0.0.0 at 2010-12-21 22:17:09) [GET] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + BlogPost Load (0.1ms) SELECT * FROM `blog_posts` WHERE (`blog_posts`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + BlogPost Update (0.3ms) UPDATE `blog_posts` SET `views` = 1, `updated_at` = '2010-12-22 05:17:09' WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Rendering template within layouts/application +Rendering blog_posts/blog_posts_show + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + ProfilePhoto Load (0.1ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 1 AND (is_profile = 1)) LIMIT 1 + Tag Load (0.1ms) SELECT `tags`.* FROM `tags` INNER JOIN `taggings` ON `tags`.id = `taggings`.tag_id WHERE ((`taggings`.taggable_id = 1) AND (`taggings`.taggable_type = 'BlogPost') AND (context = 'tags'))  + Comment Load (0.1ms) SELECT * FROM `comments` WHERE (`comments`.commentable_id = 1 AND `comments`.commentable_type = 'BlogPost') ORDER BY created_at ASC +Rendered blog_posts/_blog_post_comments (1.4ms) +Rendered blog_posts/_blog_post_comment_form (1.1ms) +Rendered layouts/_widgets (0.1ms) + SQL (39.5ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + BlogPost Load (0.3ms) SELECT * FROM `blog_posts` WHERE (`blog_posts`.`id` = 1)  + + +Processing BlogPostsController#update (for 0.0.0.0 at 2010-12-21 22:17:10) [PUT] + Parameters: {"id"=>"1", "blog_post"=>{}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + BlogPost Load (0.1ms) SELECT * FROM `blog_posts` WHERE (`blog_posts`.`id` = 1)  + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + BlogPost Load (0.1ms) SELECT * FROM `blog_posts` WHERE (`blog_posts`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + BlogPostTopic Load (0.1ms) SELECT * FROM `blog_post_topics` INNER JOIN `blog_post_topics_blog_posts` ON `blog_post_topics`.id = `blog_post_topics_blog_posts`.blog_post_topic_id WHERE (`blog_post_topics_blog_posts`.blog_post_id = 1 )  + SQL (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/blog_posts/1 +Completed in 9ms (DB: 42) | 302 Found [http://test.host/blog_posts/1?] + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (0.2ms) SELECT count(*) AS count_all FROM `book_reviews`  + + +Processing BookReviewsController#create (for 0.0.0.0 at 2010-12-21 22:17:10) [POST] + Parameters: {"book_review"=>{"name"=>"Test Review", "featured"=>false, "user_id"=>1, "publisher"=>"Marvel", "website"=>"website.com"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + SQL (0.1ms) SAVEPOINT active_record_1 + BookReview Create (0.3ms) INSERT INTO `book_reviews` (`name`, `buy_link`, `created_at`, `image_url`, `featured`, `updated_at`, `review`, `publisher`, `user_id`, `website`, `release_date`) VALUES('Test Review', NULL, '2010-12-22 05:17:10', NULL, 0, '2010-12-22 05:17:10', NULL, 'Marvel', 1, 'website.com', NULL) + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Activity Create (0.2ms) INSERT INTO `activities` (`created_at`, `public`, `updated_at`, `action`, `user_id`, `item_id`, `item_type`) VALUES('2010-12-22 05:17:10', 1, '2010-12-22 05:17:10', NULL, 1, 4, 'BookReview') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/book_reviews/4 +Completed in 17ms (DB: 2) | 302 Found [http://test.host/book_reviews?book_review%5Bfeatured%5D=false&book_review%5Bname%5D=Test+Review&book_review%5Bpublisher%5D=Marvel&book_review%5Buser_id%5D=1&book_review%5Bwebsite%5D=website.com] + SQL (0.2ms) SELECT count(*) AS count_all FROM `book_reviews`  + SQL (35.7ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (0.2ms) SELECT count(*) AS count_all FROM `book_reviews`  + BookReview Load (0.2ms) SELECT * FROM `book_reviews` WHERE (`book_reviews`.`id` = 1)  + + +Processing BookReviewsController#destroy (for 0.0.0.0 at 2010-12-21 22:17:10) [DELETE] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + BookReview Load (0.1ms) SELECT * FROM `book_reviews` WHERE (`book_reviews`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + Tagging Load (0.4ms) SELECT * FROM `taggings` WHERE (`taggings`.taggable_id = 1 AND `taggings`.taggable_type = 'BookReview' AND (context = 'tags'))  + Tagging Load (0.2ms) SELECT * FROM `taggings` WHERE (`taggings`.taggable_id = 1 AND `taggings`.taggable_type = 'BookReview')  + BookReview Destroy (0.2ms) DELETE FROM `book_reviews` WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/book_reviews +Completed in 6ms (DB: 38) | 302 Found [http://test.host/book_reviews/1] + SQL (0.2ms) SELECT count(*) AS count_all FROM `book_reviews`  + SQL (33.1ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + BookReview Load (0.3ms) SELECT * FROM `book_reviews` WHERE (`book_reviews`.`id` = 1)  + + +Processing BookReviewsController#edit (for 0.0.0.0 at 2010-12-21 22:17:10) [GET] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + BookReview Load (0.1ms) SELECT * FROM `book_reviews` WHERE (`book_reviews`.`id` = 1)  +Rendering template within layouts/application +Rendering book_reviews/edit +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing BookReviewsController#index (for 0.0.0.0 at 2010-12-21 22:17:10) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + BookReview Load (0.3ms) SELECT * FROM `book_reviews`  +Rendering template within layouts/application +Rendering book_reviews/index +Rendered book_reviews/_book_review_brief (0.5ms) +Rendered book_reviews/_book_review_brief (0.1ms) +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + + +Processing BookReviewsController#new (for 0.0.0.0 at 2010-12-21 22:17:10) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 +Rendering template within layouts/application +Rendering book_reviews/new +Rendered book_reviews/_book_review_form (5.1ms) +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + BookReview Load (0.1ms) SELECT * FROM `book_reviews` WHERE (`book_reviews`.`id` = 1)  + + +Processing BookReviewsController#show (for 0.0.0.0 at 2010-12-21 22:17:10) [GET] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + BookReview Load (0.1ms) SELECT * FROM `book_reviews` WHERE (`book_reviews`.`id` = 1)  +Rendering template within layouts/application +Rendering book_reviews/show +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + BookReview Load (0.1ms) SELECT * FROM `book_reviews` WHERE (`book_reviews`.`id` = 1)  + + +Processing BookReviewsController#update (for 0.0.0.0 at 2010-12-21 22:17:10) [PUT] + Parameters: {"book_review"=>{}, "id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + BookReview Load (0.1ms) SELECT * FROM `book_reviews` WHERE (`book_reviews`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/book_reviews/1 +Completed in 5ms (DB: 1) | 302 Found [http://test.host/book_reviews/1?] + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.2ms) SELECT count(*) AS count_all FROM `bug_reports`  + + +Processing BugReportsController#create (for 0.0.0.0 at 2010-12-21 22:17:10) [POST] + Parameters: {"bug_report"=>{"comment"=>"test comment", "title"=>"Test Bug", "module"=>"test module", "resolved"=>false, "priority"=>"high", "user_id"=>1, "description"=>"This is a bug", "browser"=>"IE"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + SQL (0.2ms) SAVEPOINT active_record_1 + BugReport Create (0.3ms) INSERT INTO `bug_reports` (`comment`, `created_at`, `title`, `module`, `resolution_date`, `updated_at`, `resolved`, `priority`, `user_id`, `browser`, `description`) VALUES('test comment', '2010-12-22 05:17:10', 'Test Bug', 'test module', NULL, '2010-12-22 05:17:10', 0, 'high', 1, 'IE', 'This is a bug') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/bug_reports +Completed in 12ms (DB: 1) | 302 Found [http://test.host/bug_reports?bug_report%5Bbrowser%5D=IE&bug_report%5Bcomment%5D=test+comment&bug_report%5Bdescription%5D=This+is+a+bug&bug_report%5Bmodule%5D=test+module&bug_report%5Bpriority%5D=high&bug_report%5Bresolved%5D=false&bug_report%5Btitle%5D=Test+Bug&bug_report%5Buser_id%5D=1] + SQL (0.2ms) SELECT count(*) AS count_all FROM `bug_reports`  + SQL (36.3ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.2ms) SELECT count(*) AS count_all FROM `bug_reports`  + BugReport Load (0.2ms) SELECT * FROM `bug_reports` WHERE (`bug_reports`.`id` = 1)  + + +Processing BugReportsController#destroy (for 0.0.0.0 at 2010-12-21 22:17:10) [DELETE] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + BugReport Load (0.1ms) SELECT * FROM `bug_reports` WHERE (`bug_reports`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + BugReport Destroy (0.2ms) DELETE FROM `bug_reports` WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/bug_reports +Completed in 4ms (DB: 38) | 302 Found [http://test.host/bug_reports/1] + SQL (0.2ms) SELECT count(*) AS count_all FROM `bug_reports`  + SQL (36.5ms) ROLLBACK + SQL (0.1ms) BEGIN + BugReport Load (0.4ms) SELECT * FROM `bug_reports` WHERE (`bug_reports`.`id` = 1)  + + +Processing BugReportsController#edit (for 0.0.0.0 at 2010-12-21 22:17:10) [GET] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + BugReport Load (0.1ms) SELECT * FROM `bug_reports` WHERE (`bug_reports`.`id` = 1)  +Rendering template within layouts/application +Rendering bug_reports/edit +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing BugReportsController#index (for 0.0.0.0 at 2010-12-21 22:17:10) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + BugReport Load (0.3ms) SELECT * FROM `bug_reports`  +Rendering template within layouts/application +Rendering bug_reports/index +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing BugReportsController#new (for 0.0.0.0 at 2010-12-21 22:17:10) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Rendering template within layouts/application +Rendering bug_reports/new +Rendered bug_reports/_bug_report_form (3.7ms) +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + BugReport Load (0.1ms) SELECT * FROM `bug_reports` WHERE (`bug_reports`.`id` = 1)  + + +Processing BugReportsController#show (for 0.0.0.0 at 2010-12-21 22:17:10) [GET] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + BugReport Load (0.1ms) SELECT * FROM `bug_reports` WHERE (`bug_reports`.`id` = 1)  +Rendering template within layouts/application +Rendering bug_reports/show +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + BugReport Load (0.1ms) SELECT * FROM `bug_reports` WHERE (`bug_reports`.`id` = 1)  + + +Processing BugReportsController#update (for 0.0.0.0 at 2010-12-21 22:17:11) [PUT] + Parameters: {"bug_report"=>{"comment"=>"comment", "title"=>"Test Bug Report", "resolved"=>false, "user_id"=>nil, "description"=>"I am reporting a bug", "browser"=>"FIREFOX"}, "id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + BugReport Load (0.1ms) SELECT * FROM `bug_reports` WHERE (`bug_reports`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + BugReport Update (0.3ms) UPDATE `bug_reports` SET `updated_at` = '2010-12-22 05:17:11', `resolved` = 0, `comment` = 'comment', `title` = 'Test Bug Report', `browser` = 'FIREFOX', `description` = 'I am reporting a bug' WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/bug_reports/1 +Completed in 6ms (DB: 1) | 302 Found [http://test.host/bug_reports/1?bug_report%5Bbrowser%5D=FIREFOX&bug_report%5Bcomment%5D=comment&bug_report%5Bdescription%5D=I+am+reporting+a+bug&bug_report%5Bresolved%5D=false&bug_report%5Btitle%5D=Test+Bug+Report&bug_report%5Buser_id%5D=] + SQL (39.4ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (0.2ms) SELECT count(*) AS count_all FROM `classifieds`  + + +Processing ClassifiedsController#create (for 0.0.0.0 at 2010-12-21 22:17:11) [POST] + Parameters: {"classified"=>{"title"=>"Test Classified", "user_id"=>1}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + SQL (0.1ms) SAVEPOINT active_record_1 + Classified Create (0.2ms) INSERT INTO `classifieds` (`created_at`, `title`, `updated_at`, `user_id`, `classified_category_id`, `description`) VALUES('2010-12-22 05:17:11', 'Test Classified', '2010-12-22 05:17:11', 1, NULL, NULL) + Activity Create (0.1ms) INSERT INTO `activities` (`created_at`, `public`, `updated_at`, `action`, `user_id`, `item_id`, `item_type`) VALUES('2010-12-22 05:17:11', 1, '2010-12-22 05:17:11', NULL, 1, 3, 'Classified') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/classifieds +Completed in 14ms (DB: 41) | 302 Found [http://test.host/classifieds?classified%5Btitle%5D=Test+Classified&classified%5Buser_id%5D=1] + SQL (0.2ms) SELECT count(*) AS count_all FROM `classifieds`  + SQL (33.7ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (0.2ms) SELECT count(*) AS count_all FROM `classifieds`  + Classified Load (0.2ms) SELECT * FROM `classifieds` WHERE (`classifieds`.`id` = 1)  + + +Processing ClassifiedsController#destroy (for 0.0.0.0 at 2010-12-21 22:17:11) [DELETE] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + Classified Load (0.1ms) SELECT * FROM `classifieds` WHERE (`classifieds`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + Classified Destroy (0.2ms) DELETE FROM `classifieds` WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/classifieds +Completed in 3ms (DB: 35) | 302 Found [http://test.host/classifieds/1] + SQL (0.2ms) SELECT count(*) AS count_all FROM `classifieds`  + SQL (36.7ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Classified Load (0.4ms) SELECT * FROM `classifieds` WHERE (`classifieds`.`id` = 1)  + + +Processing ClassifiedsController#edit (for 0.0.0.0 at 2010-12-21 22:17:11) [GET] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + Classified Load (0.1ms) SELECT * FROM `classifieds` WHERE (`classifieds`.`id` = 1)  +Rendering template within layouts/application +Rendering classifieds/edit +Rendered classifieds/_classified_form (3.2ms) +Rendered layouts/_widgets (0.1ms) + SQL (0.3ms) ROLLBACK + SQL (0.0ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + + +Processing ClassifiedsController#index (for 0.0.0.0 at 2010-12-21 22:17:11) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + Classified Load (0.3ms) SELECT * FROM `classifieds` ORDER BY created_at DESC +Rendering template within layouts/application +Rendering classifieds/classifieds_list + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 +Rendered classifieds/_classified_brief (1.0ms) + Role Load (0.1ms) SELECT `roles`.* FROM `roles` INNER JOIN `permissions` ON `roles`.id = `permissions`.role_id WHERE ((`permissions`.user_id = 1))  +Rendered classifieds/_classified_brief (0.3ms) +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + + +Processing ClassifiedsController#new (for 0.0.0.0 at 2010-12-21 22:17:11) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 +Rendering template within layouts/application +Rendering classifieds/new +Rendered classifieds/_classified_form (1.9ms) +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Classified Load (0.1ms) SELECT * FROM `classifieds` WHERE (`classifieds`.`id` = 1)  + + +Processing ClassifiedsController#show (for 0.0.0.0 at 2010-12-21 22:17:11) [GET] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + Classified Load (0.1ms) SELECT * FROM `classifieds` WHERE (`classifieds`.`id` = 1)  +Rendering template within layouts/application +Rendering classifieds/classifieds_show + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 +Rendered classifieds/_classified_brief (0.4ms) + Role Load (0.1ms) SELECT `roles`.* FROM `roles` INNER JOIN `permissions` ON `roles`.id = `permissions`.role_id WHERE ((`permissions`.user_id = 1))  +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Classified Load (0.1ms) SELECT * FROM `classifieds` WHERE (`classifieds`.`id` = 1)  + + +Processing ClassifiedsController#update (for 0.0.0.0 at 2010-12-21 22:17:11) [PUT] + Parameters: {"id"=>"1", "classified"=>{"title"=>"Test Updated Classified", "user_id"=>1}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + Classified Load (0.1ms) SELECT * FROM `classifieds` WHERE (`classifieds`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + Classified Update (0.3ms) UPDATE `classifieds` SET `updated_at` = '2010-12-22 05:17:11', `title` = 'Test Updated Classified' WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/classifieds/1 +Completed in 6ms (DB: 2) | 302 Found [http://test.host/classifieds/1?classified%5Btitle%5D=Test+Updated+Classified&classified%5Buser_id%5D=1] + SQL (43.5ms) ROLLBACK + SQL (0.1ms) BEGIN + Document Columns (0.7ms) SHOW FIELDS FROM `documents` + SQL (0.3ms) SELECT count(*) AS count_all FROM `documents`  + + +Processing DocumentsController#create (for 0.0.0.0 at 2010-12-21 22:17:11) [POST] + Parameters: {"document"=>{}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + SQL (0.1ms) SAVEPOINT active_record_1 + Document Create (0.3ms) INSERT INTO `documents` (`created_at`, `document_file_size`, `event_id`, `document_file_name`, `updated_at`, `document_updated_at`, `group_id`, `user_id`, `document_content_type`) VALUES('2010-12-22 05:17:11', NULL, NULL, NULL, '2010-12-22 05:17:11', NULL, NULL, NULL, NULL) + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/documents/1 +Completed in 13ms (DB: 45) | 302 Found [http://test.host/documents?] + SQL (0.2ms) SELECT count(*) AS count_all FROM `documents`  + SQL (32.3ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.2ms) SELECT count(*) AS count_all FROM `documents`  + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing DocumentsController#index (for 0.0.0.0 at 2010-12-21 22:17:11) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + Document Load (0.3ms) SELECT * FROM `documents`  +Rendering template within layouts/application +Rendering documents/index +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing DocumentsController#new (for 0.0.0.0 at 2010-12-21 22:17:11) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Rendering template within layouts/application +Rendering documents/new +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.0ms) ROLLBACK + SQL (0.1ms) BEGIN + EventReview Columns (0.6ms) SHOW FIELDS FROM `event_reviews` + SQL (0.2ms) SELECT count(*) AS count_all FROM `event_reviews`  + + +Processing EventReviewsController#create (for 0.0.0.0 at 2010-12-21 22:17:11) [POST] + Parameters: {"event_review"=>{}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + SQL (0.2ms) SAVEPOINT active_record_1 + EventReview Create (0.2ms) INSERT INTO `event_reviews` (`created_at`, `updated_at`) VALUES('2010-12-22 05:17:12', '2010-12-22 05:17:12') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/event_reviews/1 +Completed in 146ms (DB: 2) | 302 Found [http://test.host/event_reviews?] + SQL (0.2ms) SELECT count(*) AS count_all FROM `event_reviews`  + SQL (35.5ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.2ms) SELECT count(*) AS count_all FROM `event_reviews`  + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing EventReviewsController#index (for 0.0.0.0 at 2010-12-21 22:17:12) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + EventReview Load (0.2ms) SELECT * FROM `event_reviews`  +Rendering template within layouts/application +Rendering event_reviews/index +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.0ms) BEGIN + + +Processing EventReviewsController#new (for 0.0.0.0 at 2010-12-21 22:17:12) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Rendering template within layouts/application +Rendering event_reviews/new +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.1ms) ROLLBACK + SQL (0.0ms) BEGIN + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (0.1ms) SELECT count(*) AS count_all FROM `events`  + + +Processing EventsController#create (for 0.0.0.0 at 2010-12-21 22:17:12) [POST] + Parameters: {"event"=>{"city"=>"Detroit", "name"=>"Test Event", "end_time"=>Tue Dec 21 22:17:12 -0700 2010, "organized_by"=>"test dude", "location"=>"Compuware HQ", "street"=>"Fort", "user_id"=>1, "website"=>"website.com", "phone"=>"555-1212", "description"=>"Event Desc", "event_type"=>"party", "start_time"=>Tue Dec 21 22:17:12 -0700 2010}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + SQL (0.2ms) ROLLBACK + SQL (0.2ms) BEGIN + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (0.1ms) SELECT count(*) AS count_all FROM `events`  + Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.`id` = 1)  + + +Processing EventsController#destroy (for 0.0.0.0 at 2010-12-21 22:17:16) [DELETE] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + Attendance Load (0.3ms) SELECT * FROM `attendances` WHERE (`attendances`.event_id = 1)  + Attendance Destroy (0.2ms) DELETE FROM `attendances` WHERE `id` = 1 + Attendance Destroy (0.2ms) DELETE FROM `attendances` WHERE `id` = 2 + Event Destroy (0.1ms) DELETE FROM `events` WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/events +Completed in 5ms (DB: 3) | 302 Found [http://test.host/events/1] + SQL (0.2ms) SELECT count(*) AS count_all FROM `events`  + SQL (39.5ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Event Load (0.3ms) SELECT * FROM `events` WHERE (`events`.`id` = 1)  + + +Processing EventsController#edit (for 0.0.0.0 at 2010-12-21 22:17:16) [GET] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.`id` = 1)  + Location Load (0.1ms) SELECT * FROM `locations` ORDER BY name +Rendering template within layouts/application +Rendering events/edit +Rendered events/_event_form (21.7ms) +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + + +Processing EventsController#index (for 0.0.0.0 at 2010-12-21 22:17:16) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + Event Load (0.4ms) SELECT * FROM `events` WHERE (start_time>now()) ORDER BY start_time ASC +Rendering template within layouts/application +Rendering events/index + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + ProfilePhoto Load (0.4ms) SELECT * FROM `photos` WHERE (`photos`.event_id = 1) LIMIT 1 + Location Load (0.1ms) SELECT * FROM `locations` WHERE (`locations`.`id` = 1)  +Rendered events/_event_brief (4.0ms) + ProfilePhoto Load (0.2ms) SELECT * FROM `photos` WHERE (`photos`.event_id = 2) LIMIT 1 + Location Load (0.1ms) SELECT * FROM `locations` WHERE (`locations`.`id` = 2)  +Rendered events/_event_brief (2.1ms) +Rendered layouts/_widgets (0.1ms) + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + + +Processing EventsController#new (for 0.0.0.0 at 2010-12-21 22:17:16) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + Location Load (0.1ms) SELECT * FROM `locations` ORDER BY name +Rendering template within layouts/application +Rendering events/new +Rendered events/_event_form (18.8ms) +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.`id` = 1)  + + +Processing EventsController#show (for 0.0.0.0 at 2010-12-21 22:17:16) [GET] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.`id` = 1)  +Rendering template within layouts/application +Rendering events/show + ProfilePhoto Load (0.2ms) SELECT * FROM `photos` WHERE (`photos`.event_id = 1) LIMIT 1 + Location Load (0.1ms) SELECT * FROM `locations` WHERE (`locations`.`id` = 1)  + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + Event Load (0.4ms) SELECT `events`.id FROM `events` INNER JOIN `attendances` ON `events`.id = `attendances`.event_id WHERE (`events`.`id` = 1) AND ((`attendances`.attendee_id = 1)) LIMIT 1 +Rendered events/_event_details (6.1ms) + SQL (0.2ms) SELECT count(*) AS count_all FROM `wall_posts` WHERE (`wall_posts`.event_id = 1)  + ProfilePhoto Load (0.1ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 1 AND (is_profile = 1)) LIMIT 1 +Rendered shared/_wall_post_entry_form (2.5ms) + WallPost Load (0.3ms) SELECT * FROM `wall_posts` WHERE (`wall_posts`.event_id = 1) ORDER BY created_at DESC + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + ProfilePhoto Load (0.1ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 1 AND (is_profile = 1)) LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  +Rendered shared/_wall_posts (7.0ms) +Rendered shared/_wall_posts_widget (12.8ms) + Role Load (0.1ms) SELECT `roles`.* FROM `roles` INNER JOIN `permissions` ON `roles`.id = `permissions`.role_id WHERE ((`permissions`.user_id = 1))  +Rendered events/_event_admin_widget (4.7ms) + SQL (0.3ms) SELECT count(*) AS count_all FROM `users` INNER JOIN `attendances` ON `users`.id = `attendances`.attendee_id WHERE ((`attendances`.event_id = 1))  + User Load (1.3ms) SELECT `users`.* FROM `users` INNER JOIN `attendances` ON `users`.id = `attendances`.attendee_id WHERE ((`attendances`.event_id = 1)) ORDER BY RAND() + ProfilePhoto Load (0.1ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 3 AND (is_profile = 1)) LIMIT 1 + ProfilePhoto Load (0.1ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 1 AND (is_profile = 1)) LIMIT 1 +Rendered events/_attendance_widget (6.9ms) +Rendered layouts/_widgets (0.1ms) + SQL (0.3ms) ROLLBACK + SQL (0.0ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.`id` = 1)  + + +Processing EventsController#update (for 0.0.0.0 at 2010-12-21 22:17:16) [PUT] + Parameters: {"id"=>"1", "event"=>{"city"=>"Detroit", "name"=>"Test Event", "end_time"=>Tue Dec 21 22:17:16 -0700 2010, "organized_by"=>"test dude", "location"=>"Compuware HQ", "street"=>"Fort", "user_id"=>1, "website"=>"website.com", "phone"=>"555-1212", "description"=>"Event Desc", "event_type"=>"party", "start_time"=>Tue Dec 21 22:17:16 -0700 2010}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.`id` = 1)  + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + EyModule Columns (0.7ms) SHOW FIELDS FROM `ey_modules` + SQL (0.2ms) SELECT count(*) AS count_all FROM `ey_modules`  + + +Processing EyModulesController#create (for 0.0.0.0 at 2010-12-21 22:17:16) [POST] + Parameters: {"ey_module"=>{}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + SQL (0.1ms) SAVEPOINT active_record_1 + EyModule Create (0.2ms) INSERT INTO `ey_modules` (`name`, `created_at`, `updated_at`, `active`) VALUES(NULL, '2010-12-22 05:17:16', '2010-12-22 05:17:16', 1) + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/ey_modules/1 +Completed in 11ms (DB: 6) | 302 Found [http://test.host/ey_modules?] + SQL (0.2ms) SELECT count(*) AS count_all FROM `ey_modules`  + SQL (39.0ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.2ms) SELECT count(*) AS count_all FROM `ey_modules`  + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing EyModulesController#index (for 0.0.0.0 at 2010-12-21 22:17:16) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + EyModule Load (0.2ms) SELECT * FROM `ey_modules`  +Rendering template within layouts/application +Rendering ey_modules/index +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing EyModulesController#new (for 0.0.0.0 at 2010-12-21 22:17:17) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Rendering template within layouts/application +Rendering ey_modules/new +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.1ms) ROLLBACK + SQL (0.0ms) BEGIN + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.2ms) SELECT count(*) AS count_all FROM `facebook_posts`  + + +Processing FacebookPostsController#create (for 0.0.0.0 at 2010-12-21 22:17:17) [POST] + Parameters: {"facebook_post"=>{}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + SQL (0.1ms) SAVEPOINT active_record_1 + FacebookPost Create (0.2ms) INSERT INTO `facebook_posts` (`created_at`, `updated_at`) VALUES('2010-12-22 05:17:17', '2010-12-22 05:17:17') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/facebook_posts/3 +Completed in 11ms (DB: 1) | 302 Found [http://test.host/facebook_posts?] + SQL (0.2ms) SELECT count(*) AS count_all FROM `facebook_posts`  + SQL (42.0ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.2ms) SELECT count(*) AS count_all FROM `facebook_posts`  + FacebookPost Load (0.2ms) SELECT * FROM `facebook_posts` WHERE (`facebook_posts`.`id` = 1)  + + +Processing FacebookPostsController#destroy (for 0.0.0.0 at 2010-12-21 22:17:17) [DELETE] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + FacebookPost Load (0.1ms) SELECT * FROM `facebook_posts` WHERE (`facebook_posts`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + FacebookPost Destroy (0.2ms) DELETE FROM `facebook_posts` WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/facebook_posts +Completed in 3ms (DB: 43) | 302 Found [http://test.host/facebook_posts/1] + SQL (0.2ms) SELECT count(*) AS count_all FROM `facebook_posts`  + SQL (37.6ms) ROLLBACK + SQL (0.1ms) BEGIN + FacebookPost Load (0.3ms) SELECT * FROM `facebook_posts` WHERE (`facebook_posts`.`id` = 1)  + + +Processing FacebookPostsController#edit (for 0.0.0.0 at 2010-12-21 22:17:17) [GET] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + FacebookPost Load (0.1ms) SELECT * FROM `facebook_posts` WHERE (`facebook_posts`.`id` = 1)  +Rendering template within layouts/application +Rendering facebook_posts/edit +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing FacebookPostsController#index (for 0.0.0.0 at 2010-12-21 22:17:17) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + FacebookPost Load (0.3ms) SELECT * FROM `facebook_posts`  +Rendering template within layouts/application +Rendering facebook_posts/index +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing FacebookPostsController#new (for 0.0.0.0 at 2010-12-21 22:17:17) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Rendering template within layouts/application +Rendering facebook_posts/new +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + FacebookPost Load (0.1ms) SELECT * FROM `facebook_posts` WHERE (`facebook_posts`.`id` = 1)  + + +Processing FacebookPostsController#show (for 0.0.0.0 at 2010-12-21 22:17:17) [GET] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + FacebookPost Load (0.1ms) SELECT * FROM `facebook_posts` WHERE (`facebook_posts`.`id` = 1)  +Rendering template within layouts/application +Rendering facebook_posts/show +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + FacebookPost Load (0.1ms) SELECT * FROM `facebook_posts` WHERE (`facebook_posts`.`id` = 1)  + + +Processing FacebookPostsController#update (for 0.0.0.0 at 2010-12-21 22:17:17) [PUT] + Parameters: {"id"=>"1", "facebook_post"=>{}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + FacebookPost Load (0.1ms) SELECT * FROM `facebook_posts` WHERE (`facebook_posts`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/facebook_posts/1 +Completed in 4ms (DB: 1) | 302 Found [http://test.host/facebook_posts/1?] + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.2ms) SELECT count(*) AS count_all FROM `feeds`  + + +Processing FeedsController#create (for 0.0.0.0 at 2010-12-21 22:17:17) [POST] + Parameters: {"feed"=>{}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + SQL (0.1ms) SAVEPOINT active_record_1 + Feed Create (0.2ms) INSERT INTO `feeds` (`created_at`, `updated_at`) VALUES('2010-12-22 05:17:17', '2010-12-22 05:17:17') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/feeds/3 +Completed in 12ms (DB: 1) | 302 Found [http://test.host/feeds?] + SQL (0.2ms) SELECT count(*) AS count_all FROM `feeds`  + SQL (39.7ms) ROLLBACK + SQL (0.2ms) BEGIN + SQL (0.2ms) SELECT count(*) AS count_all FROM `feeds`  + Feed Load (0.2ms) SELECT * FROM `feeds` WHERE (`feeds`.`id` = 1)  + + +Processing FeedsController#destroy (for 0.0.0.0 at 2010-12-21 22:17:17) [DELETE] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + Feed Load (0.1ms) SELECT * FROM `feeds` WHERE (`feeds`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + Feed Destroy (0.2ms) DELETE FROM `feeds` WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/feeds +Completed in 4ms (DB: 41) | 302 Found [http://test.host/feeds/1] + SQL (0.2ms) SELECT count(*) AS count_all FROM `feeds`  + SQL (34.1ms) ROLLBACK + SQL (0.1ms) BEGIN + Feed Load (0.3ms) SELECT * FROM `feeds` WHERE (`feeds`.`id` = 1)  + + +Processing FeedsController#edit (for 0.0.0.0 at 2010-12-21 22:17:17) [GET] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + Feed Load (0.1ms) SELECT * FROM `feeds` WHERE (`feeds`.`id` = 1)  +Rendering template within layouts/application +Rendering feeds/edit +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing FeedsController#index (for 0.0.0.0 at 2010-12-21 22:17:17) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + Feed Load (0.3ms) SELECT * FROM `feeds`  +Rendering template within layouts/application +Rendering feeds/index +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing FeedsController#new (for 0.0.0.0 at 2010-12-21 22:17:17) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Rendering template within layouts/application +Rendering feeds/new +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + Feed Load (0.1ms) SELECT * FROM `feeds` WHERE (`feeds`.`id` = 1)  + + +Processing FeedsController#update (for 0.0.0.0 at 2010-12-21 22:17:18) [PUT] + Parameters: {"id"=>"1", "feed"=>{}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + Feed Load (0.1ms) SELECT * FROM `feeds` WHERE (`feeds`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/feeds/1 +Completed in 4ms (DB: 1) | 302 Found [http://test.host/feeds/1?] + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (0.2ms) SELECT count(*) AS count_all FROM `follows`  + + +Processing FollowsController#create (for 0.0.0.0 at 2010-12-21 22:17:18) [POST] + Parameters: {"follow"=>{}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + SQL (0.1ms) SAVEPOINT active_record_1 + Follow Create (0.2ms) INSERT INTO `follows` (`created_at`, `updated_at`, `follower_id`, `followee_id`) VALUES('2010-12-22 05:17:18', '2010-12-22 05:17:18', 1, NULL) + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (41.6ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (0.2ms) SELECT count(*) AS count_all FROM `follows`  + Follow Load (0.2ms) SELECT * FROM `follows` WHERE (`follows`.`id` = 1)  + + +Processing FollowsController#destroy (for 0.0.0.0 at 2010-12-21 22:17:18) [DELETE] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + Follow Load (0.1ms) SELECT * FROM `follows` WHERE (`follows`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + Follow Destroy (0.2ms) DELETE FROM `follows` WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/follows +Completed in 4ms (DB: 44) | 302 Found [http://test.host/follows/1] + SQL (0.2ms) SELECT count(*) AS count_all FROM `follows`  + SQL (37.0ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + + +Processing FollowsController#index (for 0.0.0.0 at 2010-12-21 22:17:18) [GET] + Parameters: {"type"=>"followers", "user_id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  +Rendering template within layouts/application +Rendering follows/index + Follow Load (0.4ms) SELECT * FROM `follows` WHERE (`follows`.followee_id = 1) ORDER BY created_at DESC +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Follow Load (0.3ms) SELECT * FROM `follows` WHERE (`follows`.`id` = 1)  + + +Processing FollowsController#show (for 0.0.0.0 at 2010-12-21 22:17:18) [GET] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + Follow Load (0.1ms) SELECT * FROM `follows` WHERE (`follows`.`id` = 1)  +Rendering template within layouts/application +Rendering follows/show +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Follow Load (0.1ms) SELECT * FROM `follows` WHERE (`follows`.`id` = 1)  + + +Processing FollowsController#update (for 0.0.0.0 at 2010-12-21 22:17:18) [PUT] + Parameters: {"id"=>"1", "follow"=>{}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + Follow Load (0.1ms) SELECT * FROM `follows` WHERE (`follows`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/follows/1 +Completed in 5ms (DB: 1) | 302 Found [http://test.host/follows/1?] + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (0.3ms) SELECT count(*) AS count_all FROM `forum_posts`  + + +Processing ForumPostsController#create (for 0.0.0.0 at 2010-12-21 22:17:18) [POST] + Parameters: {"forum_post"=>{}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + SQL (0.1ms) SAVEPOINT active_record_1 + ForumPost Create (0.3ms) INSERT INTO `forum_posts` (`forum_topic_id`, `created_at`, `title`, `body`, `featured`, `updated_at`, `views`, `user_id`, `parent_id`) VALUES(NULL, '2010-12-22 05:17:18', NULL, NULL, NULL, '2010-12-22 05:17:18', 0, 1, NULL) + Activity Create (0.2ms) INSERT INTO `activities` (`created_at`, `public`, `updated_at`, `action`, `user_id`, `item_id`, `item_type`) VALUES('2010-12-22 05:17:18', 1, '2010-12-22 05:17:18', NULL, 1, 18, 'ForumPost') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/forum_posts/18 +Completed in 16ms (DB: 1) | 302 Found [http://test.host/forum_posts?] + SQL (0.2ms) SELECT count(*) AS count_all FROM `forum_posts`  + SQL (37.1ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (0.2ms) SELECT count(*) AS count_all FROM `forum_posts`  + ForumPost Load (0.2ms) SELECT * FROM `forum_posts` WHERE (`forum_posts`.`id` = 1)  + + +Processing ForumPostsController#destroy (for 0.0.0.0 at 2010-12-21 22:17:18) [DELETE] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + ForumPost Load (0.1ms) SELECT * FROM `forum_posts` WHERE (`forum_posts`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + Tagging Load (0.3ms) SELECT * FROM `taggings` WHERE (`taggings`.taggable_id = 1 AND `taggings`.taggable_type = 'ForumPost' AND (context = 'tags'))  + Tagging Load (0.2ms) SELECT * FROM `taggings` WHERE (`taggings`.taggable_id = 1 AND `taggings`.taggable_type = 'ForumPost')  + ForumPost Destroy (0.2ms) DELETE FROM `forum_posts` WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/forum_posts +Completed in 6ms (DB: 39) | 302 Found [http://test.host/forum_posts/1] + SQL (0.2ms) SELECT count(*) AS count_all FROM `forum_posts`  + SQL (33.3ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + ForumPost Load (0.3ms) SELECT * FROM `forum_posts` WHERE (`forum_posts`.`id` = 1)  + + +Processing ForumPostsController#edit (for 0.0.0.0 at 2010-12-21 22:17:18) [GET] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + ForumPost Load (0.1ms) SELECT * FROM `forum_posts` WHERE (`forum_posts`.`id` = 1)  +Rendering template within layouts/application +Rendering forum_posts/edit +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing ForumPostsController#index (for 0.0.0.0 at 2010-12-21 22:17:18) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Redirected to http://test.host/forum_topics +Completed in 2ms (DB: 0) | 302 Found [http://test.host/forum_posts] + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + + +Processing ForumPostsController#new (for 0.0.0.0 at 2010-12-21 22:17:18) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 +Rendering template within layouts/application +Rendering forum_posts/new +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + ForumPost Load (0.1ms) SELECT * FROM `forum_posts` WHERE (`forum_posts`.`id` = 1)  + + +Processing ForumPostsController#show (for 0.0.0.0 at 2010-12-21 22:17:18) [GET] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + ForumPost Load (0.1ms) SELECT * FROM `forum_posts` WHERE (`forum_posts`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + ForumPost Update (0.3ms) UPDATE `forum_posts` SET `views` = 1, `updated_at` = '2010-12-22 05:17:18' WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Rendering template within layouts/application +Rendering forum_posts/show + ForumTopic Load (0.4ms) SELECT * FROM `forum_topics` WHERE (`forum_topics`.`id` = 1)  + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + ProfilePhoto Load (0.1ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 1 AND (is_profile = 1)) LIMIT 1 + ForumPost Load (0.3ms) SELECT * FROM `forum_posts` WHERE (`forum_posts`.parent_id = 1)  +Rendered forum_posts/_forum_post_replies (2.2ms) +Rendered forum_posts/_forum_post_reply_form (1.4ms) +Rendered layouts/_widgets (0.1ms) + SQL (33.7ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + ForumPost Load (0.3ms) SELECT * FROM `forum_posts` WHERE (`forum_posts`.`id` = 1)  + + +Processing ForumPostsController#update (for 0.0.0.0 at 2010-12-21 22:17:18) [PUT] + Parameters: {"forum_post"=>{}, "id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + ForumPost Load (0.1ms) SELECT * FROM `forum_posts` WHERE (`forum_posts`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/forum_posts/1 +Completed in 6ms (DB: 36) | 302 Found [http://test.host/forum_posts/1?] + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (0.2ms) SELECT count(*) AS count_all FROM `forum_topics`  + + +Processing ForumTopicsController#create (for 0.0.0.0 at 2010-12-21 22:17:18) [POST] + Parameters: {"forum_topic"=>{}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + Role Load (0.1ms) SELECT `roles`.* FROM `roles` INNER JOIN `permissions` ON `roles`.id = `permissions`.role_id WHERE ((`permissions`.user_id = 1))  + SQL (0.1ms) SAVEPOINT active_record_1 + ForumTopic Create (0.2ms) INSERT INTO `forum_topics` (`created_at`, `title`, `updated_at`, `user_id`, `description`) VALUES('2010-12-22 05:17:18', NULL, '2010-12-22 05:17:18', NULL, NULL) + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/forum_topics/4 +Completed in 12ms (DB: 1) | 302 Found [http://test.host/forum_topics?] + SQL (0.2ms) SELECT count(*) AS count_all FROM `forum_topics`  + SQL (28.1ms) ROLLBACK + SQL (0.0ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (0.2ms) SELECT count(*) AS count_all FROM `forum_topics`  + ForumTopic Load (0.2ms) SELECT * FROM `forum_topics` WHERE (`forum_topics`.`id` = 1)  + + +Processing ForumTopicsController#destroy (for 0.0.0.0 at 2010-12-21 22:17:19) [DELETE] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + Role Load (0.1ms) SELECT `roles`.* FROM `roles` INNER JOIN `permissions` ON `roles`.id = `permissions`.role_id WHERE ((`permissions`.user_id = 1))  + ForumTopic Load (0.1ms) SELECT * FROM `forum_topics` WHERE (`forum_topics`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + ForumTopic Destroy (0.2ms) DELETE FROM `forum_topics` WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/forum_topics +Completed in 5ms (DB: 30) | 302 Found [http://test.host/forum_topics/1] + SQL (0.2ms) SELECT count(*) AS count_all FROM `forum_topics`  + SQL (34.0ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing ForumTopicsController#index (for 0.0.0.0 at 2010-12-21 22:17:19) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + ForumTopic Load (0.3ms) SELECT * FROM `forum_topics`  +Rendering template within layouts/application +Rendering forum_topics/index + ForumPost Load (0.5ms) SELECT * FROM `forum_posts` WHERE (`forum_posts`.forum_topic_id = 1 AND (parent_id is null)) ORDER BY created_at DESC + ForumPost Load (0.3ms) SELECT * FROM `forum_posts` WHERE (`forum_posts`.forum_topic_id = 1) ORDER BY created_at DESC + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + ForumPost Load (0.3ms) SELECT * FROM `forum_posts` WHERE (`forum_posts`.forum_topic_id = 2 AND (parent_id is null)) ORDER BY created_at DESC + ForumPost Load (0.2ms) SELECT * FROM `forum_posts` WHERE (`forum_posts`.forum_topic_id = 2) ORDER BY created_at DESC + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + ForumPost Load (0.4ms) SELECT * FROM `forum_posts` WHERE (`forum_posts`.forum_topic_id = 3 AND (parent_id is null)) ORDER BY created_at DESC + ForumPost Load (0.3ms) SELECT * FROM `forum_posts` WHERE (`forum_posts`.forum_topic_id = 3) ORDER BY created_at DESC + User Load (0.4ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + + +Processing ForumTopicsController#new (for 0.0.0.0 at 2010-12-21 22:17:19) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + Role Load (0.1ms) SELECT `roles`.* FROM `roles` INNER JOIN `permissions` ON `roles`.id = `permissions`.role_id WHERE ((`permissions`.user_id = 1))  +Rendering template within layouts/application +Rendering forum_topics/new +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + ForumTopic Load (0.3ms) SELECT * FROM `forum_topics` WHERE (`forum_topics`.`id` = 1)  + + +Processing ForumTopicsController#update (for 0.0.0.0 at 2010-12-21 22:17:19) [PUT] + Parameters: {"id"=>"1", "forum_topic"=>{}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + Role Load (0.1ms) SELECT `roles`.* FROM `roles` INNER JOIN `permissions` ON `roles`.id = `permissions`.role_id WHERE ((`permissions`.user_id = 1))  + ForumTopic Load (0.1ms) SELECT * FROM `forum_topics` WHERE (`forum_topics`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/forum_topics/1 +Completed in 6ms (DB: 1) | 302 Found [http://test.host/forum_topics/1?] + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (0.2ms) SELECT count(*) AS count_all FROM `friendships`  + + +Processing FriendsController#create (for 0.0.0.0 at 2010-12-21 22:17:19) [POST] + Parameters: {"friend_id"=>"9"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + User Load (0.5ms) SELECT * FROM `users` WHERE (`users`.`id` = 9)  + Friendship Load (0.5ms) SELECT * FROM `friendships` WHERE (`friendships`.`user_id` = 1 AND `friendships`.`friend_id` = 9) LIMIT 1 + SQL (0.1ms) SAVEPOINT active_record_1 + Friendship Create (0.2ms) INSERT INTO `friendships` (`created_at`, `updated_at`, `user_id`, `status`, `friend_id`) VALUES('2010-12-22 05:17:19', '2010-12-22 05:17:19', 1, 'requested', 9) + Friendship Create (0.2ms) INSERT INTO `friendships` (`created_at`, `updated_at`, `user_id`, `status`, `friend_id`) VALUES('2010-12-22 05:17:19', '2010-12-22 05:17:19', 9, 'pending', 1) + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/users/9 +Completed in 16ms (DB: 2) | 302 Found [http://test.host/friends/create?friend_id=9] + SQL (0.2ms) SELECT count(*) AS count_all FROM `friendships`  + SQL (39.5ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (0.2ms) SELECT count(*) AS count_all FROM `friendships`  + + +Processing FriendsController#destroy (for 0.0.0.0 at 2010-12-21 22:17:19) [DELETE] + Parameters: {"id"=>"5", "user_id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + User Load (0.6ms) SELECT * FROM `users` WHERE (`users`.`id` = 5)  + SQL (0.1ms) SAVEPOINT active_record_1 + Friendship Load (0.2ms) SELECT * FROM `friendships` WHERE (`friendships`.`user_id` = 1 AND `friendships`.`friend_id` = 5) LIMIT 1 + Friendship Load (0.2ms) SELECT * FROM `friendships` WHERE (`friendships`.`id` = 7)  + Friendship Destroy (0.2ms) DELETE FROM `friendships` WHERE `id` = 7 + Friendship Load (0.2ms) SELECT * FROM `friendships` WHERE (`friendships`.`user_id` = 5 AND `friendships`.`friend_id` = 1) LIMIT 1 + Friendship Load (0.1ms) SELECT * FROM `friendships` WHERE (`friendships`.`id` = 8)  + Friendship Destroy (0.1ms) DELETE FROM `friendships` WHERE `id` = 8 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/users/1 +Completed in 8ms (DB: 42) | 302 Found [http://test.host/users/1/friends/5] + SQL (0.1ms) SELECT count(*) AS count_all FROM `friendships`  + SQL (32.4ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing FriendsController#index (for 0.0.0.0 at 2010-12-21 22:17:19) [GET] + Parameters: {"user_id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  +Rendering template within layouts/application +Rendering friends/index + SQL (0.4ms) SELECT count(*) AS count_all FROM `users` INNER JOIN `friendships` ON `users`.id = `friendships`.friend_id WHERE ((`friendships`.user_id = 1) AND ((status = 'accepted')))  + User Load (0.5ms) SELECT `users`.* FROM `users` INNER JOIN `friendships` ON `users`.id = `friendships`.friend_id WHERE ((`friendships`.user_id = 1) AND ((status = 'accepted')))  + ProfilePhoto Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 8 AND (is_profile = 1)) LIMIT 1 +Rendered users/_user_brief (2.7ms) + ProfilePhoto Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 5 AND (is_profile = 1)) LIMIT 1 +Rendered users/_user_brief (1.6ms) +Rendered layouts/_widgets (0.1ms) + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + + +Processing FriendsController#pending_friends (for 0.0.0.0 at 2010-12-21 22:17:19) [GET] + Parameters: {"user_id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  +Rendering template within layouts/application +Rendering friends/index + SQL (0.5ms) SELECT count(*) AS count_all FROM `users` INNER JOIN `friendships` ON `users`.id = `friendships`.friend_id WHERE ((`friendships`.user_id = 1) AND ((status = 'pending')))  + User Load (0.5ms) SELECT `users`.* FROM `users` INNER JOIN `friendships` ON `users`.id = `friendships`.friend_id WHERE ((`friendships`.user_id = 1) AND ((status = 'pending'))) ORDER BY friendships.created_at + ProfilePhoto Load (0.1ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 3 AND (is_profile = 1)) LIMIT 1 + User Load (0.4ms) SELECT `users`.id FROM `users` INNER JOIN `friendships` ON `users`.id = `friendships`.friend_id WHERE (`users`.`id` = 3) AND ((`friendships`.user_id = 1) AND ((status = 'requested'))) ORDER BY friendships.created_at LIMIT 1 + User Load (0.2ms) SELECT `users`.id FROM `users` INNER JOIN `friendships` ON `users`.id = `friendships`.friend_id WHERE (`users`.`id` = 3) AND ((`friendships`.user_id = 1) AND ((status = 'accepted'))) LIMIT 1 + User Load (0.3ms) SELECT `users`.id FROM `users` INNER JOIN `friendships` ON `users`.id = `friendships`.friend_id WHERE (`users`.`id` = 3) AND ((`friendships`.user_id = 1) AND ((status = 'pending'))) ORDER BY friendships.created_at LIMIT 1 + Role Load (0.2ms) SELECT `roles`.id FROM `roles` INNER JOIN `permissions` ON `roles`.id = `permissions`.role_id WHERE (`roles`.`id` = 1) AND ((`permissions`.user_id = 1)) LIMIT 1 +Rendered users/_user_brief (6.7ms) +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing FriendsController#index (for 0.0.0.0 at 2010-12-21 22:17:19) [GET] + Parameters: {"type"=>"pending", "user_id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  +Rendering template within layouts/application +Rendering friends/index + SQL (0.1ms) SELECT count(*) AS count_all FROM `users` INNER JOIN `friendships` ON `users`.id = `friendships`.friend_id WHERE ((`friendships`.user_id = 1) AND ((status = 'pending')))  + User Load (0.1ms) SELECT `users`.* FROM `users` INNER JOIN `friendships` ON `users`.id = `friendships`.friend_id WHERE ((`friendships`.user_id = 1) AND ((status = 'pending'))) ORDER BY friendships.created_at + ProfilePhoto Load (0.1ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 3 AND (is_profile = 1)) LIMIT 1 +Rendered users/_user_brief (1.6ms) +Rendered layouts/_widgets (0.1ms) + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + + +Processing FriendsController#requested_friends (for 0.0.0.0 at 2010-12-21 22:17:19) [GET] + Parameters: {"user_id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  +Rendering template within layouts/application +Rendering friends/index + SQL (0.4ms) SELECT count(*) AS count_all FROM `users` INNER JOIN `friendships` ON `users`.id = `friendships`.friend_id WHERE ((`friendships`.user_id = 1) AND ((status = 'requested')))  + User Load (0.5ms) SELECT `users`.* FROM `users` INNER JOIN `friendships` ON `users`.id = `friendships`.friend_id WHERE ((`friendships`.user_id = 1) AND ((status = 'requested'))) ORDER BY friendships.created_at + ProfilePhoto Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 7 AND (is_profile = 1)) LIMIT 1 + User Load (0.3ms) SELECT `users`.id FROM `users` INNER JOIN `friendships` ON `users`.id = `friendships`.friend_id WHERE (`users`.`id` = 7) AND ((`friendships`.user_id = 1) AND ((status = 'requested'))) ORDER BY friendships.created_at LIMIT 1 + Role Load (0.1ms) SELECT `roles`.id FROM `roles` INNER JOIN `permissions` ON `roles`.id = `permissions`.role_id WHERE (`roles`.`id` = 1) AND ((`permissions`.user_id = 1)) LIMIT 1 +Rendered users/_user_brief (4.3ms) +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing FriendsController#index (for 0.0.0.0 at 2010-12-21 22:17:19) [GET] + Parameters: {"type"=>"requested", "user_id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  +Rendering template within layouts/application +Rendering friends/index + SQL (0.1ms) SELECT count(*) AS count_all FROM `users` INNER JOIN `friendships` ON `users`.id = `friendships`.friend_id WHERE ((`friendships`.user_id = 1) AND ((status = 'requested')))  + User Load (0.1ms) SELECT `users`.* FROM `users` INNER JOIN `friendships` ON `users`.id = `friendships`.friend_id WHERE ((`friendships`.user_id = 1) AND ((status = 'requested'))) ORDER BY friendships.created_at + ProfilePhoto Load (0.1ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 7 AND (is_profile = 1)) LIMIT 1 +Rendered users/_user_brief (1.7ms) +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing FriendsController#show (for 0.0.0.0 at 2010-12-21 22:17:19) [GET] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Redirected to http://test.host/users/1 +Completed in 2ms (DB: 1) | 302 Found [http://test.host/friends/show/1] + SQL (0.1ms) ROLLBACK + SQL (0.0ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + + +Processing FriendsController#update (for 0.0.0.0 at 2010-12-21 22:17:19) [PUT] + Parameters: {"friend_id"=>"7"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (0.1ms) SELECT count(*) AS count_all FROM `groups`  + + +Processing GroupsController#create (for 0.0.0.0 at 2010-12-21 22:17:19) [POST] + Parameters: {"group"=>{"name"=>"unit test group", "featured"=>false, "description"=>"my desc"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + Role Load (0.1ms) SELECT `roles`.* FROM `roles` INNER JOIN `permissions` ON `roles`.id = `permissions`.role_id WHERE ((`permissions`.user_id = 1))  + SQL (0.2ms) SAVEPOINT active_record_1 + Group Create (0.4ms) INSERT INTO `groups` (`name`, `created_at`, `featured`, `announcements`, `private`, `updated_at`, `creator_id`, `description`, `photo_id`) VALUES('unit test group', '2010-12-22 05:17:24', 0, NULL, 0, '2010-12-22 05:17:24', 1, 'my desc', NULL) + Activity Create (0.3ms) INSERT INTO `activities` (`created_at`, `public`, `updated_at`, `action`, `user_id`, `item_id`, `item_type`) VALUES('2010-12-22 05:17:24', 1, '2010-12-22 05:17:24', NULL, 1, 4, 'Group') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/groups/4 +Completed in 4025ms (DB: 2) | 302 Found [http://test.host/groups?group%5Bdescription%5D=my+desc&group%5Bfeatured%5D=false&group%5Bname%5D=unit+test+group] + SQL (0.3ms) SELECT count(*) AS count_all FROM `groups`  + SQL (35.4ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (0.2ms) SELECT count(*) AS count_all FROM `groups`  + Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 1)  + + +Processing GroupsController#destroy (for 0.0.0.0 at 2010-12-21 22:17:24) [DELETE] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + Membership Load (0.3ms) SELECT * FROM `memberships` WHERE (`memberships`.group_id = 1)  + Membership Destroy (0.2ms) DELETE FROM `memberships` WHERE `id` = 1 + Membership Destroy (0.1ms) DELETE FROM `memberships` WHERE `id` = 3 + Group Destroy (0.1ms) DELETE FROM `groups` WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/groups +Completed in 7ms (DB: 38) | 302 Found [http://test.host/groups/1] + SQL (0.2ms) SELECT count(*) AS count_all FROM `groups`  + SQL (32.8ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Group Load (0.3ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 1)  + + +Processing GroupsController#edit (for 0.0.0.0 at 2010-12-21 22:17:24) [GET] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 1)  + Role Load (0.1ms) SELECT `roles`.* FROM `roles` INNER JOIN `permissions` ON `roles`.id = `permissions`.role_id WHERE ((`permissions`.user_id = 1))  + Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 1)  +Rendering template within layouts/application +Rendering groups/edit + ProfilePhoto Load (0.4ms) SELECT * FROM `photos` WHERE (`photos`.group_id = 1) LIMIT 1 +Rendered groups/_group_form (5.4ms) +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + + +Processing GroupsController#index (for 0.0.0.0 at 2010-12-21 22:17:24) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + Group Load (0.3ms) SELECT * FROM `groups`  +Rendering template within layouts/application +Rendering groups/index + User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + ProfilePhoto Load (0.1ms) SELECT * FROM `photos` WHERE (`photos`.group_id = 1) LIMIT 1 + SQL (0.4ms) SELECT count(*) AS count_all FROM `users` INNER JOIN `memberships` ON `users`.id = `memberships`.user_id WHERE ((`memberships`.group_id = 1))  +Rendered groups/_group_brief (3.6ms) + ProfilePhoto Load (0.1ms) SELECT * FROM `photos` WHERE (`photos`.group_id = 2) LIMIT 1 + SQL (0.2ms) SELECT count(*) AS count_all FROM `users` INNER JOIN `memberships` ON `users`.id = `memberships`.user_id WHERE ((`memberships`.group_id = 2))  +Rendered groups/_group_brief (2.1ms) +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + + +Processing GroupsController#new (for 0.0.0.0 at 2010-12-21 22:17:24) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + Role Load (0.1ms) SELECT `roles`.* FROM `roles` INNER JOIN `permissions` ON `roles`.id = `permissions`.role_id WHERE ((`permissions`.user_id = 1))  +Rendering template within layouts/application +Rendering groups/new +Rendered groups/_group_form (2.4ms) +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 1)  + + +Processing GroupsController#show (for 0.0.0.0 at 2010-12-21 22:17:24) [GET] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 1)  + Page Load (0.3ms) SELECT * FROM `pages` WHERE (`pages`.`name` = 'group') LIMIT 1 +Rendering template within layouts/application +Rendering groups/show + ProfilePhoto Load (0.2ms) SELECT * FROM `photos` WHERE (`photos`.group_id = 1) LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + Role Load (0.1ms) SELECT `roles`.* FROM `roles` INNER JOIN `permissions` ON `roles`.id = `permissions`.role_id WHERE ((`permissions`.user_id = 1))  +Rendered groups/_group_admin_widget (5.4ms) + User Load (0.5ms) SELECT `users`.id FROM `users` INNER JOIN `memberships` ON `users`.id = `memberships`.user_id WHERE (`users`.`id` = 1) AND ((`memberships`.group_id = 1)) ORDER BY RAND() LIMIT 1 + ProfilePhoto Load (0.1ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 1 AND (is_profile = 1)) LIMIT 1 + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Rendered users/_user_control_widget (6.6ms) +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 1)  + + +Processing GroupsController#update (for 0.0.0.0 at 2010-12-21 22:17:24) [PUT] + Parameters: {"group"=>{"name"=>"New Name", "featured"=>false, "description"=>"New Desc."}, "id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + Group Load (0.1ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 1)  + Role Load (0.1ms) SELECT `roles`.* FROM `roles` INNER JOIN `permissions` ON `roles`.id = `permissions`.role_id WHERE ((`permissions`.user_id = 1))  + Group Load (0.3ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 1)  + SQL (0.2ms) SAVEPOINT active_record_1 + Group Update (0.5ms) UPDATE `groups` SET `updated_at` = '2010-12-22 05:17:28', `name` = 'New Name', `description` = 'New Desc.' WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/groups/1 +Completed in 4016ms (DB: 3) | 302 Found [http://test.host/groups/1?group%5Bdescription%5D=New+Desc.&group%5Bfeatured%5D=false&group%5Bname%5D=New+Name] + SQL (50.9ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing HomeController#do_install (for 0.0.0.0 at 2010-12-21 22:17:28) [GET] + Parameters: {"network_website"=>"www.test.com", "password_confirmation"=>"12345678", "network_desc"=>"Network Description", "last_name"=>"Doe", "network_name"=>"Test Network", "network_org"=>"Test Org", "login"=>"jdoe", "password"=>"12345678", "first_name"=>"John", "email"=>"john@doe.com"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + Network Load (0.3ms) SELECT * FROM `networks`  + SQL (0.1ms) SAVEPOINT active_record_1 + Network Destroy (0.2ms) DELETE FROM `networks` WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + ConfigSetting Columns (0.6ms) SHOW FIELDS FROM `config_settings` + SQL (0.1ms) SAVEPOINT active_record_1 + ConfigSetting Create (0.2ms) INSERT INTO `config_settings` (`name`, `created_at`, `updated_at`, `value`) VALUES('use_proxy', '2010-12-22 05:17:28', '2010-12-22 05:17:28', 'false') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + ConfigSetting Create (0.1ms) INSERT INTO `config_settings` (`name`, `created_at`, `updated_at`, `value`) VALUES('proxy_host', '2010-12-22 05:17:28', '2010-12-22 05:17:28', '') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + ConfigSetting Create (0.1ms) INSERT INTO `config_settings` (`name`, `created_at`, `updated_at`, `value`) VALUES('proxy_port', '2010-12-22 05:17:28', '2010-12-22 05:17:28', '') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + ConfigSetting Create (0.1ms) INSERT INTO `config_settings` (`name`, `created_at`, `updated_at`, `value`) VALUES('enable_facebook_connect', '2010-12-22 05:17:28', '2010-12-22 05:17:28', 'false') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + ConfigSetting Create (0.1ms) INSERT INTO `config_settings` (`name`, `created_at`, `updated_at`, `value`) VALUES('require_activate_for_user_create_via_api', '2010-12-22 05:17:28', '2010-12-22 05:17:28', 'false') + SQL (0.0ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + ConfigSetting Create (0.1ms) INSERT INTO `config_settings` (`name`, `created_at`, `updated_at`, `value`) VALUES('enable_self_registration', '2010-12-22 05:17:28', '2010-12-22 05:17:28', 'true') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + ConfigSetting Create (0.1ms) INSERT INTO `config_settings` (`name`, `created_at`, `updated_at`, `value`) VALUES('max_tweets_per_user', '2010-12-22 05:17:28', '2010-12-22 05:17:28', '5') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + User Load (1.2ms) SELECT * FROM `users`  + SQL (0.1ms) SAVEPOINT active_record_1 + Permission Load (0.2ms) SELECT * FROM `permissions` WHERE (`permissions`.user_id = 1)  + Permission Destroy (0.2ms) DELETE FROM `permissions` WHERE `id` = 1 + Membership Load (0.2ms) SELECT * FROM `memberships` WHERE (`memberships`.user_id = 1)  + Membership Destroy (0.1ms) DELETE FROM `memberships` WHERE `id` = 1 + Membership Destroy (0.1ms) DELETE FROM `memberships` WHERE `id` = 2 + Attendance Load (0.2ms) SELECT * FROM `attendances` WHERE (`attendances`.attendee_id = 1)  + Attendance Destroy (0.1ms) DELETE FROM `attendances` WHERE `id` = 1 + Friendship Load (0.2ms) SELECT * FROM `friendships` WHERE (`friendships`.user_id = 1)  + Friendship Destroy (0.2ms) DELETE FROM `friendships` WHERE `id` = 1 + Friendship Destroy (0.1ms) DELETE FROM `friendships` WHERE `id` = 3 + Friendship Destroy (0.1ms) DELETE FROM `friendships` WHERE `id` = 5 + Friendship Destroy (0.1ms) DELETE FROM `friendships` WHERE `id` = 7 + ProfilePhoto Load (0.1ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 1 AND (is_profile = 1)) LIMIT 1 + Comment Load (0.3ms) SELECT * FROM `comments` WHERE (`comments`.commentable_id = 3 AND `comments`.commentable_type = 'Photo') ORDER BY created_at ASC + Tagging Load (0.2ms) SELECT * FROM `taggings` WHERE (`taggings`.taggable_id = 3 AND `taggings`.taggable_type = 'Photo' AND (context = 'tags'))  + Tagging Load (0.2ms) SELECT * FROM `taggings` WHERE (`taggings`.taggable_id = 3 AND `taggings`.taggable_type = 'Photo')  + ProfilePhoto Destroy (0.2ms) DELETE FROM `photos` WHERE `id` = 3 + User Destroy (0.2ms) DELETE FROM `users` WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Permission Load (0.2ms) SELECT * FROM `permissions` WHERE (`permissions`.user_id = 2)  + Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.user_id = 2)  + Attendance Load (0.1ms) SELECT * FROM `attendances` WHERE (`attendances`.attendee_id = 2)  + Friendship Load (0.1ms) SELECT * FROM `friendships` WHERE (`friendships`.user_id = 2)  + ProfilePhoto Load (0.2ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 2 AND (is_profile = 1)) LIMIT 1 + User Destroy (0.2ms) DELETE FROM `users` WHERE `id` = 2 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Permission Load (0.2ms) SELECT * FROM `permissions` WHERE (`permissions`.user_id = 3)  + Permission Destroy (0.1ms) DELETE FROM `permissions` WHERE `id` = 2 + Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.user_id = 3)  + Attendance Load (0.1ms) SELECT * FROM `attendances` WHERE (`attendances`.attendee_id = 3)  + Attendance Destroy (0.1ms) DELETE FROM `attendances` WHERE `id` = 2 + Friendship Load (0.1ms) SELECT * FROM `friendships` WHERE (`friendships`.user_id = 3)  + Friendship Destroy (0.1ms) DELETE FROM `friendships` WHERE `id` = 4 + ProfilePhoto Load (0.2ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 3 AND (is_profile = 1)) LIMIT 1 + User Destroy (0.2ms) DELETE FROM `users` WHERE `id` = 3 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Permission Load (0.2ms) SELECT * FROM `permissions` WHERE (`permissions`.user_id = 4)  + Permission Destroy (0.1ms) DELETE FROM `permissions` WHERE `id` = 3 + Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.user_id = 4)  + Membership Destroy (0.1ms) DELETE FROM `memberships` WHERE `id` = 3 + Attendance Load (0.1ms) SELECT * FROM `attendances` WHERE (`attendances`.attendee_id = 4)  + Friendship Load (0.1ms) SELECT * FROM `friendships` WHERE (`friendships`.user_id = 4)  + ProfilePhoto Load (0.2ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 4 AND (is_profile = 1)) LIMIT 1 + User Destroy (0.2ms) DELETE FROM `users` WHERE `id` = 4 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Permission Load (0.1ms) SELECT * FROM `permissions` WHERE (`permissions`.user_id = 5)  + Permission Destroy (0.1ms) DELETE FROM `permissions` WHERE `id` = 4 + Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.user_id = 5)  + Attendance Load (0.1ms) SELECT * FROM `attendances` WHERE (`attendances`.attendee_id = 5)  + Attendance Destroy (0.1ms) DELETE FROM `attendances` WHERE `id` = 3 + Friendship Load (0.1ms) SELECT * FROM `friendships` WHERE (`friendships`.user_id = 5)  + Friendship Destroy (0.1ms) DELETE FROM `friendships` WHERE `id` = 8 + ProfilePhoto Load (0.2ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 5 AND (is_profile = 1)) LIMIT 1 + User Destroy (0.2ms) DELETE FROM `users` WHERE `id` = 5 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Permission Load (0.1ms) SELECT * FROM `permissions` WHERE (`permissions`.user_id = 6)  + Permission Destroy (0.1ms) DELETE FROM `permissions` WHERE `id` = 5 + Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.user_id = 6)  + Attendance Load (0.1ms) SELECT * FROM `attendances` WHERE (`attendances`.attendee_id = 6)  + Attendance Destroy (0.1ms) DELETE FROM `attendances` WHERE `id` = 4 + Friendship Load (0.2ms) SELECT * FROM `friendships` WHERE (`friendships`.user_id = 6)  + ProfilePhoto Load (0.2ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 6 AND (is_profile = 1)) LIMIT 1 + User Destroy (0.2ms) DELETE FROM `users` WHERE `id` = 6 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Permission Load (0.1ms) SELECT * FROM `permissions` WHERE (`permissions`.user_id = 7)  + Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.user_id = 7)  + Attendance Load (0.1ms) SELECT * FROM `attendances` WHERE (`attendances`.attendee_id = 7)  + Friendship Load (0.1ms) SELECT * FROM `friendships` WHERE (`friendships`.user_id = 7)  + Friendship Destroy (0.1ms) DELETE FROM `friendships` WHERE `id` = 2 + ProfilePhoto Load (0.2ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 7 AND (is_profile = 1)) LIMIT 1 + User Destroy (0.2ms) DELETE FROM `users` WHERE `id` = 7 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Permission Load (0.1ms) SELECT * FROM `permissions` WHERE (`permissions`.user_id = 8)  + Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.user_id = 8)  + Attendance Load (0.1ms) SELECT * FROM `attendances` WHERE (`attendances`.attendee_id = 8)  + Friendship Load (0.1ms) SELECT * FROM `friendships` WHERE (`friendships`.user_id = 8)  + Friendship Destroy (0.1ms) DELETE FROM `friendships` WHERE `id` = 6 + ProfilePhoto Load (0.2ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 8 AND (is_profile = 1)) LIMIT 1 + Comment Load (0.2ms) SELECT * FROM `comments` WHERE (`comments`.commentable_id = 4 AND `comments`.commentable_type = 'Photo') ORDER BY created_at ASC + Tagging Load (0.2ms) SELECT * FROM `taggings` WHERE (`taggings`.taggable_id = 4 AND `taggings`.taggable_type = 'Photo' AND (context = 'tags'))  + Tagging Load (0.2ms) SELECT * FROM `taggings` WHERE (`taggings`.taggable_id = 4 AND `taggings`.taggable_type = 'Photo')  + ProfilePhoto Destroy (0.2ms) DELETE FROM `photos` WHERE `id` = 4 + User Destroy (0.2ms) DELETE FROM `users` WHERE `id` = 8 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Permission Load (0.2ms) SELECT * FROM `permissions` WHERE (`permissions`.user_id = 9)  + Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.user_id = 9)  + Attendance Load (0.1ms) SELECT * FROM `attendances` WHERE (`attendances`.attendee_id = 9)  + Friendship Load (0.1ms) SELECT * FROM `friendships` WHERE (`friendships`.user_id = 9)  + ProfilePhoto Load (0.2ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 9 AND (is_profile = 1)) LIMIT 1 + User Destroy (0.2ms) DELETE FROM `users` WHERE `id` = 9 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Permission Load (0.1ms) SELECT * FROM `permissions` WHERE (`permissions`.user_id = 10)  + Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.user_id = 10)  + Attendance Load (0.1ms) SELECT * FROM `attendances` WHERE (`attendances`.attendee_id = 10)  + Friendship Load (0.1ms) SELECT * FROM `friendships` WHERE (`friendships`.user_id = 10)  + ProfilePhoto Load (0.2ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 10 AND (is_profile = 1)) LIMIT 1 + User Destroy (0.2ms) DELETE FROM `users` WHERE `id` = 10 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Permission Load (0.1ms) SELECT * FROM `permissions` WHERE (`permissions`.user_id = 11)  + Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.user_id = 11)  + Attendance Load (0.1ms) SELECT * FROM `attendances` WHERE (`attendances`.attendee_id = 11)  + Friendship Load (0.2ms) SELECT * FROM `friendships` WHERE (`friendships`.user_id = 11)  + ProfilePhoto Load (0.2ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 11 AND (is_profile = 1)) LIMIT 1 + User Destroy (0.1ms) DELETE FROM `users` WHERE `id` = 11 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Permission Load (0.1ms) SELECT * FROM `permissions` WHERE (`permissions`.user_id = 12)  + Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.user_id = 12)  + Attendance Load (0.1ms) SELECT * FROM `attendances` WHERE (`attendances`.attendee_id = 12)  + Friendship Load (0.1ms) SELECT * FROM `friendships` WHERE (`friendships`.user_id = 12)  + ProfilePhoto Load (0.2ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 12 AND (is_profile = 1)) LIMIT 1 + User Destroy (0.2ms) DELETE FROM `users` WHERE `id` = 12 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Permission Load (0.1ms) SELECT * FROM `permissions` WHERE (`permissions`.user_id = 13)  + Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.user_id = 13)  + Attendance Load (0.1ms) SELECT * FROM `attendances` WHERE (`attendances`.attendee_id = 13)  + Friendship Load (0.1ms) SELECT * FROM `friendships` WHERE (`friendships`.user_id = 13)  + ProfilePhoto Load (0.2ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 13 AND (is_profile = 1)) LIMIT 1 + User Destroy (0.1ms) DELETE FROM `users` WHERE `id` = 13 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Permission Load (0.1ms) SELECT * FROM `permissions` WHERE (`permissions`.user_id = 14)  + Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.user_id = 14)  + Attendance Load (0.1ms) SELECT * FROM `attendances` WHERE (`attendances`.attendee_id = 14)  + Friendship Load (0.1ms) SELECT * FROM `friendships` WHERE (`friendships`.user_id = 14)  + ProfilePhoto Load (0.2ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 14 AND (is_profile = 1)) LIMIT 1 + User Destroy (0.2ms) DELETE FROM `users` WHERE `id` = 14 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Permission Load (0.1ms) SELECT * FROM `permissions` WHERE (`permissions`.user_id = 15)  + Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.user_id = 15)  + Attendance Load (0.1ms) SELECT * FROM `attendances` WHERE (`attendances`.attendee_id = 15)  + Friendship Load (0.1ms) SELECT * FROM `friendships` WHERE (`friendships`.user_id = 15)  + ProfilePhoto Load (0.2ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 15 AND (is_profile = 1)) LIMIT 1 + User Destroy (0.2ms) DELETE FROM `users` WHERE `id` = 15 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Permission Load (0.1ms) SELECT * FROM `permissions` WHERE (`permissions`.user_id = 16)  + Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.user_id = 16)  + Attendance Load (0.1ms) SELECT * FROM `attendances` WHERE (`attendances`.attendee_id = 16)  + Friendship Load (0.1ms) SELECT * FROM `friendships` WHERE (`friendships`.user_id = 16)  + ProfilePhoto Load (0.2ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 16 AND (is_profile = 1)) LIMIT 1 + User Destroy (0.2ms) DELETE FROM `users` WHERE `id` = 16 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Permission Load (0.1ms) SELECT * FROM `permissions` WHERE (`permissions`.user_id = 17)  + Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.user_id = 17)  + Attendance Load (0.3ms) SELECT * FROM `attendances` WHERE (`attendances`.attendee_id = 17)  + Friendship Load (0.1ms) SELECT * FROM `friendships` WHERE (`friendships`.user_id = 17)  + ProfilePhoto Load (0.2ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 17 AND (is_profile = 1)) LIMIT 1 + User Destroy (0.2ms) DELETE FROM `users` WHERE `id` = 17 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Permission Load (0.1ms) SELECT * FROM `permissions` WHERE (`permissions`.user_id = 18)  + Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.user_id = 18)  + Attendance Load (0.1ms) SELECT * FROM `attendances` WHERE (`attendances`.attendee_id = 18)  + Friendship Load (0.1ms) SELECT * FROM `friendships` WHERE (`friendships`.user_id = 18)  + ProfilePhoto Load (0.2ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 18 AND (is_profile = 1)) LIMIT 1 + User Destroy (0.2ms) DELETE FROM `users` WHERE `id` = 18 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Permission Load (0.1ms) SELECT * FROM `permissions` WHERE (`permissions`.user_id = 19)  + Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.user_id = 19)  + Attendance Load (0.1ms) SELECT * FROM `attendances` WHERE (`attendances`.attendee_id = 19)  + Friendship Load (0.1ms) SELECT * FROM `friendships` WHERE (`friendships`.user_id = 19)  + ProfilePhoto Load (0.2ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 19 AND (is_profile = 1)) LIMIT 1 + User Destroy (0.2ms) DELETE FROM `users` WHERE `id` = 19 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Permission Load (0.1ms) SELECT * FROM `permissions` WHERE (`permissions`.user_id = 20)  + Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.user_id = 20)  + Attendance Load (0.1ms) SELECT * FROM `attendances` WHERE (`attendances`.attendee_id = 20)  + Friendship Load (0.1ms) SELECT * FROM `friendships` WHERE (`friendships`.user_id = 20)  + ProfilePhoto Load (0.2ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 20 AND (is_profile = 1)) LIMIT 1 + User Destroy (0.1ms) DELETE FROM `users` WHERE `id` = 20 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Permission Load (0.1ms) SELECT * FROM `permissions` WHERE (`permissions`.user_id = 21)  + Membership Load (0.2ms) SELECT * FROM `memberships` WHERE (`memberships`.user_id = 21)  + Attendance Load (0.1ms) SELECT * FROM `attendances` WHERE (`attendances`.attendee_id = 21)  + Friendship Load (0.1ms) SELECT * FROM `friendships` WHERE (`friendships`.user_id = 21)  + ProfilePhoto Load (0.2ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 21 AND (is_profile = 1)) LIMIT 1 + User Destroy (0.2ms) DELETE FROM `users` WHERE `id` = 21 + SQL (0.0ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Permission Load (0.2ms) SELECT * FROM `permissions` WHERE (`permissions`.user_id = 22)  + Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.user_id = 22)  + Attendance Load (0.1ms) SELECT * FROM `attendances` WHERE (`attendances`.attendee_id = 22)  + Friendship Load (0.1ms) SELECT * FROM `friendships` WHERE (`friendships`.user_id = 22)  + ProfilePhoto Load (0.2ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 22 AND (is_profile = 1)) LIMIT 1 + User Destroy (0.2ms) DELETE FROM `users` WHERE `id` = 22 + SQL (0.0ms) RELEASE SAVEPOINT active_record_1 + SQL (0.0ms) SAVEPOINT active_record_1 + Permission Load (0.1ms) SELECT * FROM `permissions` WHERE (`permissions`.user_id = 23)  + Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.user_id = 23)  + Attendance Load (0.1ms) SELECT * FROM `attendances` WHERE (`attendances`.attendee_id = 23)  + Friendship Load (0.1ms) SELECT * FROM `friendships` WHERE (`friendships`.user_id = 23)  + ProfilePhoto Load (0.2ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 23 AND (is_profile = 1)) LIMIT 1 + User Destroy (0.2ms) DELETE FROM `users` WHERE `id` = 23 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Permission Load (0.2ms) SELECT * FROM `permissions` WHERE (`permissions`.user_id = 24)  + Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.user_id = 24)  + Attendance Load (0.1ms) SELECT * FROM `attendances` WHERE (`attendances`.attendee_id = 24)  + Friendship Load (0.1ms) SELECT * FROM `friendships` WHERE (`friendships`.user_id = 24)  + ProfilePhoto Load (0.2ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 24 AND (is_profile = 1)) LIMIT 1 + User Destroy (0.2ms) DELETE FROM `users` WHERE `id` = 24 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Permission Load (0.1ms) SELECT * FROM `permissions` WHERE (`permissions`.user_id = 25)  + Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.user_id = 25)  + Attendance Load (0.1ms) SELECT * FROM `attendances` WHERE (`attendances`.attendee_id = 25)  + Friendship Load (0.1ms) SELECT * FROM `friendships` WHERE (`friendships`.user_id = 25)  + ProfilePhoto Load (0.2ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 25 AND (is_profile = 1)) LIMIT 1 + User Destroy (0.2ms) DELETE FROM `users` WHERE `id` = 25 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Permission Load (0.1ms) SELECT * FROM `permissions` WHERE (`permissions`.user_id = 26)  + Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.user_id = 26)  + Attendance Load (0.1ms) SELECT * FROM `attendances` WHERE (`attendances`.attendee_id = 26)  + Friendship Load (0.1ms) SELECT * FROM `friendships` WHERE (`friendships`.user_id = 26)  + ProfilePhoto Load (0.2ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 26 AND (is_profile = 1)) LIMIT 1 + User Destroy (0.2ms) DELETE FROM `users` WHERE `id` = 26 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Permission Load (0.1ms) SELECT * FROM `permissions` WHERE (`permissions`.user_id = 27)  + Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.user_id = 27)  + Attendance Load (0.1ms) SELECT * FROM `attendances` WHERE (`attendances`.attendee_id = 27)  + Friendship Load (23.0ms) SELECT * FROM `friendships` WHERE (`friendships`.user_id = 27)  + ProfilePhoto Load (0.5ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 27 AND (is_profile = 1)) LIMIT 1 + User Destroy (0.2ms) DELETE FROM `users` WHERE `id` = 27 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Permission Load (0.2ms) SELECT * FROM `permissions` WHERE (`permissions`.user_id = 28)  + Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.user_id = 28)  + Attendance Load (0.2ms) SELECT * FROM `attendances` WHERE (`attendances`.attendee_id = 28)  + Friendship Load (0.1ms) SELECT * FROM `friendships` WHERE (`friendships`.user_id = 28)  + ProfilePhoto Load (0.2ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 28 AND (is_profile = 1)) LIMIT 1 + User Destroy (0.2ms) DELETE FROM `users` WHERE `id` = 28 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Permission Load (0.2ms) SELECT * FROM `permissions` WHERE (`permissions`.user_id = 29)  + Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.user_id = 29)  + Attendance Load (0.1ms) SELECT * FROM `attendances` WHERE (`attendances`.attendee_id = 29)  + Friendship Load (0.2ms) SELECT * FROM `friendships` WHERE (`friendships`.user_id = 29)  + ProfilePhoto Load (0.2ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 29 AND (is_profile = 1)) LIMIT 1 + User Destroy (0.2ms) DELETE FROM `users` WHERE `id` = 29 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Permission Load (0.2ms) SELECT * FROM `permissions` WHERE (`permissions`.user_id = 30)  + Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.user_id = 30)  + Attendance Load (0.1ms) SELECT * FROM `attendances` WHERE (`attendances`.attendee_id = 30)  + Friendship Load (0.1ms) SELECT * FROM `friendships` WHERE (`friendships`.user_id = 30)  + ProfilePhoto Load (0.2ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 30 AND (is_profile = 1)) LIMIT 1 + User Destroy (0.2ms) DELETE FROM `users` WHERE `id` = 30 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Permission Load (0.2ms) SELECT * FROM `permissions` WHERE (`permissions`.user_id = 31)  + Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.user_id = 31)  + Attendance Load (0.1ms) SELECT * FROM `attendances` WHERE (`attendances`.attendee_id = 31)  + Friendship Load (0.1ms) SELECT * FROM `friendships` WHERE (`friendships`.user_id = 31)  + ProfilePhoto Load (0.2ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 31 AND (is_profile = 1)) LIMIT 1 + User Destroy (0.2ms) DELETE FROM `users` WHERE `id` = 31 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Permission Load (0.2ms) SELECT * FROM `permissions` WHERE (`permissions`.user_id = 32)  + Membership Load (0.2ms) SELECT * FROM `memberships` WHERE (`memberships`.user_id = 32)  + Attendance Load (0.1ms) SELECT * FROM `attendances` WHERE (`attendances`.attendee_id = 32)  + Friendship Load (0.2ms) SELECT * FROM `friendships` WHERE (`friendships`.user_id = 32)  + ProfilePhoto Load (0.2ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 32 AND (is_profile = 1)) LIMIT 1 + User Destroy (0.2ms) DELETE FROM `users` WHERE `id` = 32 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Permission Load (0.2ms) SELECT * FROM `permissions` WHERE (`permissions`.user_id = 33)  + Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.user_id = 33)  + Attendance Load (0.1ms) SELECT * FROM `attendances` WHERE (`attendances`.attendee_id = 33)  + Friendship Load (0.1ms) SELECT * FROM `friendships` WHERE (`friendships`.user_id = 33)  + ProfilePhoto Load (0.2ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 33 AND (is_profile = 1)) LIMIT 1 + User Destroy (0.2ms) DELETE FROM `users` WHERE `id` = 33 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (2.8ms) SAVEPOINT active_record_1 + Permission Load (0.2ms) SELECT * FROM `permissions` WHERE (`permissions`.user_id = 34)  + Membership Load (0.2ms) SELECT * FROM `memberships` WHERE (`memberships`.user_id = 34)  + Attendance Load (0.1ms) SELECT * FROM `attendances` WHERE (`attendances`.attendee_id = 34)  + Friendship Load (0.2ms) SELECT * FROM `friendships` WHERE (`friendships`.user_id = 34)  + ProfilePhoto Load (0.2ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 34 AND (is_profile = 1)) LIMIT 1 + User Destroy (0.2ms) DELETE FROM `users` WHERE `id` = 34 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Permission Load (0.2ms) SELECT * FROM `permissions` WHERE (`permissions`.user_id = 35)  + Membership Load (0.2ms) SELECT * FROM `memberships` WHERE (`memberships`.user_id = 35)  + Attendance Load (0.1ms) SELECT * FROM `attendances` WHERE (`attendances`.attendee_id = 35)  + Friendship Load (0.1ms) SELECT * FROM `friendships` WHERE (`friendships`.user_id = 35)  + ProfilePhoto Load (0.2ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 35 AND (is_profile = 1)) LIMIT 1 + User Destroy (0.2ms) DELETE FROM `users` WHERE `id` = 35 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Permission Load (0.1ms) SELECT * FROM `permissions` WHERE (`permissions`.user_id = 36)  + Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.user_id = 36)  + Attendance Load (0.1ms) SELECT * FROM `attendances` WHERE (`attendances`.attendee_id = 36)  + Friendship Load (0.1ms) SELECT * FROM `friendships` WHERE (`friendships`.user_id = 36)  + ProfilePhoto Load (0.2ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 36 AND (is_profile = 1)) LIMIT 1 + User Destroy (0.2ms) DELETE FROM `users` WHERE `id` = 36 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Permission Load (0.1ms) SELECT * FROM `permissions` WHERE (`permissions`.user_id = 37)  + Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.user_id = 37)  + Attendance Load (0.1ms) SELECT * FROM `attendances` WHERE (`attendances`.attendee_id = 37)  + Friendship Load (0.1ms) SELECT * FROM `friendships` WHERE (`friendships`.user_id = 37)  + ProfilePhoto Load (0.2ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 37 AND (is_profile = 1)) LIMIT 1 + User Destroy (0.2ms) DELETE FROM `users` WHERE `id` = 37 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Permission Load (0.2ms) SELECT * FROM `permissions` WHERE (`permissions`.user_id = 38)  + Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.user_id = 38)  + Attendance Load (0.1ms) SELECT * FROM `attendances` WHERE (`attendances`.attendee_id = 38)  + Friendship Load (0.1ms) SELECT * FROM `friendships` WHERE (`friendships`.user_id = 38)  + ProfilePhoto Load (0.2ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 38 AND (is_profile = 1)) LIMIT 1 + User Destroy (0.2ms) DELETE FROM `users` WHERE `id` = 38 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Permission Load (0.2ms) SELECT * FROM `permissions` WHERE (`permissions`.user_id = 39)  + Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.user_id = 39)  + Attendance Load (0.1ms) SELECT * FROM `attendances` WHERE (`attendances`.attendee_id = 39)  + Friendship Load (0.1ms) SELECT * FROM `friendships` WHERE (`friendships`.user_id = 39)  + ProfilePhoto Load (0.2ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 39 AND (is_profile = 1)) LIMIT 1 + User Destroy (0.2ms) DELETE FROM `users` WHERE `id` = 39 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Permission Load (0.2ms) SELECT * FROM `permissions` WHERE (`permissions`.user_id = 40)  + Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.user_id = 40)  + Attendance Load (0.1ms) SELECT * FROM `attendances` WHERE (`attendances`.attendee_id = 40)  + Friendship Load (0.1ms) SELECT * FROM `friendships` WHERE (`friendships`.user_id = 40)  + ProfilePhoto Load (0.4ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 40 AND (is_profile = 1)) LIMIT 1 + User Destroy (0.3ms) DELETE FROM `users` WHERE `id` = 40 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + User Load (0.4ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'jdoe') LIMIT 1 + User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john@doe.com') LIMIT 1 + SQL (0.1ms) SAVEPOINT active_record_1 + Network Create (0.2ms) INSERT INTO `networks` (`name`, `created_at`, `updated_at`, `url`, `admin_email`, `website`, `organization`, `description`) VALUES('Test Network', '2010-12-22 05:17:29', '2010-12-22 05:17:29', NULL, NULL, 'www.test.com', 'Test Org', 'Network Description') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + Role Load (0.2ms) SELECT * FROM `roles`  + SQL (0.1ms) SAVEPOINT active_record_1 + Permission Load (0.2ms) SELECT * FROM `permissions` WHERE (`permissions`.role_id = 1)  + Role Destroy (0.2ms) DELETE FROM `roles` WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Permission Load (0.2ms) SELECT * FROM `permissions` WHERE (`permissions`.role_id = 2)  + Role Destroy (0.1ms) DELETE FROM `roles` WHERE `id` = 2 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Permission Load (0.1ms) SELECT * FROM `permissions` WHERE (`permissions`.role_id = 3)  + Role Destroy (0.1ms) DELETE FROM `roles` WHERE `id` = 3 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Permission Load (0.1ms) SELECT * FROM `permissions` WHERE (`permissions`.role_id = 4)  + Role Destroy (0.1ms) DELETE FROM `roles` WHERE `id` = 4 + SQL (0.0ms) RELEASE SAVEPOINT active_record_1 + SQL (0.0ms) SAVEPOINT active_record_1 + Permission Load (0.1ms) SELECT * FROM `permissions` WHERE (`permissions`.role_id = 5)  + Role Destroy (0.1ms) DELETE FROM `roles` WHERE `id` = 5 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Role Create (0.1ms) INSERT INTO `roles` (`created_at`, `updated_at`, `rolename`) VALUES('2010-12-22 05:17:29', '2010-12-22 05:17:29', 'creator') + SQL (0.0ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Role Create (0.1ms) INSERT INTO `roles` (`created_at`, `updated_at`, `rolename`) VALUES('2010-12-22 05:17:29', '2010-12-22 05:17:29', 'administrator') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Role Create (0.1ms) INSERT INTO `roles` (`created_at`, `updated_at`, `rolename`) VALUES('2010-12-22 05:17:29', '2010-12-22 05:17:29', 'group_admin') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Role Create (0.1ms) INSERT INTO `roles` (`created_at`, `updated_at`, `rolename`) VALUES('2010-12-22 05:17:29', '2010-12-22 05:17:29', 'user') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Role Create (0.3ms) INSERT INTO `roles` (`created_at`, `updated_at`, `rolename`) VALUES('2010-12-22 05:17:29', '2010-12-22 05:17:29', 'contributor') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + User Load (0.4ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`login`) = BINARY 'jdoe') LIMIT 1 + User Load (0.2ms) SELECT `users`.id FROM `users` WHERE (LOWER(`users`.`email`) = BINARY 'john@doe.com') LIMIT 1 + User Create (0.4ms) INSERT INTO `users` (`city`, `occupation`, `flickr`, `facebook_id`, `salt`, `created_at`, `zip`, `about_me`, `activated_at`, `blog`, `display_tweets`, `yahoo_messenger_name`, `skype_name`, `facebook_url`, `company_url`, `crypted_password`, `remember_token_expires_at`, `updated_at`, `featured`, `last_seen_at`, `password_reset_code`, `country_id`, `skills`, `show_blog_posts_on_home`, `msn_name`, `activation_code`, `api_key`, `flickr_username`, `linked_in_url`, `gtalk_name`, `posts_count`, `enabled`, `email_hash`, `sex`, `phone2`, `last_name`, `phone`, `website`, `blog_feed`, `twitter_id`, `aim_name`, `resume_url`, `login_count`, `remember_token`, `is_active`, `time_zone`, `organization`, `login`, `state_id`, `youtube_username`, `identity_url`, `email`, `first_name`, `use_gravatar`, `receive_emails`) VALUES(NULL, NULL, NULL, NULL, '193b43b4570f09a6eba10ad3307e47b450ef4cb3', '2010-12-22 05:17:29', NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, '4431a183abb02ad3fcfc090ef35ba3d3b59ee5fb', NULL, '2010-12-22 05:17:29', 0, NULL, NULL, NULL, NULL, 1, NULL, '86e5c41e7e011365a47e8aa86b04331770b6f47a', '', NULL, NULL, NULL, 0, 1, NULL, NULL, NULL, 'Doe', NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, 0, 'UTC', NULL, 'jdoe', NULL, NULL, NULL, 'john@doe.com', 'John', 0, 1) + SQL (0.2ms) ROLLBACK TO SAVEPOINT active_record_1 + SQL (40.4ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing HomeController#index (for 0.0.0.0 at 2010-12-21 22:17:29) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + Network Load (0.3ms) SELECT * FROM `networks` LIMIT 1 + Page Load (0.2ms) SELECT * FROM `pages` WHERE (`pages`.`name` = 'home') LIMIT 1 + Photo Load (0.3ms) SELECT id, parent_id, filename FROM `photos` WHERE (`photos`.`thumbnail` IS NULL AND `photos`.`is_profile` IS NULL) ORDER BY RAND() LIMIT 6 +Rendering template within layouts/application +Rendering home/index +Rendered shared/_network_info_widget (0.8ms) +Rendered users/_user_control_widget (1.0ms) +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing HomeController#install (for 0.0.0.0 at 2010-12-21 22:17:29) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Rendering template within layouts/install +Rendering home/install +Rendered shared/_footer (4.9ms) +Completed in 39ms (View: 37, DB: 0) | 200 OK [http://test.host/home/install] + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.5ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (0.2ms) SELECT count(*) AS count_all FROM `html_contents`  + + +Processing HtmlContentsController#create (for 0.0.0.0 at 2010-12-21 22:17:29) [POST] + Parameters: {"html_content"=>{}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.5ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + SQL (0.1ms) SAVEPOINT active_record_1 + HtmlContent Create (0.2ms) INSERT INTO `html_contents` (`created_at`, `title`, `body`, `updated_at`) VALUES('2010-12-22 05:17:29', NULL, NULL, '2010-12-22 05:17:29') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/html_contents/3 +Completed in 12ms (DB: 2) | 302 Found [http://test.host/html_contents?] + SQL (0.2ms) SELECT count(*) AS count_all FROM `html_contents`  + SQL (35.8ms) ROLLBACK + SQL (0.0ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (0.2ms) SELECT count(*) AS count_all FROM `html_contents`  + HtmlContent Load (0.2ms) SELECT * FROM `html_contents` WHERE (`html_contents`.`id` = 1)  + + +Processing HtmlContentsController#destroy (for 0.0.0.0 at 2010-12-21 22:17:29) [DELETE] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + HtmlContent Load (0.1ms) SELECT * FROM `html_contents` WHERE (`html_contents`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + HtmlContent Destroy (0.2ms) DELETE FROM `html_contents` WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/html_contents +Completed in 4ms (DB: 37) | 302 Found [http://test.host/html_contents/1] + SQL (0.2ms) SELECT count(*) AS count_all FROM `html_contents`  + SQL (34.8ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + HtmlContent Load (0.3ms) SELECT * FROM `html_contents` WHERE (`html_contents`.`id` = 1)  + + +Processing HtmlContentsController#edit (for 0.0.0.0 at 2010-12-21 22:17:29) [GET] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + HtmlContent Load (0.1ms) SELECT * FROM `html_contents` WHERE (`html_contents`.`id` = 1)  +Rendering template within layouts/application +Rendering html_contents/edit +Rendered html_contents/_html_content_form (3.5ms) +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + + +Processing HtmlContentsController#index (for 0.0.0.0 at 2010-12-21 22:17:29) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + HtmlContent Load (0.3ms) SELECT * FROM `html_contents`  +Rendering template within layouts/application +Rendering html_contents/index +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + + +Processing HtmlContentsController#new (for 0.0.0.0 at 2010-12-21 22:17:29) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 +Rendering template within layouts/application +Rendering html_contents/new +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + HtmlContent Load (0.1ms) SELECT * FROM `html_contents` WHERE (`html_contents`.`id` = 1)  + + +Processing HtmlContentsController#update (for 0.0.0.0 at 2010-12-21 22:17:29) [PUT] + Parameters: {"id"=>"1", "html_content"=>{}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + HtmlContent Load (0.1ms) SELECT * FROM `html_contents` WHERE (`html_contents`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + SQL (0.2ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/ +Completed in 159ms (DB: 1) | 302 Found [http://test.host/html_contents/1?] + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.3ms) SELECT count(*) AS count_all FROM `ideas`  + + +Processing IdeasController#create (for 0.0.0.0 at 2010-12-21 22:17:30) [POST] + Parameters: {"idea"=>{"title"=>"Idea 1", "user_id"=>1, "description"=>"Idea 1 Desc"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + SQL (0.1ms) SAVEPOINT active_record_1 + Idea Create (0.2ms) INSERT INTO `ideas` (`created_at`, `title`, `updated_at`, `group_id`, `user_id`, `description`) VALUES('2010-12-22 05:17:30', 'Idea 1', '2010-12-22 05:17:30', NULL, NULL, 'Idea 1 Desc') + Activity Create (0.2ms) INSERT INTO `activities` (`created_at`, `public`, `updated_at`, `action`, `user_id`, `item_id`, `item_type`) VALUES('2010-12-22 05:17:30', 1, '2010-12-22 05:17:30', NULL, NULL, 3, 'Idea') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/ideas/3 +Completed in 17ms (DB: 1) | 302 Found [http://test.host/ideas?idea%5Bdescription%5D=Idea+1+Desc&idea%5Btitle%5D=Idea+1&idea%5Buser_id%5D=1] + SQL (0.2ms) SELECT count(*) AS count_all FROM `ideas`  + SQL (39.2ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.2ms) SELECT count(*) AS count_all FROM `ideas`  + Idea Load (0.2ms) SELECT * FROM `ideas` WHERE (`ideas`.`id` = 1)  + + +Processing IdeasController#destroy (for 0.0.0.0 at 2010-12-21 22:17:30) [DELETE] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + Idea Load (0.1ms) SELECT * FROM `ideas` WHERE (`ideas`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + Idea Destroy (0.3ms) DELETE FROM `ideas` WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/ideas +Completed in 4ms (DB: 41) | 302 Found [http://test.host/ideas/1] + SQL (0.2ms) SELECT count(*) AS count_all FROM `ideas`  + SQL (35.9ms) ROLLBACK + SQL (0.1ms) BEGIN + Idea Load (0.3ms) SELECT * FROM `ideas` WHERE (`ideas`.`id` = 1)  + + +Processing IdeasController#edit (for 0.0.0.0 at 2010-12-21 22:17:30) [GET] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + Idea Load (0.1ms) SELECT * FROM `ideas` WHERE (`ideas`.`id` = 1)  +Rendering template within layouts/application +Rendering ideas/edit +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.0ms) BEGIN + + +Processing IdeasController#index (for 0.0.0.0 at 2010-12-21 22:17:30) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + Idea Load (0.3ms) SELECT * FROM `ideas`  +Rendering template within layouts/application +Rendering ideas/index +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.0ms) BEGIN + + +Processing IdeasController#new (for 0.0.0.0 at 2010-12-21 22:17:30) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Rendering template within layouts/application +Rendering ideas/new +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + Idea Load (0.1ms) SELECT * FROM `ideas` WHERE (`ideas`.`id` = 1)  + + +Processing IdeasController#show (for 0.0.0.0 at 2010-12-21 22:17:30) [GET] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + Idea Load (0.1ms) SELECT * FROM `ideas` WHERE (`ideas`.`id` = 1)  +Rendering template within layouts/application +Rendering ideas/show +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + Idea Load (0.1ms) SELECT * FROM `ideas` WHERE (`ideas`.`id` = 1)  + + +Processing IdeasController#update (for 0.0.0.0 at 2010-12-21 22:17:30) [PUT] + Parameters: {"idea"=>{"title"=>"Idea 1", "user_id"=>1, "description"=>"Idea 1 Desc"}, "id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + Idea Load (0.1ms) SELECT * FROM `ideas` WHERE (`ideas`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + Idea Update (0.3ms) UPDATE `ideas` SET `updated_at` = '2010-12-22 05:17:30', `title` = 'Idea 1', `description` = 'Idea 1 Desc' WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/ideas/1 +Completed in 5ms (DB: 1) | 302 Found [http://test.host/ideas/1?idea%5Bdescription%5D=Idea+1+Desc&idea%5Btitle%5D=Idea+1&idea%5Buser_id%5D=1] + SQL (63.3ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (0.2ms) SELECT count(*) AS count_all FROM `invites`  + + +Processing InvitesController#create (for 0.0.0.0 at 2010-12-21 22:17:30) [POST] + Parameters: {"invite"=>{"invite_code"=>"12345", "user_id"=>1, "message"=>"Invite Message", "accepted"=>false, "email"=>"user@test.com"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + Invite Load (0.3ms) SELECT * FROM `invites` WHERE (`invites`.`email` = 'user@test.com') LIMIT 1 + SQL (0.1ms) SAVEPOINT active_record_1 + Invite Create (0.2ms) INSERT INTO `invites` (`created_at`, `updated_at`, `invite_code`, `user_id`, `message`, `accepted`, `email`) VALUES('2010-12-22 05:17:30', '2010-12-22 05:17:30', 'iIsz4W7pVYpPfdPr', 1, 'Invite Message', 0, 'user@test.com') + Network Load (0.1ms) SELECT * FROM `networks` LIMIT 1 +Sent mail to user@test.com + +Date: Tue, 21 Dec 2010 22:17:30 -0700 +From: quentin@example.com +To: user@test.com +Subject: An Invitation to Join Test Network +Mime-Version: 1.0 +Content-Type: text/html; charset=utf-8 + + + + +quentin test has invited you to join the Michigan Ruby Community +at RubyMI.org. +

    +To accept this invitation, click this link:
    +http://www.rubymi.org/signup?invite_code=iIsz4W7pVYpPfdPr + SQL (0.4ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/invites/3 +Completed in 19ms (DB: 65) | 302 Found [http://test.host/invites?invite%5Baccepted%5D=false&invite%5Bemail%5D=user%40test.com&invite%5Binvite_code%5D=12345&invite%5Bmessage%5D=Invite+Message&invite%5Buser_id%5D=1] + SQL (0.2ms) SELECT count(*) AS count_all FROM `invites`  + SQL (39.0ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (0.2ms) SELECT count(*) AS count_all FROM `invites`  + Invite Load (0.2ms) SELECT * FROM `invites` WHERE (`invites`.`id` = 1)  + + +Processing InvitesController#destroy (for 0.0.0.0 at 2010-12-21 22:17:30) [DELETE] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + Invite Load (0.2ms) SELECT * FROM `invites` WHERE (`invites`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + Invite Destroy (0.2ms) DELETE FROM `invites` WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/invites +Completed in 4ms (DB: 41) | 302 Found [http://test.host/invites/1] + SQL (0.2ms) SELECT count(*) AS count_all FROM `invites`  + SQL (27.5ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Invite Load (0.3ms) SELECT * FROM `invites` WHERE (`invites`.`id` = 1)  + + +Processing InvitesController#edit (for 0.0.0.0 at 2010-12-21 22:17:30) [GET] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + Invite Load (0.1ms) SELECT * FROM `invites` WHERE (`invites`.`id` = 1)  +Rendering template within layouts/application +Rendering invites/edit +Rendered layouts/_widgets (0.2ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + + +Processing InvitesController#index (for 0.0.0.0 at 2010-12-21 22:17:30) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + Invite Load (0.3ms) SELECT * FROM `invites`  +Rendering template within layouts/application +Rendering invites/index +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + + +Processing InvitesController#new (for 0.0.0.0 at 2010-12-21 22:17:30) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 +Rendering template within layouts/application +Rendering invites/new +Rendered invites/_invite_form (2.5ms) +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + + +Processing InvitesController#create (for 0.0.0.0 at 2010-12-21 22:17:31) [POST] + Parameters: {"invite"=>{"invite_code"=>"12345", "user_id"=>1, "message"=>"Invite Message", "accepted"=>false, "email"=>"user@test.com"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + Invite Load (0.3ms) SELECT * FROM `invites` WHERE (`invites`.`email` = 'user@test.com') LIMIT 1 + SQL (0.1ms) SAVEPOINT active_record_1 + Invite Create (0.2ms) INSERT INTO `invites` (`created_at`, `updated_at`, `invite_code`, `user_id`, `message`, `accepted`, `email`) VALUES('2010-12-22 05:17:31', '2010-12-22 05:17:31', 'XiLffrtqYvnI5tuX', 1, 'Invite Message', 0, 'user@test.com') + Network Load (0.1ms) SELECT * FROM `networks` LIMIT 1 +Sent mail to user@test.com + +Date: Tue, 21 Dec 2010 22:17:31 -0700 +From: quentin@example.com +To: user@test.com +Subject: An Invitation to Join Test Network +Mime-Version: 1.0 +Content-Type: text/html; charset=utf-8 + + + + +quentin test has invited you to join the Michigan Ruby Community +at RubyMI.org. +

    +To accept this invitation, click this link:
    +http://www.rubymi.org/signup?invite_code=XiLffrtqYvnI5tuX + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/invites/4 +Completed in 10ms (DB: 1) | 302 Found [http://test.host/invites?invite%5Baccepted%5D=false&invite%5Bemail%5D=user%40test.com&invite%5Binvite_code%5D=12345&invite%5Bmessage%5D=Invite+Message&invite%5Buser_id%5D=1] + + +Processing InvitesController#create (for 0.0.0.0 at 2010-12-21 22:17:31) [POST] + Parameters: {"invite"=>{"invite_code"=>"12345", "user_id"=>1, "message"=>"Invite Message", "accepted"=>false, "email"=>"user@test.com"}} + Invite Load (0.3ms) SELECT * FROM `invites` WHERE (`invites`.`email` = 'user@test.com') LIMIT 1 +Rendering template within layouts/application +Rendering invites/new +Rendered invites/_invite_form (2.1ms) +Rendered layouts/_widgets (0.1ms) + SQL (33.4ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Invite Load (0.4ms) SELECT * FROM `invites` WHERE (`invites`.`id` = 1)  + + +Processing InvitesController#show (for 0.0.0.0 at 2010-12-21 22:17:31) [GET] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + Invite Load (0.1ms) SELECT * FROM `invites` WHERE (`invites`.`id` = 1)  +Rendering template within layouts/application +Rendering invites/show +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Invite Load (0.1ms) SELECT * FROM `invites` WHERE (`invites`.`id` = 1)  + + +Processing InvitesController#update (for 0.0.0.0 at 2010-12-21 22:17:31) [PUT] + Parameters: {"invite"=>{"invite_code"=>"12345", "user_id"=>1, "message"=>"Invite Message", "accepted"=>false, "email"=>"test@email.com"}, "id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + Invite Load (0.1ms) SELECT * FROM `invites` WHERE (`invites`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + Invite Update (0.3ms) UPDATE `invites` SET `updated_at` = '2010-12-22 05:17:31', `message` = 'Invite Message', `email` = 'test@email.com', `invite_code` = '12345' WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/invites/1 +Completed in 6ms (DB: 1) | 302 Found [http://test.host/invites/1?invite%5Baccepted%5D=false&invite%5Bemail%5D=test%40email.com&invite%5Binvite_code%5D=12345&invite%5Bmessage%5D=Invite+Message&invite%5Buser_id%5D=1] + SQL (31.2ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (0.2ms) SELECT count(*) AS count_all FROM `job_posts`  + + +Processing JobPostsController#create (for 0.0.0.0 at 2010-12-21 22:17:31) [POST] + Parameters: {"job_post"=>{"company"=>"Goodco", "contact_name"=>"contactman", "job_title"=>"super job", "featured"=>false, "website"=>"website.com", "description"=>"an ok job", "end_date"=>Tue Dec 21 22:17:31 -0700 2010, "job_id"=>1, "email"=>"mail@mail.com"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + SQL (0.1ms) SAVEPOINT active_record_1 + JobPost Create (0.3ms) INSERT INTO `job_posts` (`company`, `contact_name`, `created_at`, `job_title`, `featured`, `updated_at`, `website`, `description`, `job_id`, `end_date`, `email`) VALUES('Goodco', 'contactman', '2010-12-22 05:17:31', 'super job', 0, '2010-12-22 05:17:31', 'website.com', 'an ok job', 1, '2010-12-21 22:17:31', 'mail@mail.com') + Activity Create (0.1ms) INSERT INTO `activities` (`created_at`, `public`, `updated_at`, `action`, `user_id`, `item_id`, `item_type`) VALUES('2010-12-22 05:17:31', 1, '2010-12-22 05:17:31', NULL, NULL, 4, 'JobPost') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/job_posts +Completed in 16ms (DB: 33) | 302 Found [http://test.host/job_posts?job_post%5Bcompany%5D=Goodco&job_post%5Bcontact_name%5D=contactman&job_post%5Bdescription%5D=an+ok+job&job_post%5Bemail%5D=mail%40mail.com&job_post%5Bend_date%5D=Tue+Dec+21+22%3A17%3A31+-0700+2010&job_post%5Bfeatured%5D=false&job_post%5Bjob_id%5D=1&job_post%5Bjob_title%5D=super+job&job_post%5Bwebsite%5D=website.com] + SQL (0.2ms) SELECT count(*) AS count_all FROM `job_posts`  + SQL (31.5ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (0.2ms) SELECT count(*) AS count_all FROM `job_posts`  + JobPost Load (0.2ms) SELECT * FROM `job_posts` WHERE (`job_posts`.`id` = 1)  + + +Processing JobPostsController#destroy (for 0.0.0.0 at 2010-12-21 22:17:31) [DELETE] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + JobPost Load (0.1ms) SELECT * FROM `job_posts` WHERE (`job_posts`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + Tagging Load (0.4ms) SELECT * FROM `taggings` WHERE (`taggings`.taggable_id = 1 AND `taggings`.taggable_type = 'JobPost' AND (context = 'tags'))  + Tagging Load (0.2ms) SELECT * FROM `taggings` WHERE (`taggings`.taggable_id = 1 AND `taggings`.taggable_type = 'JobPost')  + JobPost Destroy (0.2ms) DELETE FROM `job_posts` WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/job_posts +Completed in 6ms (DB: 34) | 302 Found [http://test.host/job_posts/1] + SQL (0.2ms) SELECT count(*) AS count_all FROM `job_posts`  + SQL (33.7ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + JobPost Load (0.3ms) SELECT * FROM `job_posts` WHERE (`job_posts`.`id` = 1)  + + +Processing JobPostsController#edit (for 0.0.0.0 at 2010-12-21 22:17:31) [GET] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + JobPost Load (0.1ms) SELECT * FROM `job_posts` WHERE (`job_posts`.`id` = 1)  +Rendering template within layouts/application +Rendering job_posts/job_posts_edit +Rendered job_posts/_job_post_form (7.5ms) +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + + +Processing JobPostsController#index (for 0.0.0.0 at 2010-12-21 22:17:31) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + JobPost Load (0.4ms) SELECT * FROM `job_posts` ORDER BY created_at DESC +Rendering template within layouts/application +Rendering job_posts/index + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 +Rendered job_posts/_job_post_brief (1.6ms) + Role Load (0.4ms) SELECT `roles`.* FROM `roles` INNER JOIN `permissions` ON `roles`.id = `permissions`.role_id WHERE ((`permissions`.user_id = 1))  +Rendered job_posts/_job_post_brief (0.3ms) +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + + +Processing JobPostsController#new (for 0.0.0.0 at 2010-12-21 22:17:31) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 +Rendering template within layouts/application +Rendering job_posts/new +Rendered job_posts/_job_post_form (4.0ms) +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + JobPost Load (0.1ms) SELECT * FROM `job_posts` WHERE (`job_posts`.`id` = 1)  + + +Processing JobPostsController#update (for 0.0.0.0 at 2010-12-21 22:17:31) [PUT] + Parameters: {"job_post"=>{}, "id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + JobPost Load (0.1ms) SELECT * FROM `job_posts` WHERE (`job_posts`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/job_posts +Completed in 6ms (DB: 1) | 302 Found [http://test.host/job_posts/1?] + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (0.2ms) SELECT count(*) AS count_all FROM `links`  + + +Processing LinksController#create (for 0.0.0.0 at 2010-12-21 22:17:31) [POST] + Parameters: {"link"=>{"title"=>"My Link", "url"=>"http://www.link.com", "user_id"=>1}} + Theme Load (0.2ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + SQL (0.2ms) SAVEPOINT active_record_1 + Link Create (0.2ms) INSERT INTO `links` (`created_at`, `title`, `updated_at`, `url`, `user_id`) VALUES('2010-12-22 05:17:31', 'My Link', '2010-12-22 05:17:31', 'http://www.link.com', 1) + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Activity Create (0.2ms) INSERT INTO `activities` (`created_at`, `public`, `updated_at`, `action`, `user_id`, `item_id`, `item_type`) VALUES('2010-12-22 05:17:31', 1, '2010-12-22 05:17:31', NULL, 1, 4, 'Link') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/links +Completed in 19ms (DB: 2) | 302 Found [http://test.host/links?link%5Btitle%5D=My+Link&link%5Burl%5D=http%3A%2F%2Fwww.link.com&link%5Buser_id%5D=1] + SQL (0.2ms) SELECT count(*) AS count_all FROM `links`  + SQL (40.7ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (0.2ms) SELECT count(*) AS count_all FROM `links`  + Link Load (0.2ms) SELECT * FROM `links` WHERE (`links`.`id` = 1)  + + +Processing LinksController#destroy (for 0.0.0.0 at 2010-12-21 22:17:32) [DELETE] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + Link Load (0.1ms) SELECT * FROM `links` WHERE (`links`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + Link Destroy (0.2ms) DELETE FROM `links` WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/links +Completed in 5ms (DB: 42) | 302 Found [http://test.host/links/1] + SQL (0.2ms) SELECT count(*) AS count_all FROM `links`  + SQL (34.3ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Link Load (0.4ms) SELECT * FROM `links` WHERE (`links`.`id` = 1)  + + +Processing LinksController#edit (for 0.0.0.0 at 2010-12-21 22:17:32) [GET] + Parameters: {"id"=>"1"} + Theme Load (0.2ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + Link Load (0.1ms) SELECT * FROM `links` WHERE (`links`.`id` = 1)  +Rendering template within layouts/application +Rendering links/edit +Rendered links/_link_form (3.4ms) +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + + +Processing LinksController#index (for 0.0.0.0 at 2010-12-21 22:17:32) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + Link Load (0.3ms) SELECT * FROM `links` ORDER BY created_at DESC LIMIT 0, 30 + SQL (0.1ms) SELECT count(*) AS count_all FROM `links`  +Rendering template within layouts/application + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Role Load (0.1ms) SELECT `roles`.* FROM `roles` INNER JOIN `permissions` ON `roles`.id = `permissions`.role_id WHERE ((`permissions`.user_id = 1))  + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  +Rendered links/_links_canvas (11.0ms) +Rendered layouts/_widgets (0.1ms) + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + + +Processing LinksController#new (for 0.0.0.0 at 2010-12-21 22:17:32) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 +Rendering template within layouts/application +Rendering links/new +Rendered links/_link_form (1.9ms) +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Link Load (0.1ms) SELECT * FROM `links` WHERE (`links`.`id` = 1)  + + +Processing LinksController#update (for 0.0.0.0 at 2010-12-21 22:17:32) [PUT] + Parameters: {"id"=>"1", "link"=>{"title"=>"My Link", "url"=>"http://www.link.com", "user_id"=>1}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + Link Load (0.1ms) SELECT * FROM `links` WHERE (`links`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + Link Update (0.3ms) UPDATE `links` SET `updated_at` = '2010-12-22 05:17:32', `title` = 'My Link', `url` = 'http://www.link.com' WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/links +Completed in 6ms (DB: 1) | 302 Found [http://test.host/links/1?link%5Btitle%5D=My+Link&link%5Burl%5D=http%3A%2F%2Fwww.link.com&link%5Buser_id%5D=1] + SQL (40.1ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.3ms) SELECT count(*) AS count_all FROM `memberships`  + + +Processing MembershipsController#create (for 0.0.0.0 at 2010-12-21 22:17:32) [POST] + Parameters: {"group_id"=>"1", "user_id"=>"8"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.6ms) SELECT * FROM `users` WHERE (`users`.`id` = 8)  + Role Load (0.2ms) SELECT `roles`.* FROM `roles` INNER JOIN `permissions` ON `roles`.id = `permissions`.role_id WHERE ((`permissions`.user_id = 8))  + Role Load (0.2ms) SELECT * FROM `roles` WHERE (`roles`.`rolename` = 'user') LIMIT 1 + SQL (0.1ms) SAVEPOINT active_record_1 + Membership Create (0.2ms) INSERT INTO `memberships` (`created_at`, `updated_at`, `role_id`, `group_id`, `user_id`) VALUES('2010-12-22 05:17:32', '2010-12-22 05:17:32', 3, 1, 8) + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 8)  + Activity Create (0.2ms) INSERT INTO `activities` (`created_at`, `public`, `updated_at`, `action`, `user_id`, `item_id`, `item_type`) VALUES('2010-12-22 05:17:32', 1, '2010-12-22 05:17:32', NULL, 8, 5, 'Membership') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/groups/1 +Completed in 19ms (DB: 42) | 302 Found [http://test.host/memberships?group_id=1&user_id=8] + SQL (0.2ms) SELECT count(*) AS count_all FROM `memberships`  + SQL (30.5ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.2ms) SELECT count(*) AS count_all FROM `memberships`  + + +Processing MembershipsController#destroy (for 0.0.0.0 at 2010-12-21 22:17:32) [DELETE] + Parameters: {"group_id"=>"1", "user_id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + Membership Load (0.3ms) SELECT * FROM `memberships` WHERE (`memberships`.`user_id` = '1' AND `memberships`.`group_id` = '1') LIMIT 1 + SQL (0.1ms) SAVEPOINT active_record_1 + Membership Destroy (0.2ms) DELETE FROM `memberships` WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/groups +Completed in 4ms (DB: 32) | 302 Found [http://test.host/memberships/destroy?group_id=1&user_id=1] + SQL (0.2ms) SELECT count(*) AS count_all FROM `memberships`  + SQL (36.2ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing MembershipsController#find (for 0.0.0.0 at 2010-12-21 22:17:32) [GET] + Parameters: {"group_id"=>"1", "user_id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + Membership Load (0.3ms) SELECT * FROM `memberships` WHERE (`memberships`.`user_id` = '1' AND `memberships`.`group_id` = '1') LIMIT 1 +Rendering template within layouts/application +Rendering memberships/find +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + Membership Load (0.3ms) SELECT * FROM `memberships` WHERE (`memberships`.`id` = 1)  + + +Processing MembershipsController#update (for 0.0.0.0 at 2010-12-21 22:17:32) [PUT] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + Membership Load (0.1ms) SELECT * FROM `memberships` WHERE (`memberships`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/memberships/1 +Completed in 4ms (DB: 1) | 302 Found [http://test.host/memberships/1] + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (0.2ms) SELECT count(*) AS count_all FROM `messages`  + + +Processing MessagesController#create (for 0.0.0.0 at 2010-12-21 22:17:32) [POST] + Parameters: {"message"=>{"body"=>"message body", "read"=>false, "recipient_id"=>2, "subject"=>"a message", "sender_id"=>1}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + SQL (0.1ms) SAVEPOINT active_record_1 + Message Create (0.2ms) INSERT INTO `messages` (`created_at`, `body`, `updated_at`, `read`, `subject`, `recipient_id`, `sender_id`) VALUES('2010-12-22 05:17:32', 'message body', '2010-12-22 05:17:32', 0, 'a message', 2, 1) + User Load (0.5ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  + Network Load (0.1ms) SELECT * FROM `networks` LIMIT 1 +Sent mail to aaron@example.com + +Date: Tue, 21 Dec 2010 22:17:32 -0700 +To: aaron@example.com +Subject: [Test Network] Message Notification +Mime-Version: 1.0 +Content-Type: text/html; charset=utf-8 + + +aaron test has sent you a private message at RubyMI.org. + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/messages/980190963 +Completed in 27ms (DB: 2) | 302 Found [http://test.host/messages?message%5Bbody%5D=message+body&message%5Bread%5D=false&message%5Brecipient_id%5D=2&message%5Bsender_id%5D=1&message%5Bsubject%5D=a+message] + SQL (0.4ms) SELECT count(*) AS count_all FROM `messages`  + SQL (55.1ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (0.3ms) SELECT count(*) AS count_all FROM `messages`  + Message Load (0.4ms) SELECT * FROM `messages` WHERE (`messages`.`id` = 980190962)  + + +Processing MessagesController#destroy (for 0.0.0.0 at 2010-12-21 22:17:32) [DELETE] + Parameters: {"id"=>"980190962"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + Message Load (0.1ms) SELECT * FROM `messages` WHERE (`messages`.`id` = 980190962)  + SQL (0.1ms) SAVEPOINT active_record_1 + Message Destroy (0.2ms) DELETE FROM `messages` WHERE `id` = 980190962 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/users/1/messages +Completed in 4ms (DB: 57) | 302 Found [http://test.host/messages/980190962] + SQL (0.2ms) SELECT count(*) AS count_all FROM `messages`  + SQL (38.5ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.3ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + + +Processing MessagesController#index (for 0.0.0.0 at 2010-12-21 22:17:32) [GET] + Parameters: {"user_id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  +Rendering template within layouts/application +Rendering messages/index + SQL (0.4ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.recipient_id = 1)  +Rendered messages/_received_messages_list (2.3ms) + SQL (0.2ms) SELECT count(*) AS count_all FROM `messages` WHERE (`messages`.sender_id = 1)  + Message Load (0.2ms) SELECT * FROM `messages` WHERE (`messages`.sender_id = 1) ORDER BY created_at DESC + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  +Rendered messages/_sent_messages_list (9.6ms) +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + + +Processing MessagesController#new (for 0.0.0.0 at 2010-12-21 22:17:33) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + User Load (1.3ms) SELECT * FROM `users` WHERE (activated_at is not null)  +Rendering template within layouts/application +Rendering messages/new +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Message Load (0.3ms) SELECT * FROM `messages` WHERE (`messages`.`id` = 980190962)  + + +Processing MessagesController#show (for 0.0.0.0 at 2010-12-21 22:17:33) [GET] + Parameters: {"id"=>"980190962"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + Message Load (0.1ms) SELECT * FROM `messages` WHERE (`messages`.`id` = 980190962)  + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  +Rendering template within layouts/application +Rendering messages/show + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + ProfilePhoto Load (0.4ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 1 AND (is_profile = 1)) LIMIT 1 +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Message Load (0.1ms) SELECT * FROM `messages` WHERE (`messages`.`id` = 980190962)  + + +Processing MessagesController#update (for 0.0.0.0 at 2010-12-21 22:17:33) [PUT] + Parameters: {"id"=>"980190962", "message"=>{}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + Message Load (0.1ms) SELECT * FROM `messages` WHERE (`messages`.`id` = 980190962)  + SQL (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/messages/980190962 +Completed in 5ms (DB: 2) | 302 Found [http://test.host/messages/980190962?] + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + NavItem Columns (0.8ms) SHOW FIELDS FROM `nav_items` + SQL (0.2ms) SELECT count(*) AS count_all FROM `nav_items`  + + +Processing NavItemsController#create (for 0.0.0.0 at 2010-12-21 22:17:33) [POST] + Parameters: {"nav_item"=>{}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + SQL (0.1ms) SAVEPOINT active_record_1 + NavItem Create (0.3ms) INSERT INTO `nav_items` (`name`, `login_allowed`, `created_at`, `title`, `updated_at`, `url`, `enabled`, `admin_required`, `login_required`) VALUES(NULL, NULL, '2010-12-22 05:17:33', NULL, '2010-12-22 05:17:33', NULL, NULL, NULL, NULL) + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/nav_items/1 +Completed in 14ms (DB: 2) | 302 Found [http://test.host/nav_items?] + SQL (0.2ms) SELECT count(*) AS count_all FROM `nav_items`  + SQL (47.9ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.3ms) SELECT count(*) AS count_all FROM `nav_items`  + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.1ms) ROLLBACK + SQL (0.0ms) BEGIN + + +Processing NavItemsController#index (for 0.0.0.0 at 2010-12-21 22:17:33) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + NavItem Load (0.3ms) SELECT * FROM `nav_items`  +Rendering template within layouts/nav_items +Rendering nav_items/index +Completed in 28ms (View: 26, DB: 49) | 200 OK [http://test.host/nav_items] + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing NavItemsController#new (for 0.0.0.0 at 2010-12-21 22:17:33) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Rendering template within layouts/nav_items +Rendering nav_items/new +Completed in 26ms (View: 24, DB: 0) | 200 OK [http://test.host/nav_items/new] + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Network Load (0.3ms) SELECT * FROM `networks` WHERE (`networks`.`id` = 1)  + + +Processing NetworksController#edit (for 0.0.0.0 at 2010-12-21 22:17:33) [GET] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + Network Load (0.1ms) SELECT * FROM `networks` WHERE (`networks`.`id` = 1)  +Rendering template within layouts/application +Rendering networks/edit +Rendered networks/_network_form (5.2ms) +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Network Load (0.1ms) SELECT * FROM `networks` WHERE (`networks`.`id` = 1)  + + +Processing NetworksController#update (for 0.0.0.0 at 2010-12-21 22:17:33) [PUT] + Parameters: {"id"=>"1", "network"=>{"name"=>"Updated Network Name", "website"=>"www.website.com", "description"=>"This is a test network", "organization"=>"TestCo"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + Network Load (0.1ms) SELECT * FROM `networks` WHERE (`networks`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + Network Update (0.3ms) UPDATE `networks` SET `updated_at` = '2010-12-22 05:17:33', `name` = 'Updated Network Name', `description` = 'This is a test network', `website` = 'www.website.com' WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/networks/1 +Completed in 6ms (DB: 1) | 302 Found [http://test.host/networks/1?network%5Bdescription%5D=This+is+a+test+network&network%5Bname%5D=Updated+Network+Name&network%5Borganization%5D=TestCo&network%5Bwebsite%5D=www.website.com] + SQL (38.7ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.3ms) SELECT count(*) AS count_all FROM `pages`  + + +Processing PagesController#create (for 0.0.0.0 at 2010-12-21 22:17:33) [POST] + Parameters: {"page"=>{"name"=>"page name", "permalink"=>"link", "title"=>"page title"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + SQL (0.1ms) SAVEPOINT active_record_1 + Page Create (0.2ms) INSERT INTO `pages` (`permalink`, `name`, `created_at`, `title`, `updated_at`) VALUES('page_title', 'page name', '2010-12-22 05:17:33', 'page title', '2010-12-22 05:17:33') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/pages/4-page_title +Completed in 13ms (DB: 40) | 302 Found [http://test.host/pages?page%5Bname%5D=page+name&page%5Bpermalink%5D=link&page%5Btitle%5D=page+title] + SQL (0.2ms) SELECT count(*) AS count_all FROM `pages`  + SQL (39.4ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.3ms) SELECT count(*) AS count_all FROM `pages`  + Page Load (0.2ms) SELECT * FROM `pages` WHERE (`pages`.`id` = 1)  + + +Processing PagesController#destroy (for 0.0.0.0 at 2010-12-21 22:17:33) [DELETE] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + Page Load (0.1ms) SELECT * FROM `pages` WHERE (`pages`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + Page Destroy (0.2ms) DELETE FROM `pages` WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/pages +Completed in 4ms (DB: 41) | 302 Found [http://test.host/pages/1] + SQL (0.2ms) SELECT count(*) AS count_all FROM `pages`  + SQL (35.0ms) ROLLBACK + SQL (0.1ms) BEGIN + Page Load (0.3ms) SELECT * FROM `pages` WHERE (`pages`.`id` = 1)  + + +Processing PagesController#show (for 0.0.0.0 at 2010-12-21 22:17:33) [GET] + Parameters: {"title"=>"test page"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + Page Load (0.3ms) SELECT * FROM `pages` WHERE (`pages`.`name` IS NULL) LIMIT 1 + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + Page Load (0.1ms) SELECT * FROM `pages` WHERE (`pages`.`id` = 1)  + + +Processing PagesController#update (for 0.0.0.0 at 2010-12-21 22:17:33) [PUT] + Parameters: {"id"=>"1", "page"=>{"name"=>"page name 2", "permalink"=>"link", "title"=>"page title 2"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + Page Load (0.1ms) SELECT * FROM `pages` WHERE (`pages`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + Page Update (0.3ms) UPDATE `pages` SET `updated_at` = '2010-12-22 05:17:33', `name` = 'page name 2', `title` = 'page title 2', `permalink` = 'link' WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/pages/1-link +Completed in 5ms (DB: 37) | 302 Found [http://test.host/pages/1?page%5Bname%5D=page+name+2&page%5Bpermalink%5D=link&page%5Btitle%5D=page+title+2] + SQL (39.4ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (0.2ms) SELECT count(*) AS count_all FROM `photo_albums`  + + +Processing PhotoAlbumsController#create (for 0.0.0.0 at 2010-12-21 22:17:33) [POST] + Parameters: {"photo_album"=>{"title"=>"test album", "user_id"=>1, "description"=>"test album desc"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + SQL (0.1ms) SAVEPOINT active_record_1 + PhotoAlbum Create (0.2ms) INSERT INTO `photo_albums` (`created_at`, `title`, `updated_at`, `user_id`, `description`, `view_count`) VALUES('2010-12-22 05:17:33', 'test album', '2010-12-22 05:17:33', 1, 'test album desc', NULL) + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/photo_albums/3 +Completed in 13ms (DB: 41) | 302 Found [http://test.host/photo_albums?photo_album%5Bdescription%5D=test+album+desc&photo_album%5Btitle%5D=test+album&photo_album%5Buser_id%5D=1] + SQL (0.2ms) SELECT count(*) AS count_all FROM `photo_albums`  + SQL (35.1ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (0.2ms) SELECT count(*) AS count_all FROM `photo_albums`  + PhotoAlbum Load (0.2ms) SELECT * FROM `photo_albums` WHERE (`photo_albums`.`id` = 1)  + + +Processing PhotoAlbumsController#destroy (for 0.0.0.0 at 2010-12-21 22:17:33) [DELETE] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + PhotoAlbum Load (0.1ms) SELECT * FROM `photo_albums` WHERE (`photo_albums`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + Photo Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.photo_album_id = 1)  + Comment Load (0.3ms) SELECT * FROM `comments` WHERE (`comments`.commentable_id = 1 AND `comments`.commentable_type = 'Photo') ORDER BY created_at ASC + Tagging Load (0.3ms) SELECT * FROM `taggings` WHERE (`taggings`.taggable_id = 1 AND `taggings`.taggable_type = 'Photo' AND (context = 'tags'))  + Tagging Load (0.2ms) SELECT * FROM `taggings` WHERE (`taggings`.taggable_id = 1 AND `taggings`.taggable_type = 'Photo')  + Photo Destroy (0.2ms) DELETE FROM `photos` WHERE `id` = 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Activity Create (0.2ms) INSERT INTO `activities` (`created_at`, `public`, `updated_at`, `action`, `user_id`, `item_id`, `item_type`) VALUES('2010-12-22 05:17:33', 1, '2010-12-22 05:17:33', 'destroy', 1, 1, 'Photo') + PhotoAlbum Destroy (0.2ms) DELETE FROM `photo_albums` WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/photo_albums +Completed in 11ms (DB: 38) | 302 Found [http://test.host/photo_albums/1] + SQL (0.2ms) SELECT count(*) AS count_all FROM `photo_albums`  + SQL (29.4ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + PhotoAlbum Load (0.3ms) SELECT * FROM `photo_albums` WHERE (`photo_albums`.`id` = 1)  + + +Processing PhotoAlbumsController#edit (for 0.0.0.0 at 2010-12-21 22:17:34) [GET] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + PhotoAlbum Load (0.1ms) SELECT * FROM `photo_albums` WHERE (`photo_albums`.`id` = 1)  +Rendering template within layouts/application +Rendering photo_albums/edit +Rendered photo_albums/_album_form (3.1ms) +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + + +Processing PhotoAlbumsController#index (for 0.0.0.0 at 2010-12-21 22:17:34) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + PhotoAlbum Load (0.3ms) SELECT * FROM `photo_albums`  +Rendering template within layouts/application +Rendering photo_albums/index +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + + +Processing PhotoAlbumsController#new (for 0.0.0.0 at 2010-12-21 22:17:34) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 +Rendering template within layouts/application +Rendering photo_albums/new +Rendered photo_albums/_album_form (2.1ms) +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + PhotoAlbum Load (0.1ms) SELECT * FROM `photo_albums` WHERE (`photo_albums`.`id` = 1)  + + +Processing PhotoAlbumsController#update (for 0.0.0.0 at 2010-12-21 22:17:34) [PUT] + Parameters: {"id"=>"1", "photo_album"=>{"title"=>"test album", "user_id"=>1, "description"=>"test album desc"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + PhotoAlbum Load (0.1ms) SELECT * FROM `photo_albums` WHERE (`photo_albums`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + PhotoAlbum Update (0.3ms) UPDATE `photo_albums` SET `updated_at` = '2010-12-22 05:17:34', `title` = 'test album', `description` = 'test album desc' WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/photo_albums/1 +Completed in 6ms (DB: 1) | 302 Found [http://test.host/photo_albums/1?photo_album%5Bdescription%5D=test+album+desc&photo_album%5Btitle%5D=test+album&photo_album%5Buser_id%5D=1] + SQL (31.3ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing PhotoManagerController#index (for 0.0.0.0 at 2010-12-21 22:17:34) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + PhotoAlbum Load (0.4ms) SELECT * FROM `photo_albums` ORDER BY id DESC + Photo Load (0.3ms) SELECT * FROM `photos` WHERE (photo_album_id IS NULL AND thumbnail IS NULL AND is_profile IS NULL) ORDER BY id DESC +Rendering template within layouts/application +Rendering photo_manager/index + SQL (0.4ms) SELECT count(*) AS count_all FROM `photos` WHERE (`photos`.photo_album_id = 2)  +Rendered photo_albums/_album_brief (2.6ms) + SQL (0.2ms) SELECT count(*) AS count_all FROM `photos` WHERE (`photos`.photo_album_id = 1)  + Photo Load (0.2ms) SELECT * FROM `photos` WHERE (`photos`.photo_album_id = 1)  +Rendered photo_albums/_album_brief (2.5ms) + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  +Rendered photos/_photo_brief (2.9ms) +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (0.3ms) SELECT count(*) AS count_all FROM `photos`  + + +Processing PhotosController#create (for 0.0.0.0 at 2010-12-21 22:17:34) [POST] + Parameters: {"photo"=>{"size"=>200, "uploaded_data"=>#>, "title"=>"some title", "is_profile"=>true, "thumbnail"=>"thumbnail", "user_id"=>1, "filename"=>"filename", "height"=>100, "description"=>"some desc", "width"=>75}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + SQL (0.2ms) SAVEPOINT active_record_1 + Photo Create (0.3ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 6646, '2010-12-22 05:17:39', NULL, 'some title', 'image/png', 1, 'thumbnail', '2010-12-22 05:17:39', NULL, NULL, 0, 1, NULL, 'filename', 64, 'some desc', 50, NULL) + Photo Load (0.4ms) SELECT * FROM `photos` WHERE (`photos`.`parent_id` = 102 AND `photos`.`thumbnail` = 'small') LIMIT 1 + Photo Create (0.3ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 6623, '2010-12-22 05:17:39', NULL, NULL, 'image/png', NULL, 'small', '2010-12-22 05:17:39', NULL, NULL, 0, NULL, 102, 'filename_small', 48, NULL, 38, NULL) + Photo Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`parent_id` = 102 AND `photos`.`thumbnail` = 'medium') LIMIT 1 + Photo Create (0.3ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 6623, '2010-12-22 05:17:39', NULL, NULL, 'image/png', NULL, 'medium', '2010-12-22 05:17:39', NULL, NULL, 0, NULL, 102, 'filename_medium', 82, NULL, 64, NULL) + Photo Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`parent_id` = 102 AND `photos`.`thumbnail` = 'member') LIMIT 1 + Photo Create (0.3ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 6623, '2010-12-22 05:17:39', NULL, NULL, 'image/png', NULL, 'member', '2010-12-22 05:17:39', NULL, NULL, 0, NULL, 102, 'filename_member', 96, NULL, 75, NULL) + Photo Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`parent_id` = 102 AND `photos`.`thumbnail` = 'thumb') LIMIT 1 + Photo Create (0.2ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 6623, '2010-12-22 05:17:39', NULL, NULL, 'image/png', NULL, 'thumb', '2010-12-22 05:17:39', NULL, NULL, 0, NULL, 102, 'filename_thumb', 32, NULL, 25, NULL) + Photo Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`parent_id` = 102 AND `photos`.`thumbnail` = 'display') LIMIT 1 + Photo Create (0.3ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 6623, '2010-12-22 05:17:39', NULL, NULL, 'image/png', NULL, 'display', '2010-12-22 05:17:39', NULL, NULL, 0, NULL, 102, 'filename_display', 175, NULL, 137, NULL) + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/photos/102/edit +Completed in 5116ms (DB: 5) | 302 Found [http://test.host/photos?photo%5Bdescription%5D=some+desc&photo%5Bfilename%5D=filename&photo%5Bheight%5D=100&photo%5Bis_profile%5D=true&photo%5Bsize%5D=200&photo%5Bthumbnail%5D=thumbnail&photo%5Btitle%5D=some+title&photo%5Buploaded_data%5D=%23%3CActionController%3A%3ATestUploadedFile%3A0xb631ccdc%3E&photo%5Buser_id%5D=1&photo%5Bwidth%5D=75] + SQL (0.2ms) SELECT count(*) AS count_all FROM `photos`  + SQL (45.8ms) ROLLBACK + SQL (0.0ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Photo Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`id` = 1)  + + +Processing PhotosController#edit (for 0.0.0.0 at 2010-12-21 22:17:39) [GET] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + Photo Load (0.1ms) SELECT * FROM `photos` WHERE (`photos`.`id` = 1)  +Rendering template within layouts/application +Rendering photos/edit + Tag Load (0.5ms) SELECT `tags`.* FROM `tags` INNER JOIN `taggings` ON `tags`.id = `taggings`.tag_id WHERE ((`taggings`.taggable_id = 1) AND (`taggings`.taggable_type = 'Photo') AND (context = 'tags'))  + PhotoAlbum Load (0.2ms) SELECT * FROM `photo_albums`  +Rendered layouts/_widgets (0.1ms) + SQL (0.1ms) ROLLBACK + SQL (0.0ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + + +Processing PhotosController#index (for 0.0.0.0 at 2010-12-21 22:17:39) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + Photo Load (0.4ms) SELECT * FROM `photos` WHERE (`photos`.`thumbnail` IS NULL AND `photos`.`is_profile` IS NULL)  +Rendering template within layouts/application +Rendering photos/index + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  +Rendered photos/_photo_brief (2.5ms) + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  +Rendered photos/_photo_brief (2.2ms) +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + + +Processing PhotosController#new (for 0.0.0.0 at 2010-12-21 22:17:40) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 +Rendering template within layouts/application +Rendering photos/new +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Photo Load (0.1ms) SELECT * FROM `photos` WHERE (`photos`.`id` = 1)  + + +Processing PhotosController#show (for 0.0.0.0 at 2010-12-21 22:17:40) [GET] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + Photo Load (0.1ms) SELECT * FROM `photos` WHERE (`photos`.`id` = 1)  + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 +Rendering template within layouts/application +Rendering photos/show + Tag Load (0.1ms) SELECT `tags`.* FROM `tags` INNER JOIN `taggings` ON `tags`.id = `taggings`.tag_id WHERE ((`taggings`.taggable_id = 1) AND (`taggings`.taggable_type = 'Photo') AND (context = 'tags'))  + Role Load (0.1ms) SELECT `roles`.* FROM `roles` INNER JOIN `permissions` ON `roles`.id = `permissions`.role_id WHERE ((`permissions`.user_id = 1))  + Comment Load (0.1ms) SELECT * FROM `comments` WHERE (`comments`.commentable_id = 1 AND `comments`.commentable_type = 'Photo') ORDER BY created_at ASC +Rendered photos/_photo_comments (1.6ms) +Rendered photos/_photo_comment_form (1.0ms) +Rendered layouts/_widgets (0.1ms) + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Photo Load (0.1ms) SELECT * FROM `photos` WHERE (`photos`.`id` = 1)  + + +Processing PhotosController#update (for 0.0.0.0 at 2010-12-21 22:17:40) [PUT] + Parameters: {"photo"=>{"size"=>"200", "title"=>"some title", "content_type"=>"image/png", "is_profile"=>true, "thumbnail"=>"thumbnail", "user_id"=>1, "filename"=>"filename", "description"=>"some desc"}, "id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + Photo Load (0.1ms) SELECT * FROM `photos` WHERE (`photos`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + Photo Update (0.4ms) UPDATE `photos` SET `updated_at` = '2010-12-22 05:17:40', `thumbnail` = 'thumbnail', `title` = 'some title', `is_profile` = 1, `content_type` = 'image/png', `filename` = 'filename', `description` = 'some desc', `size` = 200 WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/photos/1 +Completed in 179ms (DB: 2) | 302 Found [http://test.host/photos/1?photo%5Bcontent_type%5D=image%2Fpng&photo%5Bdescription%5D=some+desc&photo%5Bfilename%5D=filename&photo%5Bis_profile%5D=true&photo%5Bsize%5D=200&photo%5Bthumbnail%5D=thumbnail&photo%5Btitle%5D=some+title&photo%5Buser_id%5D=1] + SQL (47.9ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.5ms) SELECT * FROM `users` WHERE (`users`.`id` = 9)  + SQL (0.2ms) SELECT count(*) AS count_all FROM `photos`  + + +Processing ProfilePhotosController#create (for 0.0.0.0 at 2010-12-21 22:17:40) [POST] + Parameters: {"profile_photo"=>{"size"=>200, "uploaded_data"=>#>, "title"=>"some title", "is_profile"=>true, "user_id"=>9, "filename"=>"filename", "height"=>100, "description"=>"some desc", "width"=>75}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.5ms) SELECT * FROM `users` WHERE (`users`.`id` = 9) LIMIT 1 + ProfilePhoto Delete all (0.3ms) DELETE FROM `photos` WHERE (user_id = 9 AND is_profile = true)  + SQL (0.1ms) SAVEPOINT active_record_1 + ProfilePhoto Create (0.3ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 6646, '2010-12-22 05:17:40', NULL, 'some title', 'image/png', 1, NULL, '2010-12-22 05:17:40', NULL, NULL, 0, 9, NULL, 'filename', 175, 'some desc', 137, NULL) + ProfilePhoto Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`parent_id` = 108 AND `photos`.`thumbnail` = 'small') LIMIT 1 + ProfilePhoto Create (0.3ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 30991, '2010-12-22 05:17:40', NULL, NULL, 'image/png', NULL, 'small', '2010-12-22 05:17:40', NULL, NULL, 0, NULL, 108, 'filename_small', 48, NULL, 38, NULL) + ProfilePhoto Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`parent_id` = 108 AND `photos`.`thumbnail` = 'medium') LIMIT 1 + ProfilePhoto Create (0.3ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 30991, '2010-12-22 05:17:40', NULL, NULL, 'image/png', NULL, 'medium', '2010-12-22 05:17:40', NULL, NULL, 0, NULL, 108, 'filename_medium', 82, NULL, 64, NULL) + ProfilePhoto Load (0.4ms) SELECT * FROM `photos` WHERE (`photos`.`parent_id` = 108 AND `photos`.`thumbnail` = 'member') LIMIT 1 + ProfilePhoto Create (0.3ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 30991, '2010-12-22 05:17:40', NULL, NULL, 'image/png', NULL, 'member', '2010-12-22 05:17:40', NULL, NULL, 0, NULL, 108, 'filename_member', 96, NULL, 75, NULL) + ProfilePhoto Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`parent_id` = 108 AND `photos`.`thumbnail` = 'thumb') LIMIT 1 + ProfilePhoto Create (0.3ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 30991, '2010-12-22 05:17:40', NULL, NULL, 'image/png', NULL, 'thumb', '2010-12-22 05:17:40', NULL, NULL, 0, NULL, 108, 'filename_thumb', 32, NULL, 25, NULL) + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/users/9/edit +Completed in 139ms (DB: 53) | 302 Found [http://test.host/profile_photos?profile_photo%5Bdescription%5D=some+desc&profile_photo%5Bfilename%5D=filename&profile_photo%5Bheight%5D=100&profile_photo%5Bis_profile%5D=true&profile_photo%5Bsize%5D=200&profile_photo%5Btitle%5D=some+title&profile_photo%5Buploaded_data%5D=%23%3CActionController%3A%3ATestUploadedFile%3A0xb689b0b4%3E&profile_photo%5Buser_id%5D=9&profile_photo%5Bwidth%5D=75] + SQL (0.2ms) SELECT count(*) AS count_all FROM `photos`  + SQL (42.6ms) ROLLBACK + SQL (0.0ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 9)  + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (0.2ms) SELECT count(*) AS count_all FROM `photos`  + + +Processing ProfilePhotosController#create (for 0.0.0.0 at 2010-12-21 22:17:40) [POST] + Parameters: {"profile_photo"=>{"size"=>200, "uploaded_data"=>#>, "title"=>"some title", "is_profile"=>true, "user_id"=>1, "filename"=>"filename", "height"=>100, "description"=>"some desc", "width"=>75}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + ProfilePhoto Delete all (0.3ms) DELETE FROM `photos` WHERE (user_id = 1 AND is_profile = true)  + SQL (0.1ms) SAVEPOINT active_record_1 + ProfilePhoto Create (0.3ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 6646, '2010-12-22 05:17:40', NULL, 'some title', 'image/png', 1, NULL, '2010-12-22 05:17:40', NULL, NULL, 0, 1, NULL, 'filename', 175, 'some desc', 137, NULL) + ProfilePhoto Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`parent_id` = 113 AND `photos`.`thumbnail` = 'small') LIMIT 1 + ProfilePhoto Create (0.3ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 30991, '2010-12-22 05:17:40', NULL, NULL, 'image/png', NULL, 'small', '2010-12-22 05:17:40', NULL, NULL, 0, NULL, 113, 'filename_small', 48, NULL, 38, NULL) + ProfilePhoto Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`parent_id` = 113 AND `photos`.`thumbnail` = 'medium') LIMIT 1 + ProfilePhoto Create (0.3ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 30991, '2010-12-22 05:17:40', NULL, NULL, 'image/png', NULL, 'medium', '2010-12-22 05:17:40', NULL, NULL, 0, NULL, 113, 'filename_medium', 82, NULL, 64, NULL) + ProfilePhoto Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`parent_id` = 113 AND `photos`.`thumbnail` = 'member') LIMIT 1 + ProfilePhoto Create (0.3ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 30991, '2010-12-22 05:17:40', NULL, NULL, 'image/png', NULL, 'member', '2010-12-22 05:17:40', NULL, NULL, 0, NULL, 113, 'filename_member', 96, NULL, 75, NULL) + ProfilePhoto Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.`parent_id` = 113 AND `photos`.`thumbnail` = 'thumb') LIMIT 1 + ProfilePhoto Create (0.3ms) INSERT INTO `photos` (`location`, `size`, `created_at`, `event_id`, `title`, `content_type`, `is_profile`, `thumbnail`, `updated_at`, `photo_album_id`, `group_id`, `views`, `user_id`, `parent_id`, `filename`, `height`, `description`, `width`, `view_count`) VALUES(NULL, 30991, '2010-12-22 05:17:40', NULL, NULL, 'image/png', NULL, 'thumb', '2010-12-22 05:17:40', NULL, NULL, 0, NULL, 113, 'filename_thumb', 32, NULL, 25, NULL) + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/users/1/edit +Completed in 108ms (DB: 47) | 302 Found [http://test.host/profile_photos?profile_photo%5Bdescription%5D=some+desc&profile_photo%5Bfilename%5D=filename&profile_photo%5Bheight%5D=100&profile_photo%5Bis_profile%5D=true&profile_photo%5Bsize%5D=200&profile_photo%5Btitle%5D=some+title&profile_photo%5Buploaded_data%5D=%23%3CActionController%3A%3ATestUploadedFile%3A0xb628d834%3E&profile_photo%5Buser_id%5D=1&profile_photo%5Bwidth%5D=75] + SQL (0.2ms) SELECT count(*) AS count_all FROM `photos`  + SQL (45.9ms) ROLLBACK + SQL (0.0ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (0.2ms) SELECT count(*) AS count_all FROM `projects`  + + +Processing ProjectsController#create (for 0.0.0.0 at 2010-12-21 22:17:40) [POST] + Parameters: {"project"=>{"name"=>"My Super Project", "url"=>"http://www.myproject.org", "user_id"=>1, "description"=>"About my project."}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + SQL (0.1ms) SAVEPOINT active_record_1 + Project Create (0.2ms) INSERT INTO `projects` (`name`, `created_at`, `updated_at`, `url`, `user_id`, `description`) VALUES('My Super Project', '2010-12-22 05:17:40', '2010-12-22 05:17:40', 'http://www.myproject.org', 1, 'About my project.') + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Activity Create (0.1ms) INSERT INTO `activities` (`created_at`, `public`, `updated_at`, `action`, `user_id`, `item_id`, `item_type`) VALUES('2010-12-22 05:17:40', 1, '2010-12-22 05:17:40', NULL, 1, 4, 'Project') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/projects +Completed in 16ms (DB: 47) | 302 Found [http://test.host/projects?project%5Bdescription%5D=About+my+project.&project%5Bname%5D=My+Super+Project&project%5Burl%5D=http%3A%2F%2Fwww.myproject.org&project%5Buser_id%5D=1] + SQL (0.2ms) SELECT count(*) AS count_all FROM `projects`  + SQL (35.4ms) ROLLBACK + SQL (0.0ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (0.2ms) SELECT count(*) AS count_all FROM `projects`  + Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  + + +Processing ProjectsController#destroy (for 0.0.0.0 at 2010-12-21 22:17:40) [DELETE] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + Project Destroy (0.2ms) DELETE FROM `projects` WHERE `id` = 1 + SQL (0.0ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/projects +Completed in 4ms (DB: 37) | 302 Found [http://test.host/projects/1] + SQL (0.2ms) SELECT count(*) AS count_all FROM `projects`  + SQL (35.9ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Project Load (0.4ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  + + +Processing ProjectsController#edit (for 0.0.0.0 at 2010-12-21 22:17:40) [GET] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  +Rendering template within layouts/application +Rendering projects/edit +Rendered projects/_project_form (4.2ms) +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.0ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + + +Processing ProjectsController#index (for 0.0.0.0 at 2010-12-21 22:17:41) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + Project Load (0.3ms) SELECT * FROM `projects`  +Rendering template within layouts/application + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + Role Load (0.1ms) SELECT `roles`.* FROM `roles` INNER JOIN `permissions` ON `roles`.id = `permissions`.role_id WHERE ((`permissions`.user_id = 1))  + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  +Rendered projects/_projects_canvas (12.6ms) +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + + +Processing ProjectsController#new (for 0.0.0.0 at 2010-12-21 22:17:41) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 +Rendering template within layouts/application +Rendering projects/new +Rendered projects/_project_form (2.3ms) +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  + + +Processing ProjectsController#show (for 0.0.0.0 at 2010-12-21 22:17:41) [GET] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  +Rendering template within layouts/application +Rendering projects/projects_show +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.0ms) BEGIN + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  + + +Processing ProjectsController#update (for 0.0.0.0 at 2010-12-21 22:17:41) [PUT] + Parameters: {"project"=>{"name"=>"My Super Project", "url"=>"http://www.myproject.org", "user_id"=>1, "description"=>"About my project."}, "id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + Project Load (0.1ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + Project Update (0.3ms) UPDATE `projects` SET `updated_at` = '2010-12-22 05:17:41', `name` = 'My Super Project', `description` = 'About my project.', `url` = 'http://www.myproject.org' WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/projects +Completed in 6ms (DB: 1) | 302 Found [http://test.host/projects/1?project%5Bdescription%5D=About+my+project.&project%5Bname%5D=My+Super+Project&project%5Burl%5D=http%3A%2F%2Fwww.myproject.org&project%5Buser_id%5D=1] + SQL (36.8ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.2ms) SELECT count(*) AS count_all FROM `replies`  + + +Processing RepliesController#create (for 0.0.0.0 at 2010-12-21 22:17:41) [POST] + Parameters: {"reply"=>{}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + SQL (0.1ms) SAVEPOINT active_record_1 + Reply Create (0.2ms) INSERT INTO `replies` (`created_at`, `body`, `updated_at`, `user_id`, `item_id`, `item_type`) VALUES('2010-12-22 05:17:41', NULL, '2010-12-22 05:17:41', NULL, NULL, NULL) + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/replies/3 +Completed in 14ms (DB: 38) | 302 Found [http://test.host/replies?] + SQL (0.2ms) SELECT count(*) AS count_all FROM `replies`  + SQL (33.7ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.2ms) SELECT count(*) AS count_all FROM `replies`  + Reply Load (0.2ms) SELECT * FROM `replies` WHERE (`replies`.`id` = 1)  + + +Processing RepliesController#destroy (for 0.0.0.0 at 2010-12-21 22:17:41) [DELETE] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + Reply Load (0.1ms) SELECT * FROM `replies` WHERE (`replies`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + Reply Destroy (0.2ms) DELETE FROM `replies` WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/replies +Completed in 4ms (DB: 35) | 302 Found [http://test.host/replies/1] + SQL (0.2ms) SELECT count(*) AS count_all FROM `replies`  + SQL (34.6ms) ROLLBACK + SQL (0.1ms) BEGIN + Reply Load (0.3ms) SELECT * FROM `replies` WHERE (`replies`.`id` = 1)  + + +Processing RepliesController#edit (for 0.0.0.0 at 2010-12-21 22:17:41) [GET] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + Reply Load (0.1ms) SELECT * FROM `replies` WHERE (`replies`.`id` = 1)  +Rendering template within layouts/application +Rendering replies/edit +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing RepliesController#new (for 0.0.0.0 at 2010-12-21 22:17:41) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Rendering template within layouts/application +Rendering replies/new +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + Reply Load (0.2ms) SELECT * FROM `replies` WHERE (`replies`.`id` = 1)  + + +Processing RepliesController#update (for 0.0.0.0 at 2010-12-21 22:17:41) [PUT] + Parameters: {"reply"=>{}, "id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + Reply Load (0.1ms) SELECT * FROM `replies` WHERE (`replies`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/replies/1 +Completed in 5ms (DB: 1) | 302 Found [http://test.host/replies/1?] + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.2ms) SELECT count(*) AS count_all FROM `rss_feeds`  + + +Processing RssFeedsController#create (for 0.0.0.0 at 2010-12-21 22:17:41) [POST] + Parameters: {"rss_feed"=>{}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + SQL (0.1ms) SAVEPOINT active_record_1 + RssFeed Create (0.3ms) INSERT INTO `rss_feeds` (`name`, `is_blog`, `created_at`, `updated_at`, `url`, `user_id`) VALUES(NULL, NULL, '2010-12-22 05:17:41', '2010-12-22 05:17:41', NULL, NULL) + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/rss_feeds/3 +Completed in 15ms (DB: 1) | 302 Found [http://test.host/rss_feeds?] + SQL (0.2ms) SELECT count(*) AS count_all FROM `rss_feeds`  + SQL (40.4ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.2ms) SELECT count(*) AS count_all FROM `rss_feeds`  + RssFeed Load (0.2ms) SELECT * FROM `rss_feeds` WHERE (`rss_feeds`.`id` = 1)  + + +Processing RssFeedsController#destroy (for 0.0.0.0 at 2010-12-21 22:17:41) [DELETE] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + RssFeed Load (0.1ms) SELECT * FROM `rss_feeds` WHERE (`rss_feeds`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + RssFeed Destroy (0.4ms) DELETE FROM `rss_feeds` WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/rss_feeds +Completed in 4ms (DB: 42) | 302 Found [http://test.host/rss_feeds/1] + SQL (0.2ms) SELECT count(*) AS count_all FROM `rss_feeds`  + SQL (34.8ms) ROLLBACK + SQL (0.1ms) BEGIN + RssFeed Load (0.3ms) SELECT * FROM `rss_feeds` WHERE (`rss_feeds`.`id` = 1)  + + +Processing RssFeedsController#edit (for 0.0.0.0 at 2010-12-21 22:17:42) [GET] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + RssFeed Load (0.1ms) SELECT * FROM `rss_feeds` WHERE (`rss_feeds`.`id` = 1)  +Rendering template within layouts/application +Rendering rss_feeds/edit +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing RssFeedsController#index (for 0.0.0.0 at 2010-12-21 22:17:42) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + RssFeed Load (0.3ms) SELECT * FROM `rss_feeds`  +Rendering template within layouts/application +Rendering rss_feeds/index +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing RssFeedsController#new (for 0.0.0.0 at 2010-12-21 22:17:42) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Rendering template within layouts/application +Rendering rss_feeds/new +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + RssFeed Load (0.1ms) SELECT * FROM `rss_feeds` WHERE (`rss_feeds`.`id` = 1)  + + +Processing RssFeedsController#update (for 0.0.0.0 at 2010-12-21 22:17:42) [PUT] + Parameters: {"rss_feed"=>{}, "id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + RssFeed Load (0.1ms) SELECT * FROM `rss_feeds` WHERE (`rss_feeds`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/rss_feeds/1 +Completed in 5ms (DB: 1) | 302 Found [http://test.host/rss_feeds/1?] + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + + +Processing SessionsController#destroy (for 0.0.0.0 at 2010-12-21 22:17:42) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + SQL (0.1ms) SAVEPOINT active_record_1 + User Load (0.6ms) SELECT `users`.* FROM `users` INNER JOIN `permissions` ON permissions.user_id = users.id WHERE (role_id = 2)  + User Load (0.4ms) SELECT `users`.* FROM `users` INNER JOIN `permissions` ON permissions.user_id = users.id WHERE (role_id = 1)  + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/ +Completed in 17ms (DB: 2) | 302 Found [http://test.host/session] + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + User Update (0.4ms) UPDATE `users` SET `updated_at` = '2010-12-22 05:17:42', `remember_token_expires_at` = '2011-01-05 05:17:42', `remember_token` = '95885dff4e2d84cb5307420cce63227244551d6b' WHERE `id` = 1 + User Load (0.5ms) SELECT `users`.* FROM `users` INNER JOIN `permissions` ON permissions.user_id = users.id WHERE (role_id = 2)  + User Load (0.4ms) SELECT `users`.* FROM `users` INNER JOIN `permissions` ON permissions.user_id = users.id WHERE (role_id = 1)  + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + + +Processing SessionsController#new (for 0.0.0.0 at 2010-12-21 22:17:42) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Rendering template within layouts/application +Rendering sessions/new + SQL (38.2ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.5ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + User Update (0.4ms) UPDATE `users` SET `updated_at` = '2010-12-22 05:17:42', `remember_token_expires_at` = '2011-01-05 05:17:42', `remember_token` = '95885dff4e2d84cb5307420cce63227244551d6b' WHERE `id` = 1 + User Load (0.5ms) SELECT `users`.* FROM `users` INNER JOIN `permissions` ON permissions.user_id = users.id WHERE (role_id = 2)  + User Load (0.4ms) SELECT `users`.* FROM `users` INNER JOIN `permissions` ON permissions.user_id = users.id WHERE (role_id = 1)  + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + User Update (0.2ms) UPDATE `users` SET `updated_at` = '2010-12-22 05:17:42', `remember_token_expires_at` = '2010-12-22 05:12:42' WHERE `id` = 1 + User Load (0.4ms) SELECT `users`.* FROM `users` INNER JOIN `permissions` ON permissions.user_id = users.id WHERE (role_id = 2)  + User Load (0.4ms) SELECT `users`.* FROM `users` INNER JOIN `permissions` ON permissions.user_id = users.id WHERE (role_id = 1)  + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + + +Processing SessionsController#new (for 0.0.0.0 at 2010-12-21 22:17:42) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Rendering template within layouts/application +Rendering sessions/new + SQL (35.8ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing SessionsController#create (for 0.0.0.0 at 2010-12-21 22:17:42) [POST] + Parameters: {"login"=>"quentin", "password"=>"bad password"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.5ms) SELECT * FROM `users` WHERE (`users`.`login` = 'quentin') LIMIT 1 +Rendering template within layouts/application +Rendering sessions/new + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing SessionsController#create (for 0.0.0.0 at 2010-12-21 22:17:42) [POST] + Parameters: {"login"=>"quentin", "password"=>"test"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`login` = 'quentin') LIMIT 1 +Rendering template within layouts/application +Rendering sessions/new + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.5ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + User Update (0.4ms) UPDATE `users` SET `updated_at` = '2010-12-22 05:17:42', `remember_token_expires_at` = '2011-01-05 05:17:42', `remember_token` = '95885dff4e2d84cb5307420cce63227244551d6b' WHERE `id` = 1 + User Load (0.5ms) SELECT `users`.* FROM `users` INNER JOIN `permissions` ON permissions.user_id = users.id WHERE (role_id = 2)  + User Load (0.4ms) SELECT `users`.* FROM `users` INNER JOIN `permissions` ON permissions.user_id = users.id WHERE (role_id = 1)  + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + + +Processing SessionsController#new (for 0.0.0.0 at 2010-12-21 22:17:42) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Rendering template within layouts/application +Rendering sessions/new + SQL (37.6ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.6ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + + +Processing SessionsController#destroy (for 0.0.0.0 at 2010-12-21 22:17:43) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.4ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + SQL (0.1ms) SAVEPOINT active_record_1 + User Load (0.5ms) SELECT `users`.* FROM `users` INNER JOIN `permissions` ON permissions.user_id = users.id WHERE (role_id = 2)  + User Load (0.4ms) SELECT `users`.* FROM `users` INNER JOIN `permissions` ON permissions.user_id = users.id WHERE (role_id = 1)  + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/ +Completed in 9ms (DB: 40) | 302 Found [http://test.host/session] + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing SessionsController#create (for 0.0.0.0 at 2010-12-21 22:17:43) [POST] + Parameters: {"remember_me"=>"0", "login"=>"quentin", "password"=>"test"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.5ms) SELECT * FROM `users` WHERE (`users`.`login` = 'quentin') LIMIT 1 +Rendering template within layouts/application +Rendering sessions/new + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing SessionsController#create (for 0.0.0.0 at 2010-12-21 22:17:43) [POST] + Parameters: {"remember_me"=>"1", "login"=>"quentin", "password"=>"test"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`login` = 'quentin') LIMIT 1 +Rendering template within layouts/application +Rendering sessions/new + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (0.2ms) SELECT count(*) AS count_all FROM `status_posts`  + + +Processing StatusPostsController#create (for 0.0.0.0 at 2010-12-21 22:17:43) [POST] + Parameters: {"status_post"=>{"body"=>"My new status"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + SQL (0.2ms) SAVEPOINT active_record_1 + StatusPost Create (0.3ms) INSERT INTO `status_posts` (`created_at`, `body`, `updated_at`, `user_id`) VALUES('2010-12-22 05:17:43', 'My new status', '2010-12-22 05:17:43', 1) + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Activity Create (0.2ms) INSERT INTO `activities` (`created_at`, `public`, `updated_at`, `action`, `user_id`, `item_id`, `item_type`) VALUES('2010-12-22 05:17:43', 1, '2010-12-22 05:17:43', NULL, 1, 4, 'StatusPost') + SQL (0.5ms) RELEASE SAVEPOINT active_record_1 +Completed in 221ms (View: 30, DB: 2) | 201 Created [http://test.host/status_posts?status_post%5Bbody%5D=My+new+status] + SQL (0.3ms) SELECT count(*) AS count_all FROM `status_posts`  + SQL (41.0ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (0.2ms) SELECT count(*) AS count_all FROM `status_posts`  + StatusPost Load (0.2ms) SELECT * FROM `status_posts` WHERE (`status_posts`.`id` = 1)  + + +Processing StatusPostsController#destroy (for 0.0.0.0 at 2010-12-21 22:17:43) [DELETE] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + StatusPost Load (0.1ms) SELECT * FROM `status_posts` WHERE (`status_posts`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + Like Load (0.5ms) SELECT * FROM `likes` WHERE (`likes`.likable_id = 1 AND `likes`.likable_type = 'StatusPost')  + StatusPost Destroy (0.2ms) DELETE FROM `status_posts` WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/status_posts +Completed in 8ms (DB: 43) | 302 Found [http://test.host/status_posts/1] + SQL (0.2ms) SELECT count(*) AS count_all FROM `status_posts`  + SQL (32.8ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + StatusPost Load (0.3ms) SELECT * FROM `status_posts` WHERE (`status_posts`.`id` = 1)  + + +Processing StatusPostsController#edit (for 0.0.0.0 at 2010-12-21 22:17:43) [GET] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + StatusPost Load (0.1ms) SELECT * FROM `status_posts` WHERE (`status_posts`.`id` = 1)  +Rendering template within layouts/application +Rendering status_posts/edit +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing StatusPostsController#index (for 0.0.0.0 at 2010-12-21 22:17:43) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + StatusPost Load (0.3ms) SELECT * FROM `status_posts`  +Rendering template within layouts/application +Rendering status_posts/index +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + + +Processing StatusPostsController#new (for 0.0.0.0 at 2010-12-21 22:17:43) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 +Rendering template within layouts/application +Rendering status_posts/new +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + StatusPost Load (0.1ms) SELECT * FROM `status_posts` WHERE (`status_posts`.`id` = 1)  + + +Processing StatusPostsController#update (for 0.0.0.0 at 2010-12-21 22:17:43) [PUT] + Parameters: {"id"=>"1", "status_post"=>{"body"=>"Updated Status Post"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + StatusPost Load (0.1ms) SELECT * FROM `status_posts` WHERE (`status_posts`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + StatusPost Update (0.3ms) UPDATE `status_posts` SET `updated_at` = '2010-12-22 05:17:43', `body` = 'Updated Status Post' WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/status_posts/1 +Completed in 6ms (DB: 1) | 302 Found [http://test.host/status_posts/1?status_post%5Bbody%5D=Updated+Status+Post] + SQL (36.6ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing UsersController#index (for 0.0.0.0 at 2010-12-21 22:17:43) [GET] + Parameters: {"page"=>"2"} + Theme Load (0.3ms) SELECT * FROM `themes` LIMIT 1 + User Load (1.6ms) SELECT * FROM `users` WHERE (activated_at is not null) ORDER BY created_at ASC LIMIT 10, 10 + ProfilePhoto Load (0.4ms) SELECT `photos`.* FROM `photos` WHERE (`photos`.user_id IN (13,14,15,16,17,18,19,20,21,22) AND (is_profile = 1))  + SQL (0.4ms) SELECT count(*) AS count_all FROM `users` WHERE (activated_at is not null)  + SQL (0.1ms) SELECT count(*) AS count_all FROM `users` WHERE (activated_at is not null)  +Rendering template within layouts/application +Rendering users/index +Rendered users/_user_brief (1.2ms) +Rendered users/_user_brief (1.0ms) +Rendered users/_user_brief (1.0ms) +Rendered users/_user_brief (1.0ms) +Rendered users/_user_brief (1.0ms) +Rendered users/_user_brief (1.0ms) +Rendered users/_user_brief (1.0ms) +Rendered users/_user_brief (1.0ms) +Rendered users/_user_brief (1.0ms) +Rendered users/_user_brief (1.0ms) +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing UsersController#index (for 0.0.0.0 at 2010-12-21 22:17:44) [GET] + Parameters: {"sort_field"=>"last_name"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (1.4ms) SELECT * FROM `users` WHERE (activated_at is not null) ORDER BY last_name ASC LIMIT 0, 10 + ProfilePhoto Load (0.3ms) SELECT `photos`.* FROM `photos` WHERE (`photos`.user_id IN (5,3,6,1,7,8,9,10,11,12) AND (is_profile = 1))  + SQL (0.1ms) SELECT count(*) AS count_all FROM `users` WHERE (activated_at is not null)  +Rendering template within layouts/application +Rendering users/index +Rendered users/_user_brief (1.2ms) +Rendered users/_user_brief (0.9ms) +Rendered users/_user_brief (0.9ms) +Rendered users/_user_brief (1.9ms) +Rendered users/_user_brief (0.9ms) +Rendered users/_user_brief (1.7ms) +Rendered users/_user_brief (0.9ms) +Rendered users/_user_brief (0.9ms) +Rendered users/_user_brief (0.9ms) +Rendered users/_user_brief (0.9ms) +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.9ms) SELECT * FROM `users` WHERE (login = 'aaron' and activated_at IS NOT NULL) LIMIT 1 + User Load (0.4ms) SELECT * FROM `users` WHERE (`users`.`id` = 2)  + + +Processing UsersController#activate (for 0.0.0.0 at 2010-12-21 22:17:44) [GET] + Parameters: {"activation_code"=>"8f24789ae988411ccf33ab0c30fe9106fab32e9a"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.5ms) SELECT * FROM `users` WHERE (`users`.`activation_code` = '8f24789ae988411ccf33ab0c30fe9106fab32e9a') LIMIT 1 + SQL (0.1ms) SAVEPOINT active_record_1 + User Update (0.3ms) UPDATE `users` SET `updated_at` = '2010-12-22 05:17:44', `activated_at` = '2010-12-22 05:17:44', `activation_code` = NULL WHERE `id` = 2 + Network Load (0.2ms) SELECT * FROM `networks` LIMIT 1 +Sent mail to aaron@example.com + +Date: Tue, 21 Dec 2010 22:17:44 -0700 +To: aaron@example.com +Subject: [Test Network] Your account has been activated! +Mime-Version: 1.0 +Content-Type: text/plain; charset=utf-8 + + +aaron, your account has been activated. You may now log in to the site: + + + User Load (0.5ms) SELECT `users`.* FROM `users` INNER JOIN `permissions` ON permissions.user_id = users.id WHERE (role_id = 2)  + User Load (0.4ms) SELECT `users`.* FROM `users` INNER JOIN `permissions` ON permissions.user_id = users.id WHERE (role_id = 1)  + Network Load (0.1ms) SELECT * FROM `networks` LIMIT 1 + User Load (0.4ms) SELECT `users`.* FROM `users` INNER JOIN `permissions` ON permissions.user_id = users.id WHERE (role_id = 2)  + User Load (0.4ms) SELECT `users`.* FROM `users` INNER JOIN `permissions` ON permissions.user_id = users.id WHERE (role_id = 1)  +Sent mail to quentin@example.com,bobby@example.com + +Date: Tue, 21 Dec 2010 22:17:44 -0700 +To: quentin@example.com, bobby@example.com +Subject: [Test Network] New User Activated +Mime-Version: 1.0 +Content-Type: text/plain; charset=utf-8 + + +A new user has been activated on RubyMI: + +aaron + + + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + Activity Create (0.2ms) INSERT INTO `activities` (`created_at`, `public`, `updated_at`, `action`, `user_id`, `item_id`, `item_type`) VALUES('2010-12-22 05:17:44', 1, '2010-12-22 05:17:44', NULL, 2, 2, 'User') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Rendering template within layouts/application +Rendering users/activate_complete + ProfilePhoto Load (0.5ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 2 AND (is_profile = 1)) LIMIT 1 + Role Load (0.3ms) SELECT `roles`.* FROM `roles` INNER JOIN `permissions` ON `roles`.id = `permissions`.role_id WHERE ((`permissions`.user_id = 2))  +Rendered users/_user_control_widget (4.4ms) +Rendered layouts/_widgets (0.1ms) + SQL (38.1ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.3ms) SELECT count(*) AS count_all FROM `users`  + + +Processing UsersController#create (for 0.0.0.0 at 2010-12-21 22:17:44) [POST] + Parameters: {"user"=>{"about_me"=>"this is about me", "password_confirmation"=>"quire", "last_name"=>"user", "login"=>"quire", "password"=>"quire", "first_name"=>"test", "email"=>"quire@example.com"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing UsersController#index (for 0.0.0.0 at 2010-12-21 22:17:44) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (1.2ms) SELECT * FROM `users` WHERE (activated_at is not null) ORDER BY created_at ASC LIMIT 0, 10 + ProfilePhoto Load (0.3ms) SELECT `photos`.* FROM `photos` WHERE (`photos`.user_id IN (1,3,5,6,7,8,9,10,11,12) AND (is_profile = 1))  + SQL (0.4ms) SELECT count(*) AS count_all FROM `users` WHERE (activated_at is not null)  + SQL (0.1ms) SELECT count(*) AS count_all FROM `users` WHERE (activated_at is not null)  +Rendering template within layouts/application +Rendering users/index +Rendered users/_user_brief (2.1ms) +Rendered users/_user_brief (0.9ms) +Rendered users/_user_brief (0.9ms) +Rendered users/_user_brief (0.9ms) +Rendered users/_user_brief (0.9ms) +Rendered users/_user_brief (1.8ms) +Rendered users/_user_brief (0.9ms) +Rendered users/_user_brief (0.9ms) +Rendered users/_user_brief (0.9ms) +Rendered users/_user_brief (0.9ms) +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing UsersController#activate (for 0.0.0.0 at 2010-12-21 22:17:44) [GET] + Parameters: {"activation_code"=>""} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Redirected to http://test.host/ +Completed in 2ms (DB: 0) | 302 Found [http://test.host/activate/] + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing UsersController#activate (for 0.0.0.0 at 2010-12-21 22:17:44) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Redirected to http://test.host/ +Completed in 2ms (DB: 0) | 302 Found [http://test.host/activate] + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.1ms) SELECT count(*) AS count_all FROM `users`  + + +Processing UsersController#create (for 0.0.0.0 at 2010-12-21 22:17:44) [POST] + Parameters: {"user"=>{"about_me"=>"this is about me", "password_confirmation"=>"quire", "last_name"=>"user", "login"=>"quire", "password"=>"quire", "first_name"=>"test", "email"=>nil}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.1ms) SELECT count(*) AS count_all FROM `users`  + + +Processing UsersController#create (for 0.0.0.0 at 2010-12-21 22:17:44) [POST] + Parameters: {"user"=>{"about_me"=>"this is about me", "password_confirmation"=>"quire", "last_name"=>"user", "login"=>nil, "password"=>"quire", "first_name"=>"test", "email"=>"quire@example.com"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.1ms) SELECT count(*) AS count_all FROM `users`  + + +Processing UsersController#create (for 0.0.0.0 at 2010-12-21 22:17:44) [POST] + Parameters: {"user"=>{"about_me"=>"this is about me", "password_confirmation"=>nil, "last_name"=>"user", "login"=>"quire", "password"=>"quire", "first_name"=>"test", "email"=>"quire@example.com"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + SQL (0.1ms) ROLLBACK + SQL (0.0ms) BEGIN + SQL (0.1ms) SELECT count(*) AS count_all FROM `users`  + + +Processing UsersController#create (for 0.0.0.0 at 2010-12-21 22:17:44) [POST] + Parameters: {"user"=>{"about_me"=>"this is about me", "password_confirmation"=>"quire", "last_name"=>"user", "login"=>"quire", "password"=>nil, "first_name"=>"test", "email"=>"quire@example.com"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing UsersController#create (for 0.0.0.0 at 2010-12-21 22:17:44) [POST] + Parameters: {"user"=>{"about_me"=>"this is about me", "password_confirmation"=>"quire", "last_name"=>"user", "login"=>"quire", "password"=>"quire", "first_name"=>"test", "email"=>"quire@example.com"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.2ms) SELECT count(*) AS count_all FROM `videos`  + + +Processing VideosController#create (for 0.0.0.0 at 2010-12-21 22:17:44) [POST] + Parameters: {"video"=>{}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + SQL (0.1ms) SAVEPOINT active_record_1 + Video Create (0.2ms) INSERT INTO `videos` (`created_at`, `updated_at`) VALUES('2010-12-22 05:17:44', '2010-12-22 05:17:44') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/videos/3 +Completed in 11ms (DB: 2) | 302 Found [http://test.host/videos?] + SQL (0.6ms) SELECT count(*) AS count_all FROM `videos`  + SQL (34.6ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.2ms) SELECT count(*) AS count_all FROM `videos`  + Video Load (0.2ms) SELECT * FROM `videos` WHERE (`videos`.`id` = 1)  + + +Processing VideosController#destroy (for 0.0.0.0 at 2010-12-21 22:17:44) [DELETE] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + Video Load (0.1ms) SELECT * FROM `videos` WHERE (`videos`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + Video Destroy (0.2ms) DELETE FROM `videos` WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/videos +Completed in 4ms (DB: 36) | 302 Found [http://test.host/videos/1] + SQL (0.2ms) SELECT count(*) AS count_all FROM `videos`  + SQL (37.0ms) ROLLBACK + SQL (0.1ms) BEGIN + Video Load (0.3ms) SELECT * FROM `videos` WHERE (`videos`.`id` = 1)  + + +Processing VideosController#edit (for 0.0.0.0 at 2010-12-21 22:17:44) [GET] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + Video Load (0.1ms) SELECT * FROM `videos` WHERE (`videos`.`id` = 1)  +Rendering template within layouts/application +Rendering videos/edit +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing VideosController#index (for 0.0.0.0 at 2010-12-21 22:17:44) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + Video Load (0.3ms) SELECT * FROM `videos`  +Rendering template within layouts/application +Rendering videos/index +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing VideosController#new (for 0.0.0.0 at 2010-12-21 22:17:45) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Rendering template within layouts/application +Rendering videos/new +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + Video Load (0.1ms) SELECT * FROM `videos` WHERE (`videos`.`id` = 1)  + + +Processing VideosController#show (for 0.0.0.0 at 2010-12-21 22:17:45) [GET] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + Video Load (0.1ms) SELECT * FROM `videos` WHERE (`videos`.`id` = 1)  +Rendering template within layouts/application +Rendering videos/show +Rendered layouts/_widgets (0.1ms) + SQL (0.2ms) ROLLBACK + SQL (0.1ms) BEGIN + Video Load (0.1ms) SELECT * FROM `videos` WHERE (`videos`.`id` = 1)  + + +Processing VideosController#update (for 0.0.0.0 at 2010-12-21 22:17:45) [PUT] + Parameters: {"id"=>"1", "video"=>{}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + Video Load (0.1ms) SELECT * FROM `videos` WHERE (`videos`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/videos/1 +Completed in 4ms (DB: 1) | 302 Found [http://test.host/videos/1?] + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.5ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (0.2ms) SELECT count(*) AS count_all FROM `wall_posts`  + + +Processing WallPostsController#create (for 0.0.0.0 at 2010-12-21 22:17:45) [POST] + Parameters: {"wall_post"=>{"user_id"=>1, "sender_id"=>1, "message"=>"Hello World"}, "event_id"=>"2"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.5ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + SQL (0.1ms) SAVEPOINT active_record_1 + WallPost Create (0.2ms) INSERT INTO `wall_posts` (`created_at`, `event_id`, `updated_at`, `group_id`, `user_id`, `sender_id`, `message`) VALUES('2010-12-22 05:17:45', 2, '2010-12-22 05:17:45', NULL, 1, 1, 'Hello World') + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Network Load (0.1ms) SELECT * FROM `networks` LIMIT 1 +Sent mail to quentin@example.com + +Date: Tue, 21 Dec 2010 22:17:45 -0700 +To: quentin@example.com +Subject: [Test Network] Wall Post Notification +Mime-Version: 1.0 +Content-Type: text/html; charset=utf-8 + + +A user has posted a new comment to your wall at RubyMI.org + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + Event Load (0.3ms) SELECT * FROM `events` WHERE (`events`.`id` = 2)  + WallPost Load (0.4ms) SELECT * FROM `wall_posts` WHERE (`wall_posts`.event_id = 2) ORDER BY created_at DESC + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + ProfilePhoto Load (0.3ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 1 AND (is_profile = 1)) LIMIT 1 +Rendered shared/_wall_posts (4.5ms) +Completed in 49ms (View: 29, DB: 3) | 200 OK [http://test.host/events/2/wall_posts?wall_post%5Bmessage%5D=Hello+World&wall_post%5Bsender_id%5D=1&wall_post%5Buser_id%5D=1] + SQL (0.2ms) SELECT count(*) AS count_all FROM `wall_posts`  + SQL (39.5ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (0.2ms) SELECT count(*) AS count_all FROM `wall_posts`  + + +Processing WallPostsController#create (for 0.0.0.0 at 2010-12-21 22:17:45) [POST] + Parameters: {"wall_post"=>{"user_id"=>1, "sender_id"=>1, "message"=>"Hello World"}, "group_id"=>"2"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + SQL (0.1ms) SAVEPOINT active_record_1 + WallPost Create (0.2ms) INSERT INTO `wall_posts` (`created_at`, `event_id`, `updated_at`, `group_id`, `user_id`, `sender_id`, `message`) VALUES('2010-12-22 05:17:45', NULL, '2010-12-22 05:17:45', 2, 1, 1, 'Hello World') + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Network Load (0.1ms) SELECT * FROM `networks` LIMIT 1 +Sent mail to quentin@example.com + +Date: Tue, 21 Dec 2010 22:17:45 -0700 +To: quentin@example.com +Subject: [Test Network] Wall Post Notification +Mime-Version: 1.0 +Content-Type: text/html; charset=utf-8 + + +A user has posted a new comment to your wall at RubyMI.org + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + Group Load (0.3ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 2)  + WallPost Load (0.4ms) SELECT * FROM `wall_posts` WHERE (`wall_posts`.group_id = 2) ORDER BY created_at DESC + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + ProfilePhoto Load (0.1ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 1 AND (is_profile = 1)) LIMIT 1 +Rendered shared/_wall_posts (5.1ms) +Completed in 210ms (View: 199, DB: 42) | 200 OK [http://test.host/groups/2/wall_posts?wall_post%5Bmessage%5D=Hello+World&wall_post%5Bsender_id%5D=1&wall_post%5Buser_id%5D=1] + SQL (0.2ms) SELECT count(*) AS count_all FROM `wall_posts`  + SQL (44.5ms) ROLLBACK + SQL (0.0ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (0.2ms) SELECT count(*) AS count_all FROM `wall_posts`  + + +Processing WallPostsController#create (for 0.0.0.0 at 2010-12-21 22:17:45) [POST] + Parameters: {"wall_post"=>{"user_id"=>1, "sender_id"=>1, "message"=>"Hello World"}, "user_id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + SQL (0.1ms) SAVEPOINT active_record_1 + WallPost Create (0.2ms) INSERT INTO `wall_posts` (`created_at`, `event_id`, `updated_at`, `group_id`, `user_id`, `sender_id`, `message`) VALUES('2010-12-22 05:17:45', NULL, '2010-12-22 05:17:45', NULL, 1, 1, 'Hello World') + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Network Load (0.1ms) SELECT * FROM `networks` LIMIT 1 +Sent mail to quentin@example.com + +Date: Tue, 21 Dec 2010 22:17:45 -0700 +To: quentin@example.com +Subject: [Test Network] Wall Post Notification +Mime-Version: 1.0 +Content-Type: text/html; charset=utf-8 + + +A user has posted a new comment to your wall at RubyMI.org + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + WallPost Load (0.4ms) SELECT * FROM `wall_posts` WHERE (`wall_posts`.user_id = 1) ORDER BY created_at DESC + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + ProfilePhoto Load (0.1ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 1 AND (is_profile = 1)) LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + ProfilePhoto Load (0.1ms) SELECT * FROM `photos` WHERE (`photos`.user_id = 1 AND (is_profile = 1)) LIMIT 1 +Rendered shared/_wall_posts (7.2ms) +Completed in 46ms (View: 33, DB: 47) | 200 OK [http://test.host/users/1/wall_posts?wall_post%5Bmessage%5D=Hello+World&wall_post%5Bsender_id%5D=1&wall_post%5Buser_id%5D=1] + SQL (0.2ms) SELECT count(*) AS count_all FROM `wall_posts`  + SQL (35.1ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (0.3ms) SELECT count(*) AS count_all FROM `wall_posts`  + WallPost Load (0.3ms) SELECT * FROM `wall_posts` WHERE (`wall_posts`.`id` = 3)  + + +Processing WallPostsController#destroy (for 0.0.0.0 at 2010-12-21 22:17:45) [DELETE] + Parameters: {"id"=>"3"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + WallPost Load (0.1ms) SELECT * FROM `wall_posts` WHERE (`wall_posts`.`id` = 3)  + Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + WallPost Destroy (0.2ms) DELETE FROM `wall_posts` WHERE `id` = 3 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + WallPost Load (0.4ms) SELECT * FROM `wall_posts` WHERE (`wall_posts`.event_id = 1) ORDER BY created_at DESC +Rendered shared/_wall_posts (1.4ms) +Completed in 31ms (View: 27, DB: 37) | 200 OK [http://test.host/wall_posts/3] + SQL (0.2ms) SELECT count(*) AS count_all FROM `wall_posts`  + SQL (32.0ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (0.2ms) SELECT count(*) AS count_all FROM `wall_posts`  + WallPost Load (0.2ms) SELECT * FROM `wall_posts` WHERE (`wall_posts`.`id` = 2)  + + +Processing WallPostsController#destroy (for 0.0.0.0 at 2010-12-21 22:17:45) [DELETE] + Parameters: {"id"=>"2"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + WallPost Load (0.1ms) SELECT * FROM `wall_posts` WHERE (`wall_posts`.`id` = 2)  + Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + WallPost Destroy (0.2ms) DELETE FROM `wall_posts` WHERE `id` = 2 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + WallPost Load (0.4ms) SELECT * FROM `wall_posts` WHERE (`wall_posts`.group_id = 1) ORDER BY created_at DESC +Rendered shared/_wall_posts (1.8ms) +Completed in 206ms (View: 201, DB: 34) | 200 OK [http://test.host/wall_posts/2] + SQL (0.2ms) SELECT count(*) AS count_all FROM `wall_posts`  + SQL (31.7ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (0.2ms) SELECT count(*) AS count_all FROM `wall_posts`  + WallPost Load (0.2ms) SELECT * FROM `wall_posts` WHERE (`wall_posts`.`id` = 1)  + + +Processing WallPostsController#destroy (for 0.0.0.0 at 2010-12-21 22:17:46) [DELETE] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + WallPost Load (0.1ms) SELECT * FROM `wall_posts` WHERE (`wall_posts`.`id` = 1)  + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + WallPost Destroy (0.2ms) DELETE FROM `wall_posts` WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + WallPost Load (0.4ms) SELECT * FROM `wall_posts` WHERE (`wall_posts`.user_id = 1) ORDER BY created_at DESC +Rendered shared/_wall_posts (1.5ms) +Completed in 34ms (View: 30, DB: 34) | 200 OK [http://test.host/wall_posts/1] + SQL (0.2ms) SELECT count(*) AS count_all FROM `wall_posts`  + SQL (34.9ms) ROLLBACK + SQL (0.1ms) BEGIN + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + WallPost Load (0.3ms) SELECT * FROM `wall_posts` WHERE (`wall_posts`.`id` = 1)  + + +Processing WallPostsController#update (for 0.0.0.0 at 2010-12-21 22:17:46) [PUT] + Parameters: {"wall_post"=>{"user_id"=>1, "sender_id"=>1, "message"=>"New Hello World"}, "id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + WallPost Load (0.1ms) SELECT * FROM `wall_posts` WHERE (`wall_posts`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + WallPost Update (0.3ms) UPDATE `wall_posts` SET `updated_at` = '2010-12-22 05:17:46', `message` = 'New Hello World' WHERE `id` = 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Network Load (0.1ms) SELECT * FROM `networks` LIMIT 1 +Sent mail to quentin@example.com + +Date: Tue, 21 Dec 2010 22:17:46 -0700 +To: quentin@example.com +Subject: [Test Network] Wall Post Notification +Mime-Version: 1.0 +Content-Type: text/html; charset=utf-8 + + +A user has posted a new comment to your wall at RubyMI.org + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/wall_posts/1 +Completed in 11ms (DB: 37) | 302 Found [http://test.host/wall_posts/1?wall_post%5Bmessage%5D=New+Hello+World&wall_post%5Bsender_id%5D=1&wall_post%5Buser_id%5D=1] + SQL (28.7ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.3ms) SELECT count(*) AS count_all FROM `widget_layouts`  + + +Processing WidgetLayoutsController#create (for 0.0.0.0 at 2010-12-21 22:17:46) [POST] + Parameters: {"widget_layout"=>{}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + SQL (0.1ms) SAVEPOINT active_record_1 + WidgetLayout Create (0.3ms) INSERT INTO `widget_layouts` (`row_num`, `created_at`, `widget_id`, `updated_at`, `html_content_id`, `page_id`, `col_num`) VALUES(NULL, '2010-12-22 05:17:46', NULL, '2010-12-22 05:17:46', NULL, NULL, NULL) + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/widget_layouts/3 +Completed in 13ms (DB: 30) | 302 Found [http://test.host/widget_layouts?] + SQL (0.2ms) SELECT count(*) AS count_all FROM `widget_layouts`  + SQL (34.2ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.2ms) SELECT count(*) AS count_all FROM `widget_layouts`  + WidgetLayout Load (0.2ms) SELECT * FROM `widget_layouts` WHERE (`widget_layouts`.`id` = 1)  + + +Processing WidgetLayoutsController#destroy (for 0.0.0.0 at 2010-12-21 22:17:46) [DELETE] + Parameters: {"id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + WidgetLayout Load (0.1ms) SELECT * FROM `widget_layouts` WHERE (`widget_layouts`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + WidgetLayout Destroy (0.2ms) DELETE FROM `widget_layouts` WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/widget_layouts +Completed in 4ms (DB: 36) | 302 Found [http://test.host/widget_layouts/1] + SQL (0.2ms) SELECT count(*) AS count_all FROM `widget_layouts`  + SQL (34.5ms) ROLLBACK + SQL (0.1ms) BEGIN + WidgetLayout Load (0.4ms) SELECT * FROM `widget_layouts` WHERE (`widget_layouts`.`id` = 1)  + + +Processing WidgetLayoutsController#update (for 0.0.0.0 at 2010-12-21 22:17:46) [PUT] + Parameters: {"id"=>"1", "widget_layout"=>{}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + WidgetLayout Load (0.1ms) SELECT * FROM `widget_layouts` WHERE (`widget_layouts`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://test.host/widget_layouts/1 +Completed in 4ms (DB: 36) | 302 Found [http://test.host/widget_layouts/1?] + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing WidgetsController#grid_data (for 0.0.0.0 at 2010-12-21 22:17:46) [GET] + Parameters: {"rows"=>"10"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + Widget Load (0.3ms) SELECT * FROM `widgets`  +Rendered widgets/_griddata (3.1ms) +Completed in 37ms (View: 28, DB: 1) | 200 OK [http://test.host/widgets/grid_data?rows=10] + SQL (0.2ms) ROLLBACK +** acts_as_taggable_on: initialized properly. + SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 + SQL (0.1ms) BEGIN + + +Processing BlogPostsController#index to json (for 127.0.0.1 at 2010-12-21 22:17:53) [GET] + Parameters: {"api_key"=>"testapikey"} + Theme Load (0.3ms) SELECT * FROM `themes` LIMIT 1 + Network Load (0.2ms) SELECT * FROM `networks` LIMIT 1 + User Load (0.4ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + BlogPost Load (0.4ms) SELECT * FROM `blog_posts` ORDER BY created_at DESC LIMIT 0, 6 + SQL (0.2ms) SELECT count(*) AS count_all FROM `blog_posts` WHERE (published = true)  +Completed in 53ms (View: 23, DB: 174) | 200 OK [http://www.example.com/blog_posts.json] + SQL (32.9ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing BlogPostsController#show to json (for 127.0.0.1 at 2010-12-21 22:17:53) [GET] + Parameters: {"api_key"=>"testapikey", "id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + BlogPost Load (0.2ms) SELECT * FROM `blog_posts` WHERE (`blog_posts`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + BlogPost Update (0.3ms) UPDATE `blog_posts` SET `views` = 1, `updated_at` = '2010-12-22 05:17:53' WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Completed in 29ms (View: 22, DB: 35) | 200 OK [http://www.example.com/blog_posts/1.json] + SQL (38.5ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing SessionsController#destroy (for 127.0.0.1 at 2010-12-21 22:17:53) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Redirected to http://www.example.com/ +Completed in 10ms (DB: 40) | 302 Found [http://www.example.com/logout] + + +Processing BlogPostsController#create to json (for 127.0.0.1 at 2010-12-21 22:17:53) [POST] + Parameters: {"api_key"=>"testapikey", "blog_post"=>{"title"=>"API Test Post", "body"=>"API Test Body", "guid"=>"22222", "featured"=>"false", "published"=>"true", "url"=>"http://www.apiblogpost.com", "summary"=>"Blog Post Summary"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.7ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = '') LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + SQL (0.1ms) SAVEPOINT active_record_1 + BlogPost Create (0.2ms) INSERT INTO `blog_posts` (`created_at`, `title`, `body`, `guid`, `published`, `featured`, `updated_at`, `url`, `views`, `user_id`, `parent_id`, `summary`, `published_at`) VALUES('2010-12-22 05:17:53', 'API Test Post', 'API Test Body', '22222', 1, 0, '2010-12-22 05:17:53', 'http://www.apiblogpost.com', 0, 1, NULL, 'Blog Post Summary', NULL) + Activity Create (0.2ms) INSERT INTO `activities` (`created_at`, `public`, `updated_at`, `action`, `user_id`, `item_id`, `item_type`) VALUES('2010-12-22 05:17:53', 1, '2010-12-22 05:17:53', NULL, 1, 9, 'BlogPost') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + blog_post_topics_blog_posts Columns (0.6ms) SHOW FIELDS FROM `blog_post_topics_blog_posts` + BlogPostTopic Load (0.3ms) SELECT * FROM `blog_post_topics` INNER JOIN `blog_post_topics_blog_posts` ON `blog_post_topics`.id = `blog_post_topics_blog_posts`.blog_post_topic_id WHERE (`blog_post_topics_blog_posts`.blog_post_id = 9 )  + SQL (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Completed in 44ms (View: 25, DB: 4) | 201 Created [http://www.example.com/blog_posts.json] + SQL (39.4ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing SessionsController#destroy (for 127.0.0.1 at 2010-12-21 22:17:53) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Redirected to http://www.example.com/ +Completed in 3ms (DB: 41) | 302 Found [http://www.example.com/logout] + + +Processing BlogPostsController#create to xml (for 127.0.0.1 at 2010-12-21 22:17:53) [POST] + Parameters: {"api_key"=>"testapikey", "blog_post"=>{"title"=>"API Test Post", "body"=>"API Test Body", "guid"=>"22222", "featured"=>"false", "published"=>"true", "url"=>"http://www.apiblogpost.com", "summary"=>"Blog Post Summary"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = '') LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + SQL (0.1ms) SAVEPOINT active_record_1 + BlogPost Create (0.2ms) INSERT INTO `blog_posts` (`created_at`, `title`, `body`, `guid`, `published`, `featured`, `updated_at`, `url`, `views`, `user_id`, `parent_id`, `summary`, `published_at`) VALUES('2010-12-22 05:17:53', 'API Test Post', 'API Test Body', '22222', 1, 0, '2010-12-22 05:17:53', 'http://www.apiblogpost.com', 0, 1, NULL, 'Blog Post Summary', NULL) + Activity Create (0.2ms) INSERT INTO `activities` (`created_at`, `public`, `updated_at`, `action`, `user_id`, `item_id`, `item_type`) VALUES('2010-12-22 05:17:53', 1, '2010-12-22 05:17:53', NULL, 1, 10, 'BlogPost') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + BlogPostTopic Load (0.3ms) SELECT * FROM `blog_post_topics` INNER JOIN `blog_post_topics_blog_posts` ON `blog_post_topics`.id = `blog_post_topics_blog_posts`.blog_post_topic_id WHERE (`blog_post_topics_blog_posts`.blog_post_id = 10 )  + SQL (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Completed in 36ms (View: 24, DB: 2) | 201 Created [http://www.example.com/blog_posts.xml] + SQL (29.7ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing SessionsController#destroy (for 127.0.0.1 at 2010-12-21 22:17:53) [GET] + Theme Load (1.6ms) SELECT * FROM `themes` LIMIT 1 +Redirected to http://www.example.com/ +Completed in 22ms (DB: 32) | 302 Found [http://www.example.com/logout] + + +Processing BlogPostsController#create to xml (for 127.0.0.1 at 2010-12-21 22:17:53) [POST] + Parameters: {"blog_post"=>{"title"=>"API Test Post", "body"=>"API Test Body", "guid"=>"22222", "featured"=>"false", "published"=>"true", "url"=>"http://www.apiblogpost.com", "summary"=>"Blog Post Summary"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = '') LIMIT 1 +Filter chain halted as [:api_filter] rendered_or_redirected. +Completed in 29ms (View: 25, DB: 1) | 401 Unauthorized [http://www.example.com/blog_posts.xml] + SQL (29.7ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing SessionsController#destroy (for 127.0.0.1 at 2010-12-21 22:17:53) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Redirected to http://www.example.com/ +Completed in 3ms (DB: 31) | 302 Found [http://www.example.com/logout] + + +Processing BlogPostsController#update to json (for 127.0.0.1 at 2010-12-21 22:17:53) [PUT] + Parameters: {"api_key"=>"testapikey", "id"=>"1", "blog_post"=>{"title"=>"API Test Post", "body"=>"API Test Body", "guid"=>"22222", "featured"=>"false", "published"=>"true", "url"=>"http://www.apiblogpost.com", "summary"=>"Blog Post Summary"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = '') LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + BlogPost Load (0.2ms) SELECT * FROM `blog_posts` WHERE (`blog_posts`.`id` = 1)  + User Load (0.4ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + CACHE (0.0ms) SELECT * FROM `blog_posts` WHERE (`blog_posts`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + BlogPost Update (0.3ms) UPDATE `blog_posts` SET `updated_at` = '2010-12-22 05:17:53', `guid` = '22222', `title` = 'API Test Post', `url` = 'http://www.apiblogpost.com', `body` = 'API Test Body' WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + BlogPostTopic Load (0.3ms) SELECT * FROM `blog_post_topics` INNER JOIN `blog_post_topics_blog_posts` ON `blog_post_topics`.id = `blog_post_topics_blog_posts`.blog_post_topic_id WHERE (`blog_post_topics_blog_posts`.blog_post_id = 1 )  + SQL (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Completed in 34ms (View: 22, DB: 3) | 200 OK [http://www.example.com/blog_posts/1.json] + SQL (26.5ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing SessionsController#destroy (for 127.0.0.1 at 2010-12-21 22:17:53) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Redirected to http://www.example.com/ +Completed in 3ms (DB: 28) | 302 Found [http://www.example.com/logout] + + +Processing BlogPostsController#update to xml (for 127.0.0.1 at 2010-12-21 22:17:53) [PUT] + Parameters: {"api_key"=>"testapikey", "id"=>"1", "blog_post"=>{"title"=>"API Test Post", "body"=>"API Test Body", "guid"=>"22222", "featured"=>"false", "published"=>"true", "url"=>"http://www.apiblogpost.com", "summary"=>"Blog Post Summary"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = '') LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + BlogPost Load (0.2ms) SELECT * FROM `blog_posts` WHERE (`blog_posts`.`id` = 1)  + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + CACHE (0.0ms) SELECT * FROM `blog_posts` WHERE (`blog_posts`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + BlogPost Update (0.3ms) UPDATE `blog_posts` SET `updated_at` = '2010-12-22 05:17:53', `guid` = '22222', `title` = 'API Test Post', `url` = 'http://www.apiblogpost.com', `body` = 'API Test Body' WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + BlogPostTopic Load (0.1ms) SELECT * FROM `blog_post_topics` INNER JOIN `blog_post_topics_blog_posts` ON `blog_post_topics`.id = `blog_post_topics_blog_posts`.blog_post_topic_id WHERE (`blog_post_topics_blog_posts`.blog_post_id = 1 )  + SQL (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Completed in 152ms (View: 142, DB: 2) | 200 OK [http://www.example.com/blog_posts/1.xml] + SQL (33.7ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing EventsController#index to json (for 127.0.0.1 at 2010-12-21 22:17:54) [GET] + Parameters: {"api_key"=>"testapikey"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + Event Load (0.4ms) SELECT * FROM `events` WHERE (start_time>now()) ORDER BY start_time ASC +Completed in 40ms (View: 23, DB: 35) | 200 OK [http://www.example.com/events.json] + SQL (30.6ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing EventsController#show to json (for 127.0.0.1 at 2010-12-21 22:17:54) [GET] + Parameters: {"api_key"=>"testapikey", "id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + Event Load (0.3ms) SELECT * FROM `events` WHERE (`events`.`id` = 1)  +Completed in 28ms (View: 22, DB: 32) | 200 OK [http://www.example.com/events/1.json] + SQL (31.7ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing SessionsController#destroy (for 127.0.0.1 at 2010-12-21 22:17:54) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Redirected to http://www.example.com/ +Completed in 3ms (DB: 33) | 302 Found [http://www.example.com/logout] + + +Processing EventsController#create to json (for 127.0.0.1 at 2010-12-21 22:17:54) [POST] + Parameters: {"api_key"=>"testapikey", "event"=>{"name"=>"Test API Event 1", "city"=>"TestTown", "end_time"=>"2010-12-21 22:17:54", "location"=>"Testville, USA", "organized_by"=>"API Testers of America", "street"=>"Testers Rd.", "user_id"=>"1", "website"=>"http://www.test.com", "phone"=>"555-555-5555", "description"=>"Test API Event 1 Desc", "event_type"=>"API Type", "start_time"=>"2010-12-21 22:17:54"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = '') LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + +ActiveRecord::AssociationTypeMismatch (Location(#-617317448) expected, got String(#-608374268)): + app/controllers/events_controller.rb:98:in `new' + app/controllers/events_controller.rb:98:in `create' + /test/integration/api/events_test.rb:74:in `test_should_create_event_via_API_JSON' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run' + /usr/lib/ruby/1.8/test/unit/ui/testrunnermediator.rb:46:in `run_suite' + /usr/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:67:in `start_mediator' + /usr/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:41:in `start' + /usr/lib/ruby/1.8/test/unit/ui/testrunnerutilities.rb:29:in `run' + /usr/lib/ruby/1.8/test/unit/autorunner.rb:216:in `run' + /usr/lib/ruby/1.8/test/unit/autorunner.rb:12:in `run' + /usr/lib/ruby/1.8/test/unit.rb:279 + rake (0.8.7) lib/rake/rake_test_loader.rb:5 + +Rendered rescues/_trace (40.2ms) +Rendered rescues/_request_and_response (1.7ms) +Rendering rescues/layout (internal_server_error) + SQL (53.9ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing SessionsController#destroy (for 127.0.0.1 at 2010-12-21 22:17:58) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Redirected to http://www.example.com/ +Completed in 3ms (DB: 56) | 302 Found [http://www.example.com/logout] + + +Processing EventsController#create to xml (for 127.0.0.1 at 2010-12-21 22:17:58) [POST] + Parameters: {"api_key"=>"testapikey", "event"=>{"name"=>"Test API Event 1", "city"=>"TestTown", "end_time"=>"2010-12-21 22:17:58", "location"=>"Testville, USA", "organized_by"=>"API Testers of America", "street"=>"Testers Rd.", "user_id"=>"1", "website"=>"http://www.test.com", "phone"=>"555-555-5555", "description"=>"Test API Event 1 Desc", "event_type"=>"API Type", "start_time"=>"2010-12-21 22:17:58"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = '') LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + +ActiveRecord::AssociationTypeMismatch (Location(#-617317448) expected, got String(#-608374268)): + app/controllers/events_controller.rb:98:in `new' + app/controllers/events_controller.rb:98:in `create' + /test/integration/api/events_test.rb:53:in `test_should_create_event_via_API_XML' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run' + /usr/lib/ruby/1.8/test/unit/ui/testrunnermediator.rb:46:in `run_suite' + /usr/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:67:in `start_mediator' + /usr/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:41:in `start' + /usr/lib/ruby/1.8/test/unit/ui/testrunnerutilities.rb:29:in `run' + /usr/lib/ruby/1.8/test/unit/autorunner.rb:216:in `run' + /usr/lib/ruby/1.8/test/unit/autorunner.rb:12:in `run' + /usr/lib/ruby/1.8/test/unit.rb:279 + rake (0.8.7) lib/rake/rake_test_loader.rb:5 + +Rendered rescues/_trace (35.2ms) +Rendered rescues/_request_and_response (0.5ms) +Rendering rescues/layout (internal_server_error) + SQL (39.1ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing SessionsController#destroy (for 127.0.0.1 at 2010-12-21 22:18:02) [GET] + Theme Load (0.2ms) SELECT * FROM `themes` LIMIT 1 +Redirected to http://www.example.com/ +Completed in 3ms (DB: 42) | 302 Found [http://www.example.com/logout] + + +Processing EventsController#create to xml (for 127.0.0.1 at 2010-12-21 22:18:02) [POST] + Parameters: {"event"=>{"name"=>"Test API Event 1", "city"=>"TestTown", "end_time"=>"2010-12-21 22:18:02", "location"=>"Testville, USA", "organized_by"=>"API Testers of America", "street"=>"Testers Rd.", "user_id"=>"1", "website"=>"http://www.test.com", "phone"=>"555-555-5555", "description"=>"Test API Event 1 Desc", "event_type"=>"API Type", "start_time"=>"2010-12-21 22:18:02"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = '') LIMIT 1 +Filter chain halted as [:api_filter] rendered_or_redirected. +Completed in 166ms (View: 162, DB: 1) | 401 Unauthorized [http://www.example.com/events.xml] + SQL (55.3ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing SessionsController#destroy (for 127.0.0.1 at 2010-12-21 22:18:02) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Redirected to http://www.example.com/ +Completed in 3ms (DB: 56) | 302 Found [http://www.example.com/logout] + + +Processing EventsController#update to json (for 127.0.0.1 at 2010-12-21 22:18:02) [PUT] + Parameters: {"api_key"=>"testapikey", "id"=>"1", "event"=>{"name"=>"Test API Event 1", "city"=>"TestTown", "end_time"=>"2010-12-21 22:18:02", "location"=>"Testville, USA", "organized_by"=>"API Testers of America", "street"=>"Testers Rd.", "user_id"=>"1", "website"=>"http://www.test.com", "phone"=>"555-555-5555", "description"=>"Test API Event 1 Desc", "event_type"=>"API Type", "start_time"=>"2010-12-21 22:18:02"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = '') LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.`id` = 1)  + +ActiveRecord::AssociationTypeMismatch (Location(#-617317448) expected, got String(#-608374268)): + app/controllers/events_controller.rb:136:in `update' + app/controllers/events_controller.rb:135:in `update' + /test/integration/api/events_test.rb:135:in `test_should_update_event_via_API_JSON' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run' + /usr/lib/ruby/1.8/test/unit/ui/testrunnermediator.rb:46:in `run_suite' + /usr/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:67:in `start_mediator' + /usr/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:41:in `start' + /usr/lib/ruby/1.8/test/unit/ui/testrunnerutilities.rb:29:in `run' + /usr/lib/ruby/1.8/test/unit/autorunner.rb:216:in `run' + /usr/lib/ruby/1.8/test/unit/autorunner.rb:12:in `run' + /usr/lib/ruby/1.8/test/unit.rb:279 + rake (0.8.7) lib/rake/rake_test_loader.rb:5 + +Rendered rescues/_trace (38.5ms) +Rendered rescues/_request_and_response (0.5ms) +Rendering rescues/layout (internal_server_error) + SQL (83.4ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing SessionsController#destroy (for 127.0.0.1 at 2010-12-21 22:18:03) [GET] + Theme Load (0.2ms) SELECT * FROM `themes` LIMIT 1 +Redirected to http://www.example.com/ +Completed in 4ms (DB: 154) | 302 Found [http://www.example.com/logout] + + +Processing EventsController#update to xml (for 127.0.0.1 at 2010-12-21 22:18:03) [PUT] + Parameters: {"api_key"=>"testapikey", "id"=>"1", "event"=>{"name"=>"Test API Event 1", "city"=>"TestTown", "end_time"=>"2010-12-21 22:18:03", "location"=>"Testville, USA", "organized_by"=>"API Testers of America", "street"=>"Testers Rd.", "user_id"=>"1", "website"=>"http://www.test.com", "phone"=>"555-555-5555", "description"=>"Test API Event 1 Desc", "event_type"=>"API Type", "start_time"=>"2010-12-21 22:18:03"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = '') LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.`id` = 1)  + +ActiveRecord::AssociationTypeMismatch (Location(#-617317448) expected, got String(#-608374268)): + app/controllers/events_controller.rb:136:in `update' + app/controllers/events_controller.rb:135:in `update' + /test/integration/api/events_test.rb:115:in `test_should_update_event_via_API_XML' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run' + /usr/lib/ruby/1.8/test/unit/ui/testrunnermediator.rb:46:in `run_suite' + /usr/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:67:in `start_mediator' + /usr/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:41:in `start' + /usr/lib/ruby/1.8/test/unit/ui/testrunnerutilities.rb:29:in `run' + /usr/lib/ruby/1.8/test/unit/autorunner.rb:216:in `run' + /usr/lib/ruby/1.8/test/unit/autorunner.rb:12:in `run' + /usr/lib/ruby/1.8/test/unit.rb:279 + rake (0.8.7) lib/rake/rake_test_loader.rb:5 + +Rendered rescues/_trace (163.9ms) +Rendered rescues/_request_and_response (0.6ms) +Rendering rescues/layout (internal_server_error) + SQL (46.2ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing FollowsController#index to json (for 127.0.0.1 at 2010-12-21 22:18:03) [GET] + Parameters: {"api_key"=>"testapikey", "user_id"=>"1", "type"=>"followees"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Follow Load (0.4ms) SELECT * FROM `follows` WHERE (`follows`.follower_id = 1) ORDER BY created_at DESC +Completed in 41ms (View: 29, DB: 49) | 200 OK [http://www.example.com/users/1/follows.json?type=followees&api_key=testapikey] + SQL (25.7ms) ROLLBACK + SQL (0.0ms) BEGIN + + +Processing FollowsController#index to json (for 127.0.0.1 at 2010-12-21 22:18:03) [GET] + Parameters: {"api_key"=>"testapikey", "user_id"=>"1", "type"=>"followers"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Follow Load (0.4ms) SELECT * FROM `follows` WHERE (`follows`.followee_id = 1) ORDER BY created_at DESC +Completed in 30ms (View: 25, DB: 27) | 200 OK [http://www.example.com/users/1/follows.json?type=followers&api_key=testapikey] + SQL (29.8ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing FollowsController#create to json (for 127.0.0.1 at 2010-12-21 22:18:03) [POST] + Parameters: {"api_key"=>"bobbyapikey", "followee_id"=>"3"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.4ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'bobbyapikey') LIMIT 1 + SQL (0.1ms) SAVEPOINT active_record_1 + Follow Create (0.2ms) INSERT INTO `follows` (`created_at`, `updated_at`, `follower_id`, `followee_id`) VALUES('2010-12-22 05:18:03', '2010-12-22 05:18:03', 6, 3) + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Completed in 148ms (View: 142, DB: 32) | 201 Created [http://www.example.com/follows.json?api_key=bobbyapikey&followee_id=3] + SQL (29.8ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.0ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing ForumPostsController#index to json (for 127.0.0.1 at 2010-12-21 22:18:03) [GET] + Parameters: {"api_key"=>"testapikey"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + ForumPost Load (0.4ms) SELECT * FROM `forum_posts`  +Completed in 47ms (View: 36, DB: 32) | 200 OK [http://www.example.com/forum_posts.json?api_key=testapikey] + SQL (29.6ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing ForumPostsController#index to json (for 127.0.0.1 at 2010-12-21 22:18:03) [GET] + Parameters: {"forum_topic_id"=>"1", "api_key"=>"testapikey"} + Theme Load (0.2ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + ForumTopic Load (0.2ms) SELECT * FROM `forum_topics` WHERE (`forum_topics`.`id` = 1)  + ForumPost Load (0.5ms) SELECT * FROM `forum_posts` WHERE (`forum_posts`.forum_topic_id = 1 AND (parent_id is null)) ORDER BY created_at DESC +Completed in 32ms (View: 26, DB: 32) | 200 OK [http://www.example.com/forum_posts.json?api_key=testapikey&forum_topic_id=1] + SQL (33.6ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing ForumPostsController#index to json (for 127.0.0.1 at 2010-12-21 22:18:04) [GET] + Parameters: {"api_key"=>"testapikey", "user_id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + ForumPost Load (0.6ms) SELECT * FROM `forum_posts` WHERE (`forum_posts`.user_id = 1) ORDER BY created_at DESC +Completed in 38ms (View: 34, DB: 36) | 200 OK [http://www.example.com/forum_posts.json?api_key=testapikey&user_id=1] + SQL (28.3ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing ForumPostsController#show to json (for 127.0.0.1 at 2010-12-21 22:18:04) [GET] + Parameters: {"api_key"=>"testapikey", "id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + ForumPost Load (0.2ms) SELECT * FROM `forum_posts` WHERE (`forum_posts`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + ForumPost Update (0.2ms) UPDATE `forum_posts` SET `views` = 1, `updated_at` = '2010-12-22 05:18:04' WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Completed in 31ms (View: 23, DB: 30) | 200 OK [http://www.example.com/forum_posts/1.json?api_key=testapikey] + SQL (30.7ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing SessionsController#destroy (for 127.0.0.1 at 2010-12-21 22:18:04) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Redirected to http://www.example.com/ +Completed in 3ms (DB: 32) | 302 Found [http://www.example.com/logout] + + +Processing ForumPostsController#create to json (for 127.0.0.1 at 2010-12-21 22:18:04) [POST] + Parameters: {"forum_post"=>{"title"=>"API Test Post", "body"=>"Test Post desc", "user_id"=>"1"}, "api_key"=>"testapikey"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = '') LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + SQL (0.1ms) SAVEPOINT active_record_1 + ForumPost Create (0.2ms) INSERT INTO `forum_posts` (`forum_topic_id`, `created_at`, `title`, `body`, `featured`, `updated_at`, `views`, `user_id`, `parent_id`) VALUES(NULL, '2010-12-22 05:18:04', 'API Test Post', 'Test Post desc', NULL, '2010-12-22 05:18:04', 0, 1, NULL) + Activity Create (0.2ms) INSERT INTO `activities` (`created_at`, `public`, `updated_at`, `action`, `user_id`, `item_id`, `item_type`) VALUES('2010-12-22 05:18:04', 1, '2010-12-22 05:18:04', NULL, 1, 19, 'ForumPost') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Completed in 156ms (View: 147, DB: 2) | 201 Created [http://www.example.com/forum_posts.json] + SQL (34.2ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing SessionsController#destroy (for 127.0.0.1 at 2010-12-21 22:18:04) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Redirected to http://www.example.com/ +Completed in 3ms (DB: 35) | 302 Found [http://www.example.com/logout] + + +Processing ForumPostsController#create to xml (for 127.0.0.1 at 2010-12-21 22:18:04) [POST] + Parameters: {"forum_post"=>{"title"=>"API Test Post", "body"=>"Test Post desc", "user_id"=>"1"}, "api_key"=>"testapikey"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = '') LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + SQL (0.1ms) SAVEPOINT active_record_1 + ForumPost Create (0.2ms) INSERT INTO `forum_posts` (`forum_topic_id`, `created_at`, `title`, `body`, `featured`, `updated_at`, `views`, `user_id`, `parent_id`) VALUES(NULL, '2010-12-22 05:18:04', 'API Test Post', 'Test Post desc', NULL, '2010-12-22 05:18:04', 0, 1, NULL) + Activity Create (0.2ms) INSERT INTO `activities` (`created_at`, `public`, `updated_at`, `action`, `user_id`, `item_id`, `item_type`) VALUES('2010-12-22 05:18:04', 1, '2010-12-22 05:18:04', NULL, 1, 20, 'ForumPost') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Completed in 34ms (View: 24, DB: 2) | 201 Created [http://www.example.com/forum_posts.xml] + SQL (34.0ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing ForumTopicsController#index to json (for 127.0.0.1 at 2010-12-21 22:18:04) [GET] + Parameters: {"api_key"=>"testapikey"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + ForumTopic Load (0.3ms) SELECT * FROM `forum_topics`  +Completed in 157ms (View: 144, DB: 35) | 200 OK [http://www.example.com/forum_topics.json] + SQL (53.5ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing ForumTopicsController#show to json (for 127.0.0.1 at 2010-12-21 22:18:04) [GET] + Parameters: {"api_key"=>"testapikey", "id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + ForumTopic Load (0.1ms) SELECT * FROM `forum_topics` WHERE (`forum_topics`.`id` = 1)  +Completed in 29ms (View: 24, DB: 55) | 200 OK [http://www.example.com/forum_topics/1.json] + SQL (31.9ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing SessionsController#destroy (for 127.0.0.1 at 2010-12-21 22:18:04) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Redirected to http://www.example.com/ +Completed in 3ms (DB: 33) | 302 Found [http://www.example.com/logout] + + +Processing ForumTopicsController#create to json (for 127.0.0.1 at 2010-12-21 22:18:04) [POST] + Parameters: {"api_key"=>"testapikey", "forum_topic"=>{"title"=>"API Test Topic", "user_id"=>"1", "description"=>"Test topic desc"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = '') LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + Role Load (0.3ms) SELECT `roles`.* FROM `roles` INNER JOIN `permissions` ON `roles`.id = `permissions`.role_id WHERE ((`permissions`.user_id = 1))  + SQL (0.1ms) SAVEPOINT active_record_1 + ForumTopic Create (0.2ms) INSERT INTO `forum_topics` (`created_at`, `title`, `updated_at`, `user_id`, `description`) VALUES('2010-12-22 05:18:04', 'API Test Topic', '2010-12-22 05:18:04', 1, 'Test topic desc') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Completed in 31ms (View: 22, DB: 2) | 201 Created [http://www.example.com/forum_topics.json] + SQL (37.1ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing SessionsController#destroy (for 127.0.0.1 at 2010-12-21 22:18:04) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Redirected to http://www.example.com/ +Completed in 3ms (DB: 38) | 302 Found [http://www.example.com/logout] + + +Processing ForumTopicsController#create to xml (for 127.0.0.1 at 2010-12-21 22:18:04) [POST] + Parameters: {"api_key"=>"testapikey", "forum_topic"=>{"title"=>"API Test Topic", "user_id"=>"1", "description"=>"Test topic desc"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = '') LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + Role Load (0.1ms) SELECT `roles`.* FROM `roles` INNER JOIN `permissions` ON `roles`.id = `permissions`.role_id WHERE ((`permissions`.user_id = 1))  + SQL (0.1ms) SAVEPOINT active_record_1 + ForumTopic Create (0.2ms) INSERT INTO `forum_topics` (`created_at`, `title`, `updated_at`, `user_id`, `description`) VALUES('2010-12-22 05:18:04', 'API Test Topic', '2010-12-22 05:18:04', 1, 'Test topic desc') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Completed in 160ms (View: 153, DB: 2) | 201 Created [http://www.example.com/forum_topics.xml] + SQL (35.3ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing SessionsController#destroy (for 127.0.0.1 at 2010-12-21 22:18:05) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Redirected to http://www.example.com/ +Completed in 3ms (DB: 36) | 302 Found [http://www.example.com/logout] + + +Processing ForumTopicsController#create to xml (for 127.0.0.1 at 2010-12-21 22:18:05) [POST] + Parameters: {"forum_topic"=>{"title"=>"API Test Topic", "user_id"=>"1", "description"=>"Test topic desc"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = '') LIMIT 1 +Filter chain halted as [:api_filter] rendered_or_redirected. +Completed in 26ms (View: 23, DB: 1) | 401 Unauthorized [http://www.example.com/forum_topics.xml] + SQL (35.0ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing SessionsController#destroy (for 127.0.0.1 at 2010-12-21 22:18:05) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Redirected to http://www.example.com/ +Completed in 3ms (DB: 36) | 302 Found [http://www.example.com/logout] + + +Processing ForumTopicsController#update to json (for 127.0.0.1 at 2010-12-21 22:18:05) [PUT] + Parameters: {"api_key"=>"testapikey", "id"=>"1", "forum_topic"=>{"title"=>"Updated API Test Topic", "user_id"=>"1", "description"=>"Updated Test topic desc"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = '') LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + Role Load (0.1ms) SELECT `roles`.* FROM `roles` INNER JOIN `permissions` ON `roles`.id = `permissions`.role_id WHERE ((`permissions`.user_id = 1))  + ForumTopic Load (0.2ms) SELECT * FROM `forum_topics` WHERE (`forum_topics`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + ForumTopic Update (0.2ms) UPDATE `forum_topics` SET `updated_at` = '2010-12-22 05:18:05', `title` = 'Updated API Test Topic', `description` = 'Updated Test topic desc' WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Completed in 156ms (View: 149, DB: 2) | 200 OK [http://www.example.com/forum_topics/1.json] + SQL (38.4ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing SessionsController#destroy (for 127.0.0.1 at 2010-12-21 22:18:05) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Redirected to http://www.example.com/ +Completed in 3ms (DB: 40) | 302 Found [http://www.example.com/logout] + + +Processing ForumTopicsController#update to xml (for 127.0.0.1 at 2010-12-21 22:18:05) [PUT] + Parameters: {"api_key"=>"testapikey", "id"=>"1", "forum_topic"=>{"title"=>"Updated API Test Topic", "user_id"=>"1", "description"=>"Updated Test topic desc"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = '') LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + Role Load (0.1ms) SELECT `roles`.* FROM `roles` INNER JOIN `permissions` ON `roles`.id = `permissions`.role_id WHERE ((`permissions`.user_id = 1))  + ForumTopic Load (0.3ms) SELECT * FROM `forum_topics` WHERE (`forum_topics`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + ForumTopic Update (0.3ms) UPDATE `forum_topics` SET `updated_at` = '2010-12-22 05:18:05', `title` = 'Updated API Test Topic', `description` = 'Updated Test topic desc' WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Completed in 31ms (View: 23, DB: 2) | 200 OK [http://www.example.com/forum_topics/1.xml] + SQL (36.2ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing SessionsController#destroy (for 127.0.0.1 at 2010-12-21 22:18:05) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Redirected to http://www.example.com/ +Completed in 3ms (DB: 37) | 302 Found [http://www.example.com/logout] + + +Processing FriendsController#create to json (for 127.0.0.1 at 2010-12-21 22:18:05) [POST] + Parameters: {"api_key"=>"bobbyapikey", "user_id"=>"6", "friend_id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = '') LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'bobbyapikey') LIMIT 1 + User Load (0.5ms) SELECT * FROM `users` WHERE (`users`.`id` = 6)  + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Friendship Load (0.2ms) SELECT * FROM `friendships` WHERE (`friendships`.`user_id` = 6 AND `friendships`.`friend_id` = 1) LIMIT 1 + SQL (0.1ms) SAVEPOINT active_record_1 + Friendship Create (0.2ms) INSERT INTO `friendships` (`created_at`, `updated_at`, `user_id`, `status`, `friend_id`) VALUES('2010-12-22 05:18:05', '2010-12-22 05:18:05', 6, 'requested', 1) + Friendship Create (0.1ms) INSERT INTO `friendships` (`created_at`, `updated_at`, `user_id`, `status`, `friend_id`) VALUES('2010-12-22 05:18:05', '2010-12-22 05:18:05', 1, 'pending', 6) + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Completed in 177ms (View: 149, DB: 3) | 201 Created [http://www.example.com/users/6/friends.json] + + +Processing SessionsController#destroy (for 127.0.0.1 at 2010-12-21 22:18:05) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.5ms) SELECT * FROM `users` WHERE (`users`.`id` = 6) LIMIT 1 + SQL (0.1ms) SAVEPOINT active_record_1 + Role Load (0.3ms) SELECT * FROM `roles` WHERE (`roles`.`rolename` = 'administrator') LIMIT 1 + User Load (0.4ms) SELECT `users`.* FROM `users` INNER JOIN `permissions` ON permissions.user_id = users.id WHERE (role_id = 2)  + Role Load (0.2ms) SELECT * FROM `roles` WHERE (`roles`.`rolename` = 'creator') LIMIT 1 + User Load (0.4ms) SELECT `users`.* FROM `users` INNER JOIN `permissions` ON permissions.user_id = users.id WHERE (role_id = 1)  + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/ +Completed in 12ms (DB: 3) | 302 Found [http://www.example.com/logout] + + +Processing FriendsController#update to json (for 127.0.0.1 at 2010-12-21 22:18:05) [PUT] + Parameters: {"api_key"=>"testapikey", "id"=>"6", "user_id"=>"1", "friend_id"=>"6"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = '') LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 6)  + SQL (0.1ms) SAVEPOINT active_record_1 + Friendship Load (0.2ms) SELECT * FROM `friendships` WHERE (`friendships`.`user_id` = 1 AND `friendships`.`friend_id` = 6) LIMIT 1 + Friendship Update (0.2ms) UPDATE `friendships` SET `updated_at` = '2010-12-22 05:18:05', `status` = 'accepted' WHERE `id` = 12 + Friendship Load (0.2ms) SELECT * FROM `friendships` WHERE (`friendships`.`user_id` = 6 AND `friendships`.`friend_id` = 1) LIMIT 1 + Friendship Update (0.2ms) UPDATE `friendships` SET `updated_at` = '2010-12-22 05:18:05', `status` = 'accepted' WHERE `id` = 11 + Friendship Load (0.2ms) SELECT * FROM `friendships` WHERE (`friendships`.`user_id` = 1 AND `friendships`.`friend_id` = 6) LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Activity Create (0.2ms) INSERT INTO `activities` (`created_at`, `public`, `updated_at`, `action`, `user_id`, `item_id`, `item_type`) VALUES('2010-12-22 05:18:05', 1, '2010-12-22 05:18:05', NULL, 1, 12, 'Friendship') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Completed in 41ms (View: 24, DB: 3) | 201 Created [http://www.example.com/users/1/friends/6.json] + SQL (37.4ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing FriendsController#create to json (for 127.0.0.1 at 2010-12-21 22:18:05) [POST] + Parameters: {"api_key"=>"testapikey", "user_id"=>"1", "friend_id"=>"6"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 6)  + Friendship Load (0.2ms) SELECT * FROM `friendships` WHERE (`friendships`.`user_id` = 1 AND `friendships`.`friend_id` = 6) LIMIT 1 + SQL (0.1ms) SAVEPOINT active_record_1 + Friendship Create (0.2ms) INSERT INTO `friendships` (`created_at`, `updated_at`, `user_id`, `status`, `friend_id`) VALUES('2010-12-22 05:18:05', '2010-12-22 05:18:05', 1, 'requested', 6) + Friendship Create (0.1ms) INSERT INTO `friendships` (`created_at`, `updated_at`, `user_id`, `status`, `friend_id`) VALUES('2010-12-22 05:18:05', '2010-12-22 05:18:05', 6, 'pending', 1) + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Completed in 34ms (View: 22, DB: 40) | 201 Created [http://www.example.com/users/1/friends.json] + SQL (36.4ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing FriendsController#index to json (for 127.0.0.1 at 2010-12-21 22:18:05) [GET] + Parameters: {"api_key"=>"testapikey", "user_id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + User Load (0.5ms) SELECT `users`.* FROM `users` INNER JOIN `friendships` ON `users`.id = `friendships`.friend_id WHERE ((`friendships`.user_id = 1) AND ((status = 'accepted')))  +Completed in 168ms (View: 157, DB: 38) | 200 OK [http://www.example.com/users/1/friends.json] + SQL (209.2ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing FriendsController#index to json (for 127.0.0.1 at 2010-12-21 22:18:06) [GET] + Parameters: {"api_key"=>"testapikey", "user_id"=>"1", "type"=>"pending"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + User Load (0.6ms) SELECT `users`.* FROM `users` INNER JOIN `friendships` ON `users`.id = `friendships`.friend_id WHERE ((`friendships`.user_id = 1) AND ((status = 'pending'))) ORDER BY friendships.created_at +Completed in 32ms (View: 23, DB: 211) | 200 OK [http://www.example.com/users/1/friends.json?type=pending&api_key=testapikey] + SQL (36.6ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing FriendsController#index to json (for 127.0.0.1 at 2010-12-21 22:18:06) [GET] + Parameters: {"api_key"=>"testapikey", "user_id"=>"1", "type"=>"requested"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + User Load (0.6ms) SELECT `users`.* FROM `users` INNER JOIN `friendships` ON `users`.id = `friendships`.friend_id WHERE ((`friendships`.user_id = 1) AND ((status = 'requested'))) ORDER BY friendships.created_at +Completed in 160ms (View: 152, DB: 39) | 200 OK [http://www.example.com/users/1/friends.json?type=requested&api_key=testapikey] + SQL (32.9ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing GroupsController#index to json (for 127.0.0.1 at 2010-12-21 22:18:06) [GET] + Parameters: {"api_key"=>"testapikey"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + Group Load (0.3ms) SELECT * FROM `groups`  +Completed in 39ms (View: 24, DB: 34) | 200 OK [http://www.example.com/groups.json] + SQL (27.5ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing GroupsController#show to json (for 127.0.0.1 at 2010-12-21 22:18:06) [GET] + Parameters: {"api_key"=>"testapikey", "id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 1)  + Page Load (0.2ms) SELECT * FROM `pages` WHERE (`pages`.`name` = 'group') LIMIT 1 +Completed in 28ms (View: 23, DB: 29) | 200 OK [http://www.example.com/groups/1.json] + SQL (31.8ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing SessionsController#destroy (for 127.0.0.1 at 2010-12-21 22:18:06) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Redirected to http://www.example.com/ +Completed in 3ms (DB: 33) | 302 Found [http://www.example.com/logout] + + +Processing GroupsController#create to json (for 127.0.0.1 at 2010-12-21 22:18:06) [POST] + Parameters: {"group"=>{"name"=>"unit test group", "featured"=>"false", "description"=>"my desc"}, "api_key"=>"testapikey"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = '') LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + Role Load (0.1ms) SELECT `roles`.* FROM `roles` INNER JOIN `permissions` ON `roles`.id = `permissions`.role_id WHERE ((`permissions`.user_id = 1))  + SQL (0.2ms) SAVEPOINT active_record_1 + Group Create (0.4ms) INSERT INTO `groups` (`name`, `created_at`, `featured`, `announcements`, `private`, `updated_at`, `creator_id`, `description`, `photo_id`) VALUES('unit test group', '2010-12-22 05:18:10', 0, NULL, 0, '2010-12-22 05:18:10', 1, 'my desc', NULL) + Activity Create (0.3ms) INSERT INTO `activities` (`created_at`, `public`, `updated_at`, `action`, `user_id`, `item_id`, `item_type`) VALUES('2010-12-22 05:18:10', 1, '2010-12-22 05:18:10', NULL, 1, 5, 'Group') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Completed in 4179ms (View: 158, DB: 2) | 201 Created [http://www.example.com/groups.json] + SQL (47.0ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing SessionsController#destroy (for 127.0.0.1 at 2010-12-21 22:18:10) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Redirected to http://www.example.com/ +Completed in 3ms (DB: 48) | 302 Found [http://www.example.com/logout] + + +Processing GroupsController#create to xml (for 127.0.0.1 at 2010-12-21 22:18:10) [POST] + Parameters: {"group"=>{"name"=>"unit test group", "featured"=>"false", "description"=>"my desc"}, "api_key"=>"testapikey"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = '') LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + Role Load (0.1ms) SELECT `roles`.* FROM `roles` INNER JOIN `permissions` ON `roles`.id = `permissions`.role_id WHERE ((`permissions`.user_id = 1))  + SQL (0.2ms) SAVEPOINT active_record_1 + Group Create (0.4ms) INSERT INTO `groups` (`name`, `created_at`, `featured`, `announcements`, `private`, `updated_at`, `creator_id`, `description`, `photo_id`) VALUES('unit test group', '2010-12-22 05:18:14', 0, NULL, 0, '2010-12-22 05:18:14', 1, 'my desc', NULL) + Activity Create (0.3ms) INSERT INTO `activities` (`created_at`, `public`, `updated_at`, `action`, `user_id`, `item_id`, `item_type`) VALUES('2010-12-22 05:18:14', 1, '2010-12-22 05:18:14', NULL, 1, 6, 'Group') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Completed in 4052ms (View: 33, DB: 2) | 201 Created [http://www.example.com/groups.xml] + SQL (34.5ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing SessionsController#destroy (for 127.0.0.1 at 2010-12-21 22:18:15) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Redirected to http://www.example.com/ +Completed in 3ms (DB: 36) | 302 Found [http://www.example.com/logout] + + +Processing GroupsController#create to xml (for 127.0.0.1 at 2010-12-21 22:18:15) [POST] + Parameters: {"group"=>{"name"=>"unit test group", "featured"=>"false", "description"=>"my desc"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = '') LIMIT 1 +Filter chain halted as [:api_filter] rendered_or_redirected. +Completed in 157ms (View: 153, DB: 1) | 401 Unauthorized [http://www.example.com/groups.xml] + SQL (36.5ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing SessionsController#destroy (for 127.0.0.1 at 2010-12-21 22:18:15) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Redirected to http://www.example.com/ +Completed in 3ms (DB: 38) | 302 Found [http://www.example.com/logout] + + +Processing GroupsController#update to json (for 127.0.0.1 at 2010-12-21 22:18:15) [PUT] + Parameters: {"group"=>{"name"=>"renamed unit test group", "featured"=>"false", "description"=>"my new desc"}, "api_key"=>"testapikey", "id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = '') LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + Group Load (0.3ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 1)  + Role Load (0.1ms) SELECT `roles`.* FROM `roles` INNER JOIN `permissions` ON `roles`.id = `permissions`.role_id WHERE ((`permissions`.user_id = 1))  + CACHE (0.0ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 1)  + SQL (0.2ms) SAVEPOINT active_record_1 + Group Update (0.5ms) UPDATE `groups` SET `updated_at` = '2010-12-22 05:18:19', `name` = 'renamed unit test group', `description` = 'my new desc' WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Completed in 4046ms (View: 28, DB: 2) | 200 OK [http://www.example.com/groups/1.json] + SQL (40.7ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing SessionsController#destroy (for 127.0.0.1 at 2010-12-21 22:18:19) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Redirected to http://www.example.com/ +Completed in 3ms (DB: 42) | 302 Found [http://www.example.com/logout] + + +Processing GroupsController#update to xml (for 127.0.0.1 at 2010-12-21 22:18:19) [PUT] + Parameters: {"group"=>{"name"=>"renamed unit test group", "featured"=>"false", "description"=>"my new desc"}, "api_key"=>"testapikey", "id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = '') LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + Group Load (0.2ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 1)  + Role Load (0.1ms) SELECT `roles`.* FROM `roles` INNER JOIN `permissions` ON `roles`.id = `permissions`.role_id WHERE ((`permissions`.user_id = 1))  + CACHE (0.0ms) SELECT * FROM `groups` WHERE (`groups`.`id` = 1)  + SQL (0.2ms) SAVEPOINT active_record_1 + Group Update (0.5ms) UPDATE `groups` SET `updated_at` = '2010-12-22 05:18:23', `name` = 'renamed unit test group', `description` = 'my new desc' WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Completed in 4048ms (View: 32, DB: 3) | 200 OK [http://www.example.com/groups/1.xml] + SQL (37.8ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing InvitesController#index to json (for 127.0.0.1 at 2010-12-21 22:18:23) [GET] + Parameters: {"api_key"=>"testapikey"} + Theme Load (0.2ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + Invite Load (0.3ms) SELECT * FROM `invites`  +Completed in 40ms (View: 25, DB: 39) | 200 OK [http://www.example.com/invites.json] + SQL (37.9ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing InvitesController#show to json (for 127.0.0.1 at 2010-12-21 22:18:23) [GET] + Parameters: {"api_key"=>"testapikey", "id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + Invite Load (0.2ms) SELECT * FROM `invites` WHERE (`invites`.`id` = 1)  +Completed in 28ms (View: 23, DB: 39) | 200 OK [http://www.example.com/invites/1.json] + SQL (32.1ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing SessionsController#destroy (for 127.0.0.1 at 2010-12-21 22:18:23) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Redirected to http://www.example.com/ +Completed in 3ms (DB: 33) | 302 Found [http://www.example.com/logout] + + +Processing InvitesController#create to json (for 127.0.0.1 at 2010-12-21 22:18:23) [POST] + Parameters: {"invite"=>{"user_id"=>"1", "accepted"=>"false", "message"=>"API Invite 1", "email"=>"test@email.com"}, "api_key"=>"testapikey"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = '') LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + Invite Load (0.2ms) SELECT * FROM `invites` WHERE (`invites`.`email` = 'test@email.com') LIMIT 1 + SQL (0.1ms) SAVEPOINT active_record_1 + Invite Create (0.2ms) INSERT INTO `invites` (`created_at`, `updated_at`, `invite_code`, `user_id`, `message`, `accepted`, `email`) VALUES('2010-12-22 05:18:23', '2010-12-22 05:18:23', 'Z6IVr4jmk7VwMWfG', 1, 'API Invite 1', 0, 'test@email.com') + Network Load (0.1ms) SELECT * FROM `networks` LIMIT 1 +Sent mail to test@email.com + +Date: Tue, 21 Dec 2010 22:18:23 -0700 +From: quentin@example.com +To: test@email.com +Subject: An Invitation to Join Test Network +Mime-Version: 1.0 +Content-Type: text/html; charset=utf-8 + + + + +quentin test has invited you to join the Michigan Ruby Community +at RubyMI.org. +

    +To accept this invitation, click this link:
    +http://www.rubymi.org/signup?invite_code=Z6IVr4jmk7VwMWfG + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Completed in 171ms (View: 157, DB: 2) | 201 Created [http://www.example.com/invites.json] + SQL (38.6ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing SessionsController#destroy (for 127.0.0.1 at 2010-12-21 22:18:24) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Redirected to http://www.example.com/ +Completed in 3ms (DB: 40) | 302 Found [http://www.example.com/logout] + + +Processing InvitesController#create to xml (for 127.0.0.1 at 2010-12-21 22:18:24) [POST] + Parameters: {"invite"=>{"user_id"=>"1", "accepted"=>"false", "message"=>"API Invite 1", "email"=>"test@email.com"}, "api_key"=>"testapikey"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = '') LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + Invite Load (0.2ms) SELECT * FROM `invites` WHERE (`invites`.`email` = 'test@email.com') LIMIT 1 + SQL (0.1ms) SAVEPOINT active_record_1 + Invite Create (0.2ms) INSERT INTO `invites` (`created_at`, `updated_at`, `invite_code`, `user_id`, `message`, `accepted`, `email`) VALUES('2010-12-22 05:18:24', '2010-12-22 05:18:24', 'gF7f3qvFf5iPHDrw', 1, 'API Invite 1', 0, 'test@email.com') + Network Load (0.1ms) SELECT * FROM `networks` LIMIT 1 +Sent mail to test@email.com + +Date: Tue, 21 Dec 2010 22:18:24 -0700 +From: quentin@example.com +To: test@email.com +Subject: An Invitation to Join Test Network +Mime-Version: 1.0 +Content-Type: text/html; charset=utf-8 + + + + +quentin test has invited you to join the Michigan Ruby Community +at RubyMI.org. +

    +To accept this invitation, click this link:
    +http://www.rubymi.org/signup?invite_code=gF7f3qvFf5iPHDrw + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Completed in 36ms (View: 25, DB: 2) | 201 Created [http://www.example.com/invites.xml] + SQL (43.1ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing SessionsController#destroy (for 127.0.0.1 at 2010-12-21 22:18:24) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Redirected to http://www.example.com/ +Completed in 3ms (DB: 44) | 302 Found [http://www.example.com/logout] + + +Processing InvitesController#create to xml (for 127.0.0.1 at 2010-12-21 22:18:24) [POST] + Parameters: {"invite"=>{"user_id"=>"1", "accepted"=>"false", "message"=>"API Invite 1", "email"=>"test@email.com"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = '') LIMIT 1 +Filter chain halted as [:api_filter] rendered_or_redirected. +Completed in 159ms (View: 156, DB: 1) | 401 Unauthorized [http://www.example.com/invites.xml] + SQL (34.1ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing SessionsController#destroy (for 127.0.0.1 at 2010-12-21 22:18:24) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Redirected to http://www.example.com/ +Completed in 3ms (DB: 35) | 302 Found [http://www.example.com/logout] + + +Processing InvitesController#update to json (for 127.0.0.1 at 2010-12-21 22:18:24) [PUT] + Parameters: {"invite"=>{"user_id"=>"1", "accepted"=>"false", "message"=>"API Invite 1", "email"=>"test@email.com"}, "api_key"=>"testapikey", "id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = '') LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + Invite Load (0.2ms) SELECT * FROM `invites` WHERE (`invites`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + Invite Update (0.3ms) UPDATE `invites` SET `updated_at` = '2010-12-22 05:18:24', `message` = 'API Invite 1', `email` = 'test@email.com' WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Completed in 33ms (View: 25, DB: 2) | 200 OK [http://www.example.com/invites/1.json] + SQL (34.1ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing SessionsController#destroy (for 127.0.0.1 at 2010-12-21 22:18:24) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Redirected to http://www.example.com/ +Completed in 3ms (DB: 35) | 302 Found [http://www.example.com/logout] + + +Processing InvitesController#update to xml (for 127.0.0.1 at 2010-12-21 22:18:24) [PUT] + Parameters: {"invite"=>{"user_id"=>"1", "accepted"=>"false", "message"=>"API Invite 1", "email"=>"test@email.com"}, "api_key"=>"testapikey", "id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = '') LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + Invite Load (0.2ms) SELECT * FROM `invites` WHERE (`invites`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + Invite Update (0.2ms) UPDATE `invites` SET `updated_at` = '2010-12-22 05:18:24', `message` = 'API Invite 1', `email` = 'test@email.com' WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Completed in 29ms (View: 22, DB: 2) | 200 OK [http://www.example.com/invites/1.xml] + SQL (32.4ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing LinksController#index to json (for 127.0.0.1 at 2010-12-21 22:18:24) [GET] + Parameters: {"api_key"=>"testapikey"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + Link Load (0.3ms) SELECT * FROM `links` ORDER BY created_at DESC LIMIT 0, 30 + SQL (0.1ms) SELECT count(*) AS count_all FROM `links`  +Completed in 173ms (View: 159, DB: 34) | 200 OK [http://www.example.com/links.json] + SQL (29.5ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing LinksController#show to json (for 127.0.0.1 at 2010-12-21 22:18:24) [GET] + Parameters: {"api_key"=>"testapikey", "id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + Link Load (0.2ms) SELECT * FROM `links` WHERE (`links`.`id` = 1)  +Completed in 28ms (View: 23, DB: 31) | 200 OK [http://www.example.com/links/1.json] + SQL (32.4ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing SessionsController#destroy (for 127.0.0.1 at 2010-12-21 22:18:24) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Redirected to http://www.example.com/ +Completed in 3ms (DB: 34) | 302 Found [http://www.example.com/logout] + + +Processing LinksController#create to json (for 127.0.0.1 at 2010-12-21 22:18:24) [POST] + Parameters: {"api_key"=>"testapikey", "link"=>{"title"=>"API Link 1", "url"=>"http://www.api.com", "user_id"=>"1"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = '') LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + SQL (0.1ms) SAVEPOINT active_record_1 + Link Create (0.2ms) INSERT INTO `links` (`created_at`, `title`, `updated_at`, `url`, `user_id`) VALUES('2010-12-22 05:18:24', 'API Link 1', '2010-12-22 05:18:24', 'http://www.api.com', 1) + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Activity Create (0.2ms) INSERT INTO `activities` (`created_at`, `public`, `updated_at`, `action`, `user_id`, `item_id`, `item_type`) VALUES('2010-12-22 05:18:24', 1, '2010-12-22 05:18:24', NULL, 1, 5, 'Link') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Completed in 170ms (View: 160, DB: 2) | 201 Created [http://www.example.com/links.json] + SQL (33.4ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing SessionsController#destroy (for 127.0.0.1 at 2010-12-21 22:18:25) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Redirected to http://www.example.com/ +Completed in 3ms (DB: 35) | 302 Found [http://www.example.com/logout] + + +Processing LinksController#create to xml (for 127.0.0.1 at 2010-12-21 22:18:25) [POST] + Parameters: {"api_key"=>"testapikey", "link"=>{"title"=>"API Link 1", "url"=>"http://www.api.com", "user_id"=>"1"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = '') LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + SQL (0.1ms) SAVEPOINT active_record_1 + Link Create (0.2ms) INSERT INTO `links` (`created_at`, `title`, `updated_at`, `url`, `user_id`) VALUES('2010-12-22 05:18:25', 'API Link 1', '2010-12-22 05:18:25', 'http://www.api.com', 1) + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Activity Create (0.2ms) INSERT INTO `activities` (`created_at`, `public`, `updated_at`, `action`, `user_id`, `item_id`, `item_type`) VALUES('2010-12-22 05:18:25', 1, '2010-12-22 05:18:25', NULL, 1, 6, 'Link') + SQL (0.2ms) RELEASE SAVEPOINT active_record_1 +Completed in 35ms (View: 26, DB: 2) | 201 Created [http://www.example.com/links.xml] + SQL (50.5ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing SessionsController#destroy (for 127.0.0.1 at 2010-12-21 22:18:25) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Redirected to http://www.example.com/ +Completed in 3ms (DB: 52) | 302 Found [http://www.example.com/logout] + + +Processing LinksController#create to xml (for 127.0.0.1 at 2010-12-21 22:18:25) [POST] + Parameters: {"link"=>{"title"=>"API Link 1", "url"=>"http://www.api.com", "user_id"=>"1"}} + Theme Load (0.2ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = '') LIMIT 1 +Filter chain halted as [:api_filter] rendered_or_redirected. +Completed in 33ms (View: 27, DB: 28) | 401 Unauthorized [http://www.example.com/links.xml] + SQL (45.9ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing SessionsController#destroy (for 127.0.0.1 at 2010-12-21 22:18:25) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Redirected to http://www.example.com/ +Completed in 3ms (DB: 47) | 302 Found [http://www.example.com/logout] + + +Processing LinksController#update to json (for 127.0.0.1 at 2010-12-21 22:18:25) [PUT] + Parameters: {"api_key"=>"testapikey", "id"=>"1", "link"=>{"title"=>"API Link 1", "url"=>"http://www.api.com", "user_id"=>"1"}} + Theme Load (0.2ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = '') LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + Link Load (0.2ms) SELECT * FROM `links` WHERE (`links`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + Link Update (0.3ms) UPDATE `links` SET `updated_at` = '2010-12-22 05:18:25', `title` = 'API Link 1', `url` = 'http://www.api.com' WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Completed in 174ms (View: 25, DB: 26) | 200 OK [http://www.example.com/links/1.json] + SQL (31.1ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing SessionsController#destroy (for 127.0.0.1 at 2010-12-21 22:18:25) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Redirected to http://www.example.com/ +Completed in 3ms (DB: 32) | 302 Found [http://www.example.com/logout] + + +Processing LinksController#update to xml (for 127.0.0.1 at 2010-12-21 22:18:25) [PUT] + Parameters: {"api_key"=>"testapikey", "id"=>"1", "link"=>{"title"=>"API Link 1", "url"=>"http://www.api.com", "user_id"=>"1"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = '') LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + Link Load (0.2ms) SELECT * FROM `links` WHERE (`links`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + Link Update (0.3ms) UPDATE `links` SET `updated_at` = '2010-12-22 05:18:25', `title` = 'API Link 1', `url` = 'http://www.api.com' WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Completed in 30ms (View: 23, DB: 2) | 200 OK [http://www.example.com/links/1.xml] + SQL (36.9ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing MembershipsController#show to json (for 127.0.0.1 at 2010-12-21 22:18:25) [GET] + Parameters: {"api_key"=>"testapikey", "id"=>"2"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + Membership Load (0.3ms) SELECT * FROM `memberships` WHERE (`memberships`.`id` = 2)  +Completed in 172ms (View: 162, DB: 38) | 200 OK [http://www.example.com/memberships/2.json] + SQL (37.2ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing MembershipsController#find to json (for 127.0.0.1 at 2010-12-21 22:18:25) [GET] + Parameters: {"api_key"=>"testapikey", "group_id"=>"1", "user_id"=>"4"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + Membership Load (0.2ms) SELECT * FROM `memberships` WHERE (`memberships`.`user_id` = '4' AND `memberships`.`group_id` = '1') LIMIT 1 +Completed in 29ms (View: 24, DB: 39) | 200 OK [http://www.example.com/memberships/find.json?api_key=testapikey&user_id=4&group_id=1] + SQL (57.0ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing SessionsController#destroy (for 127.0.0.1 at 2010-12-21 22:18:25) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Redirected to http://www.example.com/ +Completed in 3ms (DB: 58) | 302 Found [http://www.example.com/logout] + + +Processing MembershipsController#create to json (for 127.0.0.1 at 2010-12-21 22:18:25) [POST] + Parameters: {"api_key"=>"testapikey", "group_id"=>"1", "user_id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = '') LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Role Load (0.1ms) SELECT `roles`.* FROM `roles` INNER JOIN `permissions` ON `roles`.id = `permissions`.role_id WHERE ((`permissions`.user_id = 1))  + Role Load (0.2ms) SELECT * FROM `roles` WHERE (`roles`.`rolename` = 'group_admin') LIMIT 1 + SQL (0.1ms) SAVEPOINT active_record_1 + Membership Create (0.2ms) INSERT INTO `memberships` (`created_at`, `updated_at`, `role_id`, `group_id`, `user_id`) VALUES('2010-12-22 05:18:26', '2010-12-22 05:18:26', 4, 1, 1) + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Activity Create (0.2ms) INSERT INTO `activities` (`created_at`, `public`, `updated_at`, `action`, `user_id`, `item_id`, `item_type`) VALUES('2010-12-22 05:18:26', 1, '2010-12-22 05:18:26', NULL, 1, 6, 'Membership') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Completed in 35ms (View: 23, DB: 2) | 201 Created [http://www.example.com/memberships.json] + SQL (48.3ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing SessionsController#destroy (for 127.0.0.1 at 2010-12-21 22:18:26) [GET] + Theme Load (0.2ms) SELECT * FROM `themes` LIMIT 1 +Redirected to http://www.example.com/ +Completed in 3ms (DB: 49) | 302 Found [http://www.example.com/logout] + + +Processing MembershipsController#create to json (for 127.0.0.1 at 2010-12-21 22:18:26) [POST] + Parameters: {"api_key"=>"testapikey", "group_id"=>"1", "user_id"=>"3"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = '') LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + User Load (0.4ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  + Role Load (0.2ms) SELECT `roles`.* FROM `roles` INNER JOIN `permissions` ON `roles`.id = `permissions`.role_id WHERE ((`permissions`.user_id = 3))  + Role Load (0.2ms) SELECT * FROM `roles` WHERE (`roles`.`rolename` = 'user') LIMIT 1 + SQL (0.1ms) SAVEPOINT active_record_1 + Membership Create (0.2ms) INSERT INTO `memberships` (`created_at`, `updated_at`, `role_id`, `group_id`, `user_id`) VALUES('2010-12-22 05:18:26', '2010-12-22 05:18:26', 3, 1, 3) + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  + Activity Create (0.2ms) INSERT INTO `activities` (`created_at`, `public`, `updated_at`, `action`, `user_id`, `item_id`, `item_type`) VALUES('2010-12-22 05:18:26', 1, '2010-12-22 05:18:26', NULL, 3, 7, 'Membership') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Completed in 39ms (View: 25, DB: 3) | 201 Created [http://www.example.com/memberships.json] + SQL (45.5ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing MembershipsController#create to json (for 127.0.0.1 at 2010-12-21 22:18:26) [POST] + Parameters: {"api_key"=>"testapikey", "group_id"=>"1", "user_id"=>"3"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.2ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  + Role Load (0.1ms) SELECT `roles`.* FROM `roles` INNER JOIN `permissions` ON `roles`.id = `permissions`.role_id WHERE ((`permissions`.user_id = 3))  + Role Load (0.1ms) SELECT * FROM `roles` WHERE (`roles`.`rolename` = 'user') LIMIT 1 + SQL (0.1ms) SAVEPOINT active_record_1 + Membership Create (0.2ms) INSERT INTO `memberships` (`created_at`, `updated_at`, `role_id`, `group_id`, `user_id`) VALUES('2010-12-22 05:18:26', '2010-12-22 05:18:26', 3, 1, 3) + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 3)  + Activity Create (0.2ms) INSERT INTO `activities` (`created_at`, `public`, `updated_at`, `action`, `user_id`, `item_id`, `item_type`) VALUES('2010-12-22 05:18:26', 1, '2010-12-22 05:18:26', NULL, 3, 8, 'Membership') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + SQL (0.1ms) SAVEPOINT active_record_1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Completed in 35ms (View: 23, DB: 48) | 201 Created [http://www.example.com/memberships.json] + + +Processing MembershipsController#destroy to json (for 127.0.0.1 at 2010-12-21 22:18:26) [DELETE] + Parameters: {"api_key"=>"testapikey", "id"=>"destroy", "group_id"=>"1", "user_id"=>"3"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.4ms) SELECT * FROM `users` WHERE (`users`.`id` = 1) LIMIT 1 + Membership Load (0.3ms) SELECT * FROM `memberships` WHERE (`memberships`.`user_id` = '3' AND `memberships`.`group_id` = '1') LIMIT 1 + SQL (0.1ms) SAVEPOINT active_record_1 + Membership Destroy (0.1ms) DELETE FROM `memberships` WHERE `id` = 8 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Completed in 171ms (View: 166, DB: 2) | 200 OK [http://www.example.com/memberships/destroy.json] + SQL (34.9ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing MembershipsController#find to json (for 127.0.0.1 at 2010-12-21 22:18:26) [GET] + Parameters: {"api_key"=>"testapikey", "group_id"=>"1", "user_id"=>"4"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + Membership Load (0.2ms) SELECT * FROM `memberships` WHERE (`memberships`.`user_id` = '4' AND `memberships`.`group_id` = '1') LIMIT 1 +Completed in 29ms (View: 24, DB: 36) | 200 OK [http://www.example.com/memberships/find.json?api_key=testapikey&user_id=4&group_id=1] + SQL (39.9ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing ProjectsController#index to json (for 127.0.0.1 at 2010-12-21 22:18:26) [GET] + Parameters: {"api_key"=>"testapikey"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + Project Load (0.3ms) SELECT * FROM `projects`  +Completed in 34ms (View: 22, DB: 41) | 200 OK [http://www.example.com/projects.json] + SQL (41.2ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing ProjectsController#show to json (for 127.0.0.1 at 2010-12-21 22:18:26) [GET] + Parameters: {"api_key"=>"testapikey", "id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  +Completed in 171ms (View: 25, DB: 43) | 200 OK [http://www.example.com/projects/1.json] + SQL (33.6ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing SessionsController#destroy (for 127.0.0.1 at 2010-12-21 22:18:27) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Redirected to http://www.example.com/ +Completed in 3ms (DB: 35) | 302 Found [http://www.example.com/logout] + + +Processing ProjectsController#create to json (for 127.0.0.1 at 2010-12-21 22:18:27) [POST] + Parameters: {"api_key"=>"testapikey", "project"=>{"name"=>"API Project", "url"=>"http://www.apiproject.com", "user_id"=>"1", "description"=>"API Project Desc"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = '') LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + SQL (0.1ms) SAVEPOINT active_record_1 + Project Create (0.2ms) INSERT INTO `projects` (`name`, `created_at`, `updated_at`, `url`, `user_id`, `description`) VALUES('API Project', '2010-12-22 05:18:27', '2010-12-22 05:18:27', 'http://www.apiproject.com', 1, 'API Project Desc') + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Activity Create (0.2ms) INSERT INTO `activities` (`created_at`, `public`, `updated_at`, `action`, `user_id`, `item_id`, `item_type`) VALUES('2010-12-22 05:18:27', 1, '2010-12-22 05:18:27', NULL, 1, 5, 'Project') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Completed in 34ms (View: 23, DB: 2) | 201 Created [http://www.example.com/projects.json] + SQL (33.8ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing SessionsController#destroy (for 127.0.0.1 at 2010-12-21 22:18:27) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Redirected to http://www.example.com/ +Completed in 3ms (DB: 35) | 302 Found [http://www.example.com/logout] + + +Processing ProjectsController#create to xml (for 127.0.0.1 at 2010-12-21 22:18:27) [POST] + Parameters: {"api_key"=>"testapikey", "project"=>{"name"=>"API Project", "url"=>"http://www.apiproject.com", "user_id"=>"1", "description"=>"API Project Desc"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = '') LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + SQL (0.1ms) SAVEPOINT active_record_1 + Project Create (0.2ms) INSERT INTO `projects` (`name`, `created_at`, `updated_at`, `url`, `user_id`, `description`) VALUES('API Project', '2010-12-22 05:18:27', '2010-12-22 05:18:27', 'http://www.apiproject.com', 1, 'API Project Desc') + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Activity Create (0.2ms) INSERT INTO `activities` (`created_at`, `public`, `updated_at`, `action`, `user_id`, `item_id`, `item_type`) VALUES('2010-12-22 05:18:27', 1, '2010-12-22 05:18:27', NULL, 1, 6, 'Project') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Completed in 177ms (View: 167, DB: 2) | 201 Created [http://www.example.com/projects.xml] + SQL (34.2ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing SessionsController#destroy (for 127.0.0.1 at 2010-12-21 22:18:27) [GET] + Parameters: {"api_key"=>"testapikey"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + SQL (0.1ms) SAVEPOINT active_record_1 + User Load (0.1ms) SELECT `users`.* FROM `users` INNER JOIN `permissions` ON permissions.user_id = users.id WHERE (role_id = 2)  + User Load (0.1ms) SELECT `users`.* FROM `users` INNER JOIN `permissions` ON permissions.user_id = users.id WHERE (role_id = 1)  + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Redirected to http://www.example.com/ +Completed in 9ms (DB: 36) | 302 Found [http://www.example.com/logout] + + +Processing ProjectsController#create to xml (for 127.0.0.1 at 2010-12-21 22:18:27) [POST] + Parameters: {"project"=>{"name"=>"API Project", "url"=>"http://www.apiproject.com", "user_id"=>"1", "description"=>"API Project Desc"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = '') LIMIT 1 +Filter chain halted as [:api_filter] rendered_or_redirected. +Completed in 27ms (View: 23, DB: 1) | 401 Unauthorized [http://www.example.com/projects.xml] + SQL (36.2ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing SessionsController#destroy (for 127.0.0.1 at 2010-12-21 22:18:27) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Redirected to http://www.example.com/ +Completed in 3ms (DB: 37) | 302 Found [http://www.example.com/logout] + + +Processing ProjectsController#update to json (for 127.0.0.1 at 2010-12-21 22:18:27) [PUT] + Parameters: {"api_key"=>"testapikey", "id"=>"1", "project"=>{"name"=>"API Project", "url"=>"http://www.apiproject.com", "user_id"=>"1", "description"=>"API Project Desc"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = '') LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + Project Update (0.2ms) UPDATE `projects` SET `updated_at` = '2010-12-22 05:18:27', `name` = 'API Project', `description` = 'API Project Desc', `url` = 'http://www.apiproject.com' WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Completed in 173ms (View: 167, DB: 2) | 200 OK [http://www.example.com/projects/1.json] + SQL (29.9ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing SessionsController#destroy (for 127.0.0.1 at 2010-12-21 22:18:27) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Redirected to http://www.example.com/ +Completed in 3ms (DB: 31) | 302 Found [http://www.example.com/logout] + + +Processing ProjectsController#update to xml (for 127.0.0.1 at 2010-12-21 22:18:27) [PUT] + Parameters: {"api_key"=>"testapikey", "id"=>"1", "project"=>{"name"=>"API Project", "url"=>"http://www.apiproject.com", "user_id"=>"1", "description"=>"API Project Desc"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = '') LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + Project Load (0.2ms) SELECT * FROM `projects` WHERE (`projects`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + Project Update (0.3ms) UPDATE `projects` SET `updated_at` = '2010-12-22 05:18:27', `name` = 'API Project', `description` = 'API Project Desc', `url` = 'http://www.apiproject.com' WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Completed in 32ms (View: 25, DB: 2) | 200 OK [http://www.example.com/projects/1.xml] + SQL (35.8ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing StatusPostsController#index to json (for 127.0.0.1 at 2010-12-21 22:18:27) [GET] + Parameters: {"api_key"=>"testapikey"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + StatusPost Load (0.3ms) SELECT * FROM `status_posts`  +Completed in 34ms (View: 22, DB: 37) | 200 OK [http://www.example.com/status_posts.json] + SQL (34.0ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing StatusPostsController#show to json (for 127.0.0.1 at 2010-12-21 22:18:27) [GET] + Parameters: {"api_key"=>"testapikey", "id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + StatusPost Load (0.2ms) SELECT * FROM `status_posts` WHERE (`status_posts`.`id` = 1)  +Completed in 173ms (View: 168, DB: 35) | 200 OK [http://www.example.com/status_posts/1.json] + SQL (36.3ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing SessionsController#destroy (for 127.0.0.1 at 2010-12-21 22:18:28) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Redirected to http://www.example.com/ +Completed in 3ms (DB: 37) | 302 Found [http://www.example.com/logout] + + +Processing StatusPostsController#create to json (for 127.0.0.1 at 2010-12-21 22:18:28) [POST] + Parameters: {"api_key"=>"testapikey", "status_post"=>{"body"=>"API Status Post 1"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = '') LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + SQL (0.1ms) SAVEPOINT active_record_1 + StatusPost Create (0.2ms) INSERT INTO `status_posts` (`created_at`, `body`, `updated_at`, `user_id`) VALUES('2010-12-22 05:18:28', 'API Status Post 1', '2010-12-22 05:18:28', 1) + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Activity Create (0.2ms) INSERT INTO `activities` (`created_at`, `public`, `updated_at`, `action`, `user_id`, `item_id`, `item_type`) VALUES('2010-12-22 05:18:28', 1, '2010-12-22 05:18:28', NULL, 1, 5, 'StatusPost') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Completed in 34ms (View: 24, DB: 2) | 201 Created [http://www.example.com/status_posts.json] + SQL (33.3ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing SessionsController#destroy (for 127.0.0.1 at 2010-12-21 22:18:28) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Redirected to http://www.example.com/ +Completed in 3ms (DB: 34) | 302 Found [http://www.example.com/logout] + + +Processing StatusPostsController#create to xml (for 127.0.0.1 at 2010-12-21 22:18:28) [POST] + Parameters: {"api_key"=>"testapikey", "status_post"=>{"body"=>"API Status Post 1"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = '') LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + SQL (0.1ms) SAVEPOINT active_record_1 + StatusPost Create (0.2ms) INSERT INTO `status_posts` (`created_at`, `body`, `updated_at`, `user_id`) VALUES('2010-12-22 05:18:28', 'API Status Post 1', '2010-12-22 05:18:28', 1) + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Activity Create (0.2ms) INSERT INTO `activities` (`created_at`, `public`, `updated_at`, `action`, `user_id`, `item_id`, `item_type`) VALUES('2010-12-22 05:18:28', 1, '2010-12-22 05:18:28', NULL, 1, 6, 'StatusPost') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Completed in 178ms (View: 169, DB: 2) | 201 Created [http://www.example.com/status_posts.xml] + SQL (41.4ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing SessionsController#destroy (for 127.0.0.1 at 2010-12-21 22:18:28) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Redirected to http://www.example.com/ +Completed in 3ms (DB: 43) | 302 Found [http://www.example.com/logout] + + +Processing StatusPostsController#create to xml (for 127.0.0.1 at 2010-12-21 22:18:28) [POST] + Parameters: {"status_post"=>{"body"=>"API Status Post 1"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = '') LIMIT 1 +Filter chain halted as [:api_filter] rendered_or_redirected. +Completed in 27ms (View: 24, DB: 1) | 401 Unauthorized [http://www.example.com/status_posts.xml] + SQL (33.3ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing SessionsController#destroy (for 127.0.0.1 at 2010-12-21 22:18:28) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Redirected to http://www.example.com/ +Completed in 3ms (DB: 34) | 302 Found [http://www.example.com/logout] + + +Processing StatusPostsController#update to json (for 127.0.0.1 at 2010-12-21 22:18:28) [PUT] + Parameters: {"api_key"=>"testapikey", "id"=>"1", "status_post"=>{"body"=>"API Status Post 1"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = '') LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + StatusPost Load (0.2ms) SELECT * FROM `status_posts` WHERE (`status_posts`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + StatusPost Update (0.3ms) UPDATE `status_posts` SET `updated_at` = '2010-12-22 05:18:28', `body` = 'API Status Post 1' WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Completed in 29ms (View: 23, DB: 2) | 200 OK [http://www.example.com/status_posts/1.json] + SQL (57.5ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing SessionsController#destroy (for 127.0.0.1 at 2010-12-21 22:18:28) [GET] + Theme Load (0.2ms) SELECT * FROM `themes` LIMIT 1 +Redirected to http://www.example.com/ +Completed in 3ms (DB: 59) | 302 Found [http://www.example.com/logout] + + +Processing StatusPostsController#update to xml (for 127.0.0.1 at 2010-12-21 22:18:28) [PUT] + Parameters: {"api_key"=>"testapikey", "id"=>"1", "status_post"=>{"body"=>"API Status Post 1"}} + Theme Load (18.3ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = '') LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + StatusPost Load (0.2ms) SELECT * FROM `status_posts` WHERE (`status_posts`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + StatusPost Update (0.3ms) UPDATE `status_posts` SET `updated_at` = '2010-12-22 05:18:28', `body` = 'API Status Post 1' WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Completed in 182ms (View: 25, DB: 20) | 200 OK [http://www.example.com/status_posts/1.xml] + SQL (43.3ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing SessionsController#destroy (for 127.0.0.1 at 2010-12-21 22:18:28) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Redirected to http://www.example.com/ +Completed in 3ms (DB: 44) | 302 Found [http://www.example.com/logout] + + +Processing UsersController#create to json (for 127.0.0.1 at 2010-12-21 22:18:28) [POST] + Parameters: {"api_key"=>"testapikey", "user"=>{"password_confirmation"=>"12345", "twitter_id"=>"uttwit", "last_name"=>"test", "password"=>"12345", "login"=>"ut1", "email"=>"ut@email.com", "first_name"=>"unit"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = '') LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + ConfigSetting Load (0.4ms) SELECT * FROM `config_settings`  + +NoMethodError (undefined method `value' for nil:NilClass): + app/models/configuration.rb:93:in `ENABLE_SELF_REGISTRATION' + app/controllers/users_controller.rb:236:in `create' + /test/integration/api/users_test.rb:99:in `test_should_create_user_via_API_JSON' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run' + /usr/lib/ruby/1.8/test/unit/ui/testrunnermediator.rb:46:in `run_suite' + /usr/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:67:in `start_mediator' + /usr/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:41:in `start' + /usr/lib/ruby/1.8/test/unit/ui/testrunnerutilities.rb:29:in `run' + /usr/lib/ruby/1.8/test/unit/autorunner.rb:216:in `run' + /usr/lib/ruby/1.8/test/unit/autorunner.rb:12:in `run' + /usr/lib/ruby/1.8/test/unit.rb:279 + rake (0.8.7) lib/rake/rake_test_loader.rb:5 + +Rendered rescues/_trace (31.9ms) +Rendered rescues/_request_and_response (0.4ms) +Rendering rescues/layout (internal_server_error) + SQL (39.5ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing SessionsController#destroy (for 127.0.0.1 at 2010-12-21 22:18:28) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Redirected to http://www.example.com/ +Completed in 3ms (DB: 42) | 302 Found [http://www.example.com/logout] + + +Processing UsersController#create to xml (for 127.0.0.1 at 2010-12-21 22:18:28) [POST] + Parameters: {"api_key"=>"testapikey", "user"=>{"password_confirmation"=>"12345", "twitter_id"=>"uttwit", "last_name"=>"test", "password"=>"12345", "login"=>"ut2", "email"=>"ut2@email.com", "first_name"=>"unit"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = '') LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + +NoMethodError (undefined method `value' for nil:NilClass): + app/models/configuration.rb:93:in `ENABLE_SELF_REGISTRATION' + app/controllers/users_controller.rb:236:in `create' + /test/integration/api/users_test.rb:119:in `test_should_create_user_via_API_XML' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run' + /usr/lib/ruby/1.8/test/unit/ui/testrunnermediator.rb:46:in `run_suite' + /usr/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:67:in `start_mediator' + /usr/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:41:in `start' + /usr/lib/ruby/1.8/test/unit/ui/testrunnerutilities.rb:29:in `run' + /usr/lib/ruby/1.8/test/unit/autorunner.rb:216:in `run' + /usr/lib/ruby/1.8/test/unit/autorunner.rb:12:in `run' + /usr/lib/ruby/1.8/test/unit.rb:279 + rake (0.8.7) lib/rake/rake_test_loader.rb:5 + +Rendered rescues/_trace (189.1ms) +Rendered rescues/_request_and_response (0.5ms) +Rendering rescues/layout (internal_server_error) + SQL (43.1ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing UsersController#index to json (for 127.0.0.1 at 2010-12-21 22:18:29) [GET] + Parameters: {"api_key"=>"testapikey"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + User Load (1.7ms) SELECT id, first_name, last_name, login, sex, city, state_id, zip, country_id, + phone, phone2, time_zone, about_me, organization, skills, occupation, featured, + website, blog, blog_feed, flickr, flickr_username, linked_in_url, twitter_id, aim_name, + gtalk_name, yahoo_messenger_name, msn_name, youtube_username, skype_name, posts_count, + last_seen_at, login_count, activated_at, enabled, is_active, identity_url FROM `users` WHERE (activated_at is not null) ORDER BY created_at ASC +Completed in 89ms (View: 81, DB: 47) | 200 OK [http://www.example.com/users.json] + SQL (36.9ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing UsersController#index to json (for 127.0.0.1 at 2010-12-21 22:18:29) [GET] + Parameters: {"api_key"=>"testapikey", "last_name"=>"fisher"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + User Load (0.7ms) SELECT id, first_name, last_name, login, sex, city, state_id, zip, country_id, + phone, phone2, time_zone, about_me, organization, skills, occupation, featured, + website, blog, blog_feed, flickr, flickr_username, linked_in_url, twitter_id, aim_name, + gtalk_name, yahoo_messenger_name, msn_name, youtube_username, skype_name, posts_count, + last_seen_at, login_count, activated_at, enabled, is_active, identity_url FROM `users` WHERE (activated_at is not null AND last_name='fisher') ORDER BY created_at ASC +Completed in 30ms (View: 25, DB: 39) | 200 OK [http://www.example.com/users.json?api_key=testapikey&last_name=fisher] + SQL (65.5ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing UsersController#index to json (for 127.0.0.1 at 2010-12-21 22:18:29) [GET] + Parameters: {"api_key"=>"testapikey", "last_name"=>"User", "limit"=>"5"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + User Load (0.8ms) SELECT id, first_name, last_name, login, sex, city, state_id, zip, country_id, + phone, phone2, time_zone, about_me, organization, skills, occupation, featured, + website, blog, blog_feed, flickr, flickr_username, linked_in_url, twitter_id, aim_name, + gtalk_name, yahoo_messenger_name, msn_name, youtube_username, skype_name, posts_count, + last_seen_at, login_count, activated_at, enabled, is_active, identity_url FROM `users` WHERE (activated_at is not null AND last_name='User') ORDER BY created_at ASC LIMIT 0, 5 +Completed in 39ms (View: 33, DB: 67) | 200 OK [http://www.example.com/users.json?api_key=testapikey&last_name=User&limit=5] + SQL (37.5ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing UsersController#index to json (for 127.0.0.1 at 2010-12-21 22:18:29) [GET] + Parameters: {"api_key"=>"testapikey", "last_name"=>"User", "first_name"=>"Test7"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + User Load (0.7ms) SELECT id, first_name, last_name, login, sex, city, state_id, zip, country_id, + phone, phone2, time_zone, about_me, organization, skills, occupation, featured, + website, blog, blog_feed, flickr, flickr_username, linked_in_url, twitter_id, aim_name, + gtalk_name, yahoo_messenger_name, msn_name, youtube_username, skype_name, posts_count, + last_seen_at, login_count, activated_at, enabled, is_active, identity_url FROM `users` WHERE (activated_at is not null AND last_name='User' AND first_name='Test7') ORDER BY created_at ASC +Completed in 29ms (View: 24, DB: 39) | 200 OK [http://www.example.com/users.json?api_key=testapikey&last_name=User&first_name=Test7] + SQL (40.2ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing UsersController#show to json (for 127.0.0.1 at 2010-12-21 22:18:29) [GET] + Parameters: {"api_key"=>"testapikey", "id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  +Completed in 201ms (View: 195, DB: 42) | 200 OK [http://www.example.com/users/1.json] + SQL (34.3ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing UsersController#index to json (for 127.0.0.1 at 2010-12-21 22:18:30) [GET] + Parameters: {"api_key"=>"testapikey", "limit"=>"10"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + User Load (1.0ms) SELECT id, first_name, last_name, login, sex, city, state_id, zip, country_id, + phone, phone2, time_zone, about_me, organization, skills, occupation, featured, + website, blog, blog_feed, flickr, flickr_username, linked_in_url, twitter_id, aim_name, + gtalk_name, yahoo_messenger_name, msn_name, youtube_username, skype_name, posts_count, + last_seen_at, login_count, activated_at, enabled, is_active, identity_url FROM `users` WHERE (activated_at is not null) ORDER BY created_at ASC LIMIT 0, 10 +Completed in 44ms (View: 39, DB: 37) | 200 OK [http://www.example.com/users.json] + SQL (32.5ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing UsersController#index to json (for 127.0.0.1 at 2010-12-21 22:18:30) [GET] + Parameters: {"api_key"=>"testapikey", "limit"=>"10", "offset"=>"20"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + User Load (1.3ms) SELECT id, first_name, last_name, login, sex, city, state_id, zip, country_id, + phone, phone2, time_zone, about_me, organization, skills, occupation, featured, + website, blog, blog_feed, flickr, flickr_username, linked_in_url, twitter_id, aim_name, + gtalk_name, yahoo_messenger_name, msn_name, youtube_username, skype_name, posts_count, + last_seen_at, login_count, activated_at, enabled, is_active, identity_url FROM `users` WHERE (activated_at is not null) ORDER BY created_at ASC LIMIT 20, 10 +Completed in 43ms (View: 37, DB: 35) | 200 OK [http://www.example.com/users.json] + SQL (34.2ms) ROLLBACK +** acts_as_taggable_on: initialized properly. + SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 + SQL (0.0ms) BEGIN + Event Load (0.3ms) SELECT * FROM `events` WHERE (`events`.`id` = 1)  + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + SQL (0.1ms) SAVEPOINT active_record_1 + Event Create (0.2ms) INSERT INTO `events` (`name`, `city`, `article_guid`, `end_time`, `organized_by`, `created_at`, `xlocation`, `updated_at`, `feed_url`, `street`, `group_id`, `user_id`, `website`, `phone`, `location_id`, `photo_id`, `description`, `event_type`, `start_time`) VALUES('Test Event', NULL, NULL, '2010-12-22 05:25:24', 'Joe Tester', '2010-12-22 05:25:24', NULL, '2010-12-22 05:25:24', NULL, NULL, NULL, 1, 'www.myevent.com', NULL, 1, 2, 'A new event for testing', 'Test', '2010-12-22 05:25:24') + User Load (0.5ms) SELECT * FROM `users` WHERE (`users`.`id` = 1)  + Activity Create (0.2ms) INSERT INTO `activities` (`created_at`, `public`, `updated_at`, `action`, `user_id`, `item_id`, `item_type`) VALUES('2010-12-22 05:25:24', 1, '2010-12-22 05:25:24', NULL, 1, 3, 'Event') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 + Activity Load (0.3ms) SELECT * FROM `activities` WHERE (`activities`.`item_type` = 'Event' AND `activities`.`item_id` = 3) LIMIT 1 + SQL (49.4ms) ROLLBACK + SQL (0.1ms) BEGIN + Event Load (0.3ms) SELECT * FROM `events` WHERE (`events`.`id` = 1)  + SQL (0.1ms) ROLLBACK + SQL (0.1ms) BEGIN + Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.`id` = 1)  + SQL (0.1ms) ROLLBACK +** acts_as_taggable_on: initialized properly. + SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 + SQL (0.1ms) BEGIN + + +Processing EventsController#index to json (for 127.0.0.1 at 2010-12-21 22:26:09) [GET] + Parameters: {"api_key"=>"testapikey"} + Theme Load (0.3ms) SELECT * FROM `themes` LIMIT 1 + Network Load (0.2ms) SELECT * FROM `networks` LIMIT 1 + User Load (23.3ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + Event Load (0.5ms) SELECT * FROM `events` WHERE (start_time>now()) ORDER BY start_time ASC +Completed in 177ms (View: 25, DB: 230) | 200 OK [http://www.example.com/events.json] + SQL (42.8ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing EventsController#show to json (for 127.0.0.1 at 2010-12-21 22:26:09) [GET] + Parameters: {"api_key"=>"testapikey", "id"=>"1"} + Theme Load (0.2ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + Event Load (0.3ms) SELECT * FROM `events` WHERE (`events`.`id` = 1)  +Completed in 29ms (View: 23, DB: 44) | 200 OK [http://www.example.com/events/1.json] + SQL (31.2ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing SessionsController#destroy (for 127.0.0.1 at 2010-12-21 22:26:09) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Redirected to http://www.example.com/ +Completed in 9ms (DB: 32) | 302 Found [http://www.example.com/logout] + + +Processing EventsController#create to json (for 127.0.0.1 at 2010-12-21 22:26:09) [POST] + Parameters: {"api_key"=>"testapikey", "event"=>{"name"=>"Test API Event 1", "city"=>"TestTown", "location"=>"Testville, USA", "organized_by"=>"API Testers of America", "end_time"=>"2010-12-21 22:26:09", "street"=>"Testers Rd.", "user_id"=>"1", "phone"=>"555-555-5555", "website"=>"http://www.test.com", "description"=>"Test API Event 1 Desc", "event_type"=>"API Type", "start_time"=>"2010-12-21 22:26:09"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.7ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = '') LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + +ActiveRecord::AssociationTypeMismatch (Location(#-617522798) expected, got String(#-608681468)): + app/controllers/events_controller.rb:98:in `new' + app/controllers/events_controller.rb:98:in `create' + integration/api/events_test.rb:74:in `test_should_create_event_via_API_JSON' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run' + /usr/lib/ruby/1.8/test/unit/ui/testrunnermediator.rb:46:in `run_suite' + /usr/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:67:in `start_mediator' + /usr/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:41:in `start' + /usr/lib/ruby/1.8/test/unit/ui/testrunnerutilities.rb:29:in `run' + /usr/lib/ruby/1.8/test/unit/autorunner.rb:216:in `run' + /usr/lib/ruby/1.8/test/unit/autorunner.rb:12:in `run' + /usr/lib/ruby/1.8/test/unit.rb:279 + integration/api/events_test.rb:162 + +Rendered rescues/_trace (156.4ms) +Rendered rescues/_request_and_response (1.7ms) +Rendering rescues/layout (internal_server_error) + SQL (33.0ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing SessionsController#destroy (for 127.0.0.1 at 2010-12-21 22:26:14) [GET] + Theme Load (0.2ms) SELECT * FROM `themes` LIMIT 1 +Redirected to http://www.example.com/ +Completed in 3ms (DB: 36) | 302 Found [http://www.example.com/logout] + + +Processing EventsController#create to xml (for 127.0.0.1 at 2010-12-21 22:26:14) [POST] + Parameters: {"api_key"=>"testapikey", "event"=>{"name"=>"Test API Event 1", "city"=>"TestTown", "location"=>"Testville, USA", "organized_by"=>"API Testers of America", "end_time"=>"2010-12-21 22:26:14", "street"=>"Testers Rd.", "user_id"=>"1", "phone"=>"555-555-5555", "website"=>"http://www.test.com", "description"=>"Test API Event 1 Desc", "event_type"=>"API Type", "start_time"=>"2010-12-21 22:26:14"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = '') LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + +ActiveRecord::AssociationTypeMismatch (Location(#-617522798) expected, got String(#-608681468)): + app/controllers/events_controller.rb:98:in `new' + app/controllers/events_controller.rb:98:in `create' + integration/api/events_test.rb:53:in `test_should_create_event_via_API_XML' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run' + /usr/lib/ruby/1.8/test/unit/ui/testrunnermediator.rb:46:in `run_suite' + /usr/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:67:in `start_mediator' + /usr/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:41:in `start' + /usr/lib/ruby/1.8/test/unit/ui/testrunnerutilities.rb:29:in `run' + /usr/lib/ruby/1.8/test/unit/autorunner.rb:216:in `run' + /usr/lib/ruby/1.8/test/unit/autorunner.rb:12:in `run' + /usr/lib/ruby/1.8/test/unit.rb:279 + integration/api/events_test.rb:162 + +Rendered rescues/_trace (38.6ms) +Rendered rescues/_request_and_response (0.6ms) +Rendering rescues/layout (internal_server_error) + SQL (31.4ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing SessionsController#destroy (for 127.0.0.1 at 2010-12-21 22:26:18) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Redirected to http://www.example.com/ +Completed in 3ms (DB: 34) | 302 Found [http://www.example.com/logout] + + +Processing EventsController#create to xml (for 127.0.0.1 at 2010-12-21 22:26:18) [POST] + Parameters: {"event"=>{"name"=>"Test API Event 1", "city"=>"TestTown", "location"=>"Testville, USA", "organized_by"=>"API Testers of America", "end_time"=>"2010-12-21 22:26:18", "street"=>"Testers Rd.", "user_id"=>"1", "phone"=>"555-555-5555", "website"=>"http://www.test.com", "description"=>"Test API Event 1 Desc", "event_type"=>"API Type", "start_time"=>"2010-12-21 22:26:18"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = '') LIMIT 1 +Filter chain halted as [:api_filter] rendered_or_redirected. +Completed in 26ms (View: 23, DB: 1) | 401 Unauthorized [http://www.example.com/events.xml] + SQL (29.7ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing SessionsController#destroy (for 127.0.0.1 at 2010-12-21 22:26:18) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Redirected to http://www.example.com/ +Completed in 4ms (DB: 31) | 302 Found [http://www.example.com/logout] + + +Processing EventsController#update to json (for 127.0.0.1 at 2010-12-21 22:26:18) [PUT] + Parameters: {"api_key"=>"testapikey", "id"=>"1", "event"=>{"name"=>"Test API Event 1", "city"=>"TestTown", "location"=>"Testville, USA", "organized_by"=>"API Testers of America", "end_time"=>"2010-12-21 22:26:18", "street"=>"Testers Rd.", "user_id"=>"1", "phone"=>"555-555-5555", "website"=>"http://www.test.com", "description"=>"Test API Event 1 Desc", "event_type"=>"API Type", "start_time"=>"2010-12-21 22:26:18"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = '') LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.`id` = 1)  + +ActiveRecord::AssociationTypeMismatch (Location(#-617522798) expected, got String(#-608681468)): + app/controllers/events_controller.rb:136:in `update' + app/controllers/events_controller.rb:135:in `update' + integration/api/events_test.rb:135:in `test_should_update_event_via_API_JSON' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run' + /usr/lib/ruby/1.8/test/unit/ui/testrunnermediator.rb:46:in `run_suite' + /usr/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:67:in `start_mediator' + /usr/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:41:in `start' + /usr/lib/ruby/1.8/test/unit/ui/testrunnerutilities.rb:29:in `run' + /usr/lib/ruby/1.8/test/unit/autorunner.rb:216:in `run' + /usr/lib/ruby/1.8/test/unit/autorunner.rb:12:in `run' + /usr/lib/ruby/1.8/test/unit.rb:279 + integration/api/events_test.rb:162 + +Rendered rescues/_trace (41.1ms) +Rendered rescues/_request_and_response (0.6ms) +Rendering rescues/layout (internal_server_error) + SQL (40.9ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing SessionsController#destroy (for 127.0.0.1 at 2010-12-21 22:26:18) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Redirected to http://www.example.com/ +Completed in 3ms (DB: 44) | 302 Found [http://www.example.com/logout] + + +Processing EventsController#update to xml (for 127.0.0.1 at 2010-12-21 22:26:18) [PUT] + Parameters: {"api_key"=>"testapikey", "id"=>"1", "event"=>{"name"=>"Test API Event 1", "city"=>"TestTown", "location"=>"Testville, USA", "organized_by"=>"API Testers of America", "end_time"=>"2010-12-21 22:26:18", "street"=>"Testers Rd.", "user_id"=>"1", "phone"=>"555-555-5555", "website"=>"http://www.test.com", "description"=>"Test API Event 1 Desc", "event_type"=>"API Type", "start_time"=>"2010-12-21 22:26:18"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = '') LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.`id` = 1)  + +ActiveRecord::AssociationTypeMismatch (Location(#-617522798) expected, got String(#-608681468)): + app/controllers/events_controller.rb:136:in `update' + app/controllers/events_controller.rb:135:in `update' + integration/api/events_test.rb:115:in `test_should_update_event_via_API_XML' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run' + /usr/lib/ruby/1.8/test/unit/ui/testrunnermediator.rb:46:in `run_suite' + /usr/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:67:in `start_mediator' + /usr/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:41:in `start' + /usr/lib/ruby/1.8/test/unit/ui/testrunnerutilities.rb:29:in `run' + /usr/lib/ruby/1.8/test/unit/autorunner.rb:216:in `run' + /usr/lib/ruby/1.8/test/unit/autorunner.rb:12:in `run' + /usr/lib/ruby/1.8/test/unit.rb:279 + integration/api/events_test.rb:162 + +Rendered rescues/_trace (36.3ms) +Rendered rescues/_request_and_response (0.5ms) +Rendering rescues/layout (internal_server_error) + SQL (35.6ms) ROLLBACK +** acts_as_taggable_on: initialized properly. + SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 +** acts_as_taggable_on: initialized properly. + SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 +** acts_as_taggable_on: initialized properly. + SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 + SQL (0.1ms) BEGIN + + +Processing EventsController#index to json (for 127.0.0.1 at 2010-12-21 22:36:55) [GET] + Parameters: {"api_key"=>"testapikey"} + Theme Load (0.3ms) SELECT * FROM `themes` LIMIT 1 + Network Load (0.2ms) SELECT * FROM `networks` LIMIT 1 + User Load (21.0ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + Event Load (0.5ms) SELECT * FROM `events` WHERE (start_time>now()) ORDER BY start_time ASC +Completed in 173ms (View: 25, DB: 234) | 200 OK [http://www.example.com/events.json] + SQL (48.4ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing EventsController#show to json (for 127.0.0.1 at 2010-12-21 22:36:55) [GET] + Parameters: {"api_key"=>"testapikey", "id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + Event Load (0.3ms) SELECT * FROM `events` WHERE (`events`.`id` = 1)  +Completed in 30ms (View: 24, DB: 50) | 200 OK [http://www.example.com/events/1.json] + SQL (30.0ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing SessionsController#destroy (for 127.0.0.1 at 2010-12-21 22:36:55) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Redirected to http://www.example.com/ +Completed in 9ms (DB: 31) | 302 Found [http://www.example.com/logout] + + +Processing EventsController#create to json (for 127.0.0.1 at 2010-12-21 22:36:55) [POST] + Parameters: {"api_key"=>"testapikey", "event"=>{"name"=>"Test API Event 1", "city"=>"TestTown", "end_time"=>"2010-12-21 22:36:55", "location"=>"Testville, USA", "organized_by"=>"API Testers of America", "street"=>"Testers Rd.", "user_id"=>"1", "phone"=>"555-555-5555", "website"=>"http://www.test.com", "description"=>"Test API Event 1 Desc", "event_type"=>"API Type", "start_time"=>"2010-12-21 22:36:55"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.7ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = '') LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + +ActiveRecord::AssociationTypeMismatch (Location(#-617348718) expected, got String(#-608507388)): + app/controllers/events_controller.rb:98:in `new' + app/controllers/events_controller.rb:98:in `create' + integration/api/events_test.rb:74:in `test_should_create_event_via_API_JSON' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run' + /usr/lib/ruby/1.8/test/unit/ui/testrunnermediator.rb:46:in `run_suite' + /usr/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:67:in `start_mediator' + /usr/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:41:in `start' + /usr/lib/ruby/1.8/test/unit/ui/testrunnerutilities.rb:29:in `run' + /usr/lib/ruby/1.8/test/unit/autorunner.rb:216:in `run' + /usr/lib/ruby/1.8/test/unit/autorunner.rb:12:in `run' + /usr/lib/ruby/1.8/test/unit.rb:279 + integration/api/events_test.rb:162 + +Rendered rescues/_trace (153.7ms) +Rendered rescues/_request_and_response (1.7ms) +Rendering rescues/layout (internal_server_error) + SQL (37.6ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing SessionsController#destroy (for 127.0.0.1 at 2010-12-21 22:36:59) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Redirected to http://www.example.com/ +Completed in 3ms (DB: 41) | 302 Found [http://www.example.com/logout] + + +Processing EventsController#create to xml (for 127.0.0.1 at 2010-12-21 22:36:59) [POST] + Parameters: {"api_key"=>"testapikey", "event"=>{"name"=>"Test API Event 1", "city"=>"TestTown", "end_time"=>"2010-12-21 22:36:59", "location"=>"Testville, USA", "organized_by"=>"API Testers of America", "street"=>"Testers Rd.", "user_id"=>"1", "phone"=>"555-555-5555", "website"=>"http://www.test.com", "description"=>"Test API Event 1 Desc", "event_type"=>"API Type", "start_time"=>"2010-12-21 22:36:59"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = '') LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + +ActiveRecord::AssociationTypeMismatch (Location(#-617348718) expected, got String(#-608507388)): + app/controllers/events_controller.rb:98:in `new' + app/controllers/events_controller.rb:98:in `create' + integration/api/events_test.rb:53:in `test_should_create_event_via_API_XML' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run' + /usr/lib/ruby/1.8/test/unit/ui/testrunnermediator.rb:46:in `run_suite' + /usr/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:67:in `start_mediator' + /usr/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:41:in `start' + /usr/lib/ruby/1.8/test/unit/ui/testrunnerutilities.rb:29:in `run' + /usr/lib/ruby/1.8/test/unit/autorunner.rb:216:in `run' + /usr/lib/ruby/1.8/test/unit/autorunner.rb:12:in `run' + /usr/lib/ruby/1.8/test/unit.rb:279 + integration/api/events_test.rb:162 + +Rendered rescues/_trace (38.3ms) +Rendered rescues/_request_and_response (0.5ms) +Rendering rescues/layout (internal_server_error) + SQL (41.2ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing SessionsController#destroy (for 127.0.0.1 at 2010-12-21 22:37:03) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Redirected to http://www.example.com/ +Completed in 3ms (DB: 44) | 302 Found [http://www.example.com/logout] + + +Processing EventsController#create to xml (for 127.0.0.1 at 2010-12-21 22:37:03) [POST] + Parameters: {"event"=>{"name"=>"Test API Event 1", "city"=>"TestTown", "end_time"=>"2010-12-21 22:37:03", "location"=>"Testville, USA", "organized_by"=>"API Testers of America", "street"=>"Testers Rd.", "user_id"=>"1", "phone"=>"555-555-5555", "website"=>"http://www.test.com", "description"=>"Test API Event 1 Desc", "event_type"=>"API Type", "start_time"=>"2010-12-21 22:37:03"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = '') LIMIT 1 +Filter chain halted as [:api_filter] rendered_or_redirected. +Completed in 25ms (View: 22, DB: 1) | 401 Unauthorized [http://www.example.com/events.xml] + SQL (35.5ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing SessionsController#destroy (for 127.0.0.1 at 2010-12-21 22:37:03) [GET] + Theme Load (0.2ms) SELECT * FROM `themes` LIMIT 1 +Redirected to http://www.example.com/ +Completed in 3ms (DB: 37) | 302 Found [http://www.example.com/logout] + + +Processing EventsController#update to json (for 127.0.0.1 at 2010-12-21 22:37:03) [PUT] + Parameters: {"api_key"=>"testapikey", "id"=>"1", "event"=>{"name"=>"Test API Event 1", "city"=>"TestTown", "end_time"=>"2010-12-21 22:37:03", "location"=>"Testville, USA", "organized_by"=>"API Testers of America", "street"=>"Testers Rd.", "user_id"=>"1", "phone"=>"555-555-5555", "website"=>"http://www.test.com", "description"=>"Test API Event 1 Desc", "event_type"=>"API Type", "start_time"=>"2010-12-21 22:37:03"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = '') LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.`id` = 1)  + +ActiveRecord::AssociationTypeMismatch (Location(#-617348718) expected, got String(#-608507388)): + app/controllers/events_controller.rb:136:in `update' + app/controllers/events_controller.rb:135:in `update' + integration/api/events_test.rb:135:in `test_should_update_event_via_API_JSON' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run' + /usr/lib/ruby/1.8/test/unit/ui/testrunnermediator.rb:46:in `run_suite' + /usr/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:67:in `start_mediator' + /usr/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:41:in `start' + /usr/lib/ruby/1.8/test/unit/ui/testrunnerutilities.rb:29:in `run' + /usr/lib/ruby/1.8/test/unit/autorunner.rb:216:in `run' + /usr/lib/ruby/1.8/test/unit/autorunner.rb:12:in `run' + /usr/lib/ruby/1.8/test/unit.rb:279 + integration/api/events_test.rb:162 + +Rendered rescues/_trace (40.4ms) +Rendered rescues/_request_and_response (0.6ms) +Rendering rescues/layout (internal_server_error) + SQL (28.6ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing SessionsController#destroy (for 127.0.0.1 at 2010-12-21 22:37:04) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Redirected to http://www.example.com/ +Completed in 3ms (DB: 31) | 302 Found [http://www.example.com/logout] + + +Processing EventsController#update to xml (for 127.0.0.1 at 2010-12-21 22:37:04) [PUT] + Parameters: {"api_key"=>"testapikey", "id"=>"1", "event"=>{"name"=>"Test API Event 1", "city"=>"TestTown", "end_time"=>"2010-12-21 22:37:04", "location"=>"Testville, USA", "organized_by"=>"API Testers of America", "street"=>"Testers Rd.", "user_id"=>"1", "phone"=>"555-555-5555", "website"=>"http://www.test.com", "description"=>"Test API Event 1 Desc", "event_type"=>"API Type", "start_time"=>"2010-12-21 22:37:04"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = '') LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.`id` = 1)  + +ActiveRecord::AssociationTypeMismatch (Location(#-617348718) expected, got String(#-608507388)): + app/controllers/events_controller.rb:136:in `update' + app/controllers/events_controller.rb:135:in `update' + integration/api/events_test.rb:115:in `test_should_update_event_via_API_XML' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run' + /usr/lib/ruby/1.8/test/unit/ui/testrunnermediator.rb:46:in `run_suite' + /usr/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:67:in `start_mediator' + /usr/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:41:in `start' + /usr/lib/ruby/1.8/test/unit/ui/testrunnerutilities.rb:29:in `run' + /usr/lib/ruby/1.8/test/unit/autorunner.rb:216:in `run' + /usr/lib/ruby/1.8/test/unit/autorunner.rb:12:in `run' + /usr/lib/ruby/1.8/test/unit.rb:279 + integration/api/events_test.rb:162 + +Rendered rescues/_trace (36.4ms) +Rendered rescues/_request_and_response (0.5ms) +Rendering rescues/layout (internal_server_error) + SQL (35.9ms) ROLLBACK +** acts_as_taggable_on: initialized properly. + SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 + SQL (0.0ms) BEGIN + + +Processing EventsController#index to json (for 127.0.0.1 at 2010-12-21 22:39:42) [GET] + Parameters: {"api_key"=>"testapikey"} + Theme Load (0.3ms) SELECT * FROM `themes` LIMIT 1 + Network Load (0.3ms) SELECT * FROM `networks` LIMIT 1 + User Load (0.5ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + Event Load (0.5ms) SELECT * FROM `events` WHERE (start_time>now()) ORDER BY start_time ASC +Completed in 56ms (View: 25, DB: 201) | 200 OK [http://www.example.com/events.json] + SQL (46.5ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing EventsController#show to json (for 127.0.0.1 at 2010-12-21 22:39:42) [GET] + Parameters: {"api_key"=>"testapikey", "id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + Event Load (0.3ms) SELECT * FROM `events` WHERE (`events`.`id` = 1)  +Completed in 29ms (View: 23, DB: 48) | 200 OK [http://www.example.com/events/1.json] + SQL (31.3ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing SessionsController#destroy (for 127.0.0.1 at 2010-12-21 22:39:42) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Redirected to http://www.example.com/ +Completed in 9ms (DB: 32) | 302 Found [http://www.example.com/logout] + + +Processing EventsController#create to json (for 127.0.0.1 at 2010-12-21 22:39:42) [POST] + Parameters: {"api_key"=>"testapikey", "event"=>{"name"=>"Test API Event 1", "city"=>"TestTown", "location"=>"Testville, USA", "organized_by"=>"API Testers of America", "end_time"=>"2010-12-21 22:39:42", "street"=>"Testers Rd.", "user_id"=>"1", "phone"=>"555-555-5555", "website"=>"http://www.test.com", "description"=>"Test API Event 1 Desc", "event_type"=>"API Type", "start_time"=>"2010-12-21 22:39:42"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.7ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = '') LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + +ActiveRecord::AssociationTypeMismatch (Location(#-616614408) expected, got String(#-607725058)): + app/controllers/events_controller.rb:98:in `new' + app/controllers/events_controller.rb:98:in `create' + integration/api/events_test.rb:75:in `test_should_create_event_via_API_JSON' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run' + /usr/lib/ruby/1.8/test/unit/ui/testrunnermediator.rb:46:in `run_suite' + /usr/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:67:in `start_mediator' + /usr/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:41:in `start' + /usr/lib/ruby/1.8/test/unit/ui/testrunnerutilities.rb:29:in `run' + /usr/lib/ruby/1.8/test/unit/autorunner.rb:216:in `run' + /usr/lib/ruby/1.8/test/unit/autorunner.rb:12:in `run' + /usr/lib/ruby/1.8/test/unit.rb:279 + integration/api/events_test.rb:163 + +Rendered rescues/_trace (155.1ms) +Rendered rescues/_request_and_response (1.8ms) +Rendering rescues/layout (internal_server_error) + SQL (41.6ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing SessionsController#destroy (for 127.0.0.1 at 2010-12-21 22:39:47) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Redirected to http://www.example.com/ +Completed in 3ms (DB: 45) | 302 Found [http://www.example.com/logout] + + +Processing EventsController#create to xml (for 127.0.0.1 at 2010-12-21 22:39:47) [POST] + Parameters: {"api_key"=>"testapikey", "event"=>{"name"=>"Test API Event 1", "city"=>"TestTown", "location"=>"Testville, USA", "organized_by"=>"API Testers of America", "end_time"=>"2010-12-21 22:39:47", "street"=>"Testers Rd.", "user_id"=>"1", "phone"=>"555-555-5555", "website"=>"http://www.test.com", "description"=>"Test API Event 1 Desc", "event_type"=>"API Type", "start_time"=>"2010-12-21 22:39:47"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = '') LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + +ActiveRecord::AssociationTypeMismatch (Location(#-616614408) expected, got String(#-607725058)): + app/controllers/events_controller.rb:98:in `new' + app/controllers/events_controller.rb:98:in `create' + integration/api/events_test.rb:54:in `test_should_create_event_via_API_XML' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run' + /usr/lib/ruby/1.8/test/unit/ui/testrunnermediator.rb:46:in `run_suite' + /usr/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:67:in `start_mediator' + /usr/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:41:in `start' + /usr/lib/ruby/1.8/test/unit/ui/testrunnerutilities.rb:29:in `run' + /usr/lib/ruby/1.8/test/unit/autorunner.rb:216:in `run' + /usr/lib/ruby/1.8/test/unit/autorunner.rb:12:in `run' + /usr/lib/ruby/1.8/test/unit.rb:279 + integration/api/events_test.rb:163 + +Rendered rescues/_trace (38.3ms) +Rendered rescues/_request_and_response (0.5ms) +Rendering rescues/layout (internal_server_error) + SQL (35.2ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing SessionsController#destroy (for 127.0.0.1 at 2010-12-21 22:39:51) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Redirected to http://www.example.com/ +Completed in 3ms (DB: 38) | 302 Found [http://www.example.com/logout] + + +Processing EventsController#create to xml (for 127.0.0.1 at 2010-12-21 22:39:51) [POST] + Parameters: {"event"=>{"name"=>"Test API Event 1", "city"=>"TestTown", "location"=>"Testville, USA", "organized_by"=>"API Testers of America", "end_time"=>"2010-12-21 22:39:51", "street"=>"Testers Rd.", "user_id"=>"1", "phone"=>"555-555-5555", "website"=>"http://www.test.com", "description"=>"Test API Event 1 Desc", "event_type"=>"API Type", "start_time"=>"2010-12-21 22:39:51"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = '') LIMIT 1 +Filter chain halted as [:api_filter] rendered_or_redirected. +Completed in 140ms (View: 137, DB: 1) | 401 Unauthorized [http://www.example.com/events.xml] + SQL (38.0ms) ROLLBACK + SQL (0.0ms) BEGIN + + +Processing SessionsController#destroy (for 127.0.0.1 at 2010-12-21 22:39:51) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Redirected to http://www.example.com/ +Completed in 3ms (DB: 39) | 302 Found [http://www.example.com/logout] + + +Processing EventsController#update to json (for 127.0.0.1 at 2010-12-21 22:39:51) [PUT] + Parameters: {"api_key"=>"testapikey", "id"=>"1", "event"=>{"name"=>"Test API Event 1", "city"=>"TestTown", "location"=>"Testville, USA", "organized_by"=>"API Testers of America", "end_time"=>"2010-12-21 22:39:51", "street"=>"Testers Rd.", "user_id"=>"1", "phone"=>"555-555-5555", "website"=>"http://www.test.com", "description"=>"Test API Event 1 Desc", "event_type"=>"API Type", "start_time"=>"2010-12-21 22:39:51"}} + Theme Load (0.2ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = '') LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.`id` = 1)  + +ActiveRecord::AssociationTypeMismatch (Location(#-616614408) expected, got String(#-607725058)): + app/controllers/events_controller.rb:136:in `update' + app/controllers/events_controller.rb:135:in `update' + integration/api/events_test.rb:136:in `test_should_update_event_via_API_JSON' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run' + /usr/lib/ruby/1.8/test/unit/ui/testrunnermediator.rb:46:in `run_suite' + /usr/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:67:in `start_mediator' + /usr/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:41:in `start' + /usr/lib/ruby/1.8/test/unit/ui/testrunnerutilities.rb:29:in `run' + /usr/lib/ruby/1.8/test/unit/autorunner.rb:216:in `run' + /usr/lib/ruby/1.8/test/unit/autorunner.rb:12:in `run' + /usr/lib/ruby/1.8/test/unit.rb:279 + integration/api/events_test.rb:163 + +Rendered rescues/_trace (40.1ms) +Rendered rescues/_request_and_response (0.6ms) +Rendering rescues/layout (internal_server_error) + SQL (35.0ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing SessionsController#destroy (for 127.0.0.1 at 2010-12-21 22:39:51) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Redirected to http://www.example.com/ +Completed in 3ms (DB: 38) | 302 Found [http://www.example.com/logout] + + +Processing EventsController#update to xml (for 127.0.0.1 at 2010-12-21 22:39:51) [PUT] + Parameters: {"api_key"=>"testapikey", "id"=>"1", "event"=>{"name"=>"Test API Event 1", "city"=>"TestTown", "location"=>"Testville, USA", "organized_by"=>"API Testers of America", "end_time"=>"2010-12-21 22:39:51", "street"=>"Testers Rd.", "user_id"=>"1", "phone"=>"555-555-5555", "website"=>"http://www.test.com", "description"=>"Test API Event 1 Desc", "event_type"=>"API Type", "start_time"=>"2010-12-21 22:39:51"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = '') LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + Event Load (0.1ms) SELECT * FROM `events` WHERE (`events`.`id` = 1)  + +ActiveRecord::AssociationTypeMismatch (Location(#-616614408) expected, got String(#-607725058)): + app/controllers/events_controller.rb:136:in `update' + app/controllers/events_controller.rb:135:in `update' + integration/api/events_test.rb:116:in `test_should_update_event_via_API_XML' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run' + /usr/lib/ruby/1.8/test/unit/ui/testrunnermediator.rb:46:in `run_suite' + /usr/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:67:in `start_mediator' + /usr/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:41:in `start' + /usr/lib/ruby/1.8/test/unit/ui/testrunnerutilities.rb:29:in `run' + /usr/lib/ruby/1.8/test/unit/autorunner.rb:216:in `run' + /usr/lib/ruby/1.8/test/unit/autorunner.rb:12:in `run' + /usr/lib/ruby/1.8/test/unit.rb:279 + integration/api/events_test.rb:163 + +Rendered rescues/_trace (35.9ms) +Rendered rescues/_request_and_response (0.5ms) +Rendering rescues/layout (internal_server_error) + SQL (27.7ms) ROLLBACK +** acts_as_taggable_on: initialized properly. + SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 + SQL (0.1ms) BEGIN + + +Processing EventsController#index to json (for 127.0.0.1 at 2010-12-21 22:43:54) [GET] + Parameters: {"api_key"=>"testapikey"} + Theme Load (0.3ms) SELECT * FROM `themes` LIMIT 1 + Network Load (0.3ms) SELECT * FROM `networks` LIMIT 1 + User Load (0.5ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + Event Load (0.4ms) SELECT * FROM `events` WHERE (start_time>now()) ORDER BY start_time ASC +Completed in 177ms (View: 25, DB: 192) | 200 OK [http://www.example.com/events.json] + SQL (37.5ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing EventsController#show to json (for 127.0.0.1 at 2010-12-21 22:43:54) [GET] + Parameters: {"api_key"=>"testapikey", "id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + Event Load (0.3ms) SELECT * FROM `events` WHERE (`events`.`id` = 1)  +Completed in 29ms (View: 23, DB: 39) | 200 OK [http://www.example.com/events/1.json] + SQL (32.9ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing SessionsController#destroy (for 127.0.0.1 at 2010-12-21 22:43:54) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Redirected to http://www.example.com/ +Completed in 9ms (DB: 34) | 302 Found [http://www.example.com/logout] + + +Processing EventsController#create to json (for 127.0.0.1 at 2010-12-21 22:43:54) [POST] + Parameters: {"api_key"=>"testapikey", "event"=>{"name"=>"Test API Event 1", "city"=>"TestTown", "organized_by"=>"API Testers of America", "end_time"=>"2010-12-21 22:43:54", "location"=>"Testville, USA", "street"=>"Testers Rd.", "user_id"=>"1", "phone"=>"555-555-5555", "website"=>"http://www.test.com", "description"=>"Test API Event 1 Desc", "event_type"=>"API Type", "start_time"=>"2010-12-21 22:43:54"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.7ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = '') LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + +ActiveRecord::AssociationTypeMismatch (Location(#-617457028) expected, got String(#-608568828)): + app/controllers/events_controller.rb:98:in `new' + app/controllers/events_controller.rb:98:in `create' + integration/api/events_test.rb:72:in `test_should_create_event_via_API_JSON' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run' + /usr/lib/ruby/1.8/test/unit/ui/testrunnermediator.rb:46:in `run_suite' + /usr/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:67:in `start_mediator' + /usr/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:41:in `start' + /usr/lib/ruby/1.8/test/unit/ui/testrunnerutilities.rb:29:in `run' + /usr/lib/ruby/1.8/test/unit/autorunner.rb:216:in `run' + /usr/lib/ruby/1.8/test/unit/autorunner.rb:12:in `run' + /usr/lib/ruby/1.8/test/unit.rb:279 + integration/api/events_test.rb:160 + +Rendered rescues/_trace (154.2ms) +Rendered rescues/_request_and_response (1.8ms) +Rendering rescues/layout (internal_server_error) + SQL (45.9ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing SessionsController#destroy (for 127.0.0.1 at 2010-12-21 22:43:58) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Redirected to http://www.example.com/ +Completed in 3ms (DB: 49) | 302 Found [http://www.example.com/logout] + + +Processing EventsController#create to xml (for 127.0.0.1 at 2010-12-21 22:43:58) [POST] + Parameters: {"api_key"=>"testapikey", "event"=>{"name"=>"Test API Event 1", "organized_by"=>"API Testers of America", "end_time"=>"2010-12-21 22:43:58", "user_id"=>"1", "location_id"=>"1", "website"=>"http://www.test.com", "description"=>"Test API Event 1 Desc", "event_type"=>"API Type", "start_time"=>"2010-12-21 22:43:58"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = '') LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + SQL (0.2ms) SAVEPOINT active_record_1 + Event Create (0.3ms) INSERT INTO `events` (`name`, `city`, `article_guid`, `end_time`, `organized_by`, `created_at`, `xlocation`, `updated_at`, `feed_url`, `street`, `group_id`, `user_id`, `website`, `phone`, `location_id`, `photo_id`, `description`, `event_type`, `start_time`) VALUES('Test API Event 1', NULL, NULL, '2010-12-22 03:43:58', 'API Testers of America', '2010-12-22 05:44:02', NULL, '2010-12-22 05:44:02', NULL, NULL, NULL, 1, 'http://www.test.com', NULL, 1, NULL, 'Test API Event 1 Desc', 'API Type', '2010-12-22 03:43:58') + Activity Create (0.2ms) INSERT INTO `activities` (`created_at`, `public`, `updated_at`, `action`, `user_id`, `item_id`, `item_type`) VALUES('2010-12-22 05:44:02', 1, '2010-12-22 05:44:02', NULL, 1, 4, 'Event') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Completed in 4047ms (View: 27, DB: 2) | 201 Created [http://www.example.com/events.xml] + SQL (37.1ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing SessionsController#destroy (for 127.0.0.1 at 2010-12-21 22:44:02) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Redirected to http://www.example.com/ +Completed in 3ms (DB: 38) | 302 Found [http://www.example.com/logout] + + +Processing EventsController#create to xml (for 127.0.0.1 at 2010-12-21 22:44:02) [POST] + Parameters: {"event"=>{"name"=>"Test API Event 1", "organized_by"=>"API Testers of America", "end_time"=>"2010-12-21 22:44:02", "user_id"=>"1", "location_id"=>"1", "website"=>"http://www.test.com", "description"=>"Test API Event 1 Desc", "event_type"=>"API Type", "start_time"=>"2010-12-21 22:44:02"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = '') LIMIT 1 +Filter chain halted as [:api_filter] rendered_or_redirected. +Completed in 141ms (View: 138, DB: 1) | 401 Unauthorized [http://www.example.com/events.xml] + SQL (34.9ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing SessionsController#destroy (for 127.0.0.1 at 2010-12-21 22:44:02) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Redirected to http://www.example.com/ +Completed in 3ms (DB: 36) | 302 Found [http://www.example.com/logout] + + +Processing EventsController#update to json (for 127.0.0.1 at 2010-12-21 22:44:02) [PUT] + Parameters: {"api_key"=>"testapikey", "id"=>"1", "event"=>{"name"=>"Test API Event 1", "city"=>"TestTown", "organized_by"=>"API Testers of America", "end_time"=>"2010-12-21 22:44:02", "street"=>"Testers Rd.", "user_id"=>"1", "location_id"=>"1", "phone"=>"555-555-5555", "website"=>"http://www.test.com", "description"=>"Test API Event 1 Desc", "event_type"=>"API Type", "start_time"=>"2010-12-21 22:44:02"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = '') LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + Event Load (0.6ms) SELECT * FROM `events` WHERE (`events`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + Event Update (0.3ms) UPDATE `events` SET `updated_at` = '2010-12-22 05:44:02', `name` = 'Test API Event 1', `start_time` = '2010-12-22 03:44:02', `organized_by` = 'API Testers of America', `event_type` = 'API Type', `description` = 'Test API Event 1 Desc', `end_time` = '2010-12-22 03:44:02' WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Completed in 36ms (View: 25, DB: 2) | 200 OK [http://www.example.com/events/1.json] + SQL (28.3ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing SessionsController#destroy (for 127.0.0.1 at 2010-12-21 22:44:03) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Redirected to http://www.example.com/ +Completed in 3ms (DB: 32) | 302 Found [http://www.example.com/logout] + + +Processing EventsController#update to xml (for 127.0.0.1 at 2010-12-21 22:44:03) [PUT] + Parameters: {"api_key"=>"testapikey", "id"=>"1", "event"=>{"name"=>"Test API Event 1", "city"=>"TestTown", "organized_by"=>"API Testers of America", "end_time"=>"2010-12-21 22:44:03", "location"=>"Testville, USA", "street"=>"Testers Rd.", "user_id"=>"1", "phone"=>"555-555-5555", "website"=>"http://www.test.com", "description"=>"Test API Event 1 Desc", "event_type"=>"API Type", "start_time"=>"2010-12-21 22:44:03"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = '') LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + Event Load (0.3ms) SELECT * FROM `events` WHERE (`events`.`id` = 1)  + +ActiveRecord::AssociationTypeMismatch (Location(#-617457028) expected, got String(#-608568828)): + app/controllers/events_controller.rb:136:in `update' + app/controllers/events_controller.rb:135:in `update' + integration/api/events_test.rb:113:in `test_should_update_event_via_API_XML' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run' + /usr/lib/ruby/1.8/test/unit/ui/testrunnermediator.rb:46:in `run_suite' + /usr/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:67:in `start_mediator' + /usr/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:41:in `start' + /usr/lib/ruby/1.8/test/unit/ui/testrunnerutilities.rb:29:in `run' + /usr/lib/ruby/1.8/test/unit/autorunner.rb:216:in `run' + /usr/lib/ruby/1.8/test/unit/autorunner.rb:12:in `run' + /usr/lib/ruby/1.8/test/unit.rb:279 + integration/api/events_test.rb:160 + +Rendered rescues/_trace (36.0ms) +Rendered rescues/_request_and_response (0.6ms) +Rendering rescues/layout (internal_server_error) + SQL (87.2ms) ROLLBACK +** acts_as_taggable_on: initialized properly. + SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 + SQL (0.0ms) BEGIN + + +Processing EventsController#index to json (for 127.0.0.1 at 2010-12-21 22:44:46) [GET] + Parameters: {"api_key"=>"testapikey"} + Theme Load (0.3ms) SELECT * FROM `themes` LIMIT 1 + Network Load (0.3ms) SELECT * FROM `networks` LIMIT 1 + User Load (0.5ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + Event Load (0.4ms) SELECT * FROM `events` WHERE (start_time>now()) ORDER BY start_time ASC +Completed in 173ms (View: 25, DB: 147) | 200 OK [http://www.example.com/events.json] + SQL (48.2ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing EventsController#show to json (for 127.0.0.1 at 2010-12-21 22:44:46) [GET] + Parameters: {"api_key"=>"testapikey", "id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + Event Load (0.3ms) SELECT * FROM `events` WHERE (`events`.`id` = 1)  +Completed in 29ms (View: 23, DB: 50) | 200 OK [http://www.example.com/events/1.json] + SQL (49.8ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing SessionsController#destroy (for 127.0.0.1 at 2010-12-21 22:44:46) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Redirected to http://www.example.com/ +Completed in 9ms (DB: 51) | 302 Found [http://www.example.com/logout] + + +Processing EventsController#create to json (for 127.0.0.1 at 2010-12-21 22:44:46) [POST] + Parameters: {"api_key"=>"testapikey", "event"=>{"name"=>"Test API Event 1", "city"=>"TestTown", "organized_by"=>"API Testers of America", "end_time"=>"2010-12-21 22:44:46", "street"=>"Testers Rd.", "user_id"=>"1", "location_id"=>"1", "phone"=>"555-555-5555", "website"=>"http://www.test.com", "description"=>"Test API Event 1 Desc", "event_type"=>"API Type", "start_time"=>"2010-12-21 22:44:46"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.7ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = '') LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + SQL (0.2ms) SAVEPOINT active_record_1 + Event Create (0.4ms) INSERT INTO `events` (`name`, `city`, `article_guid`, `end_time`, `organized_by`, `created_at`, `xlocation`, `updated_at`, `feed_url`, `street`, `group_id`, `user_id`, `website`, `phone`, `location_id`, `photo_id`, `description`, `event_type`, `start_time`) VALUES('Test API Event 1', 'TestTown', NULL, '2010-12-22 03:44:46', 'API Testers of America', '2010-12-22 05:44:50', NULL, '2010-12-22 05:44:50', NULL, 'Testers Rd.', NULL, 1, 'http://www.test.com', '555-555-5555', 1, NULL, 'Test API Event 1 Desc', 'API Type', '2010-12-22 03:44:46') + Activity Create (0.4ms) INSERT INTO `activities` (`created_at`, `public`, `updated_at`, `action`, `user_id`, `item_id`, `item_type`) VALUES('2010-12-22 05:44:50', 1, '2010-12-22 05:44:50', NULL, 1, 5, 'Event') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Completed in 4169ms (View: 138, DB: 3) | 201 Created [http://www.example.com/events.json] + SQL (50.9ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing SessionsController#destroy (for 127.0.0.1 at 2010-12-21 22:44:50) [GET] + Theme Load (0.2ms) SELECT * FROM `themes` LIMIT 1 +Redirected to http://www.example.com/ +Completed in 3ms (DB: 52) | 302 Found [http://www.example.com/logout] + + +Processing EventsController#create to xml (for 127.0.0.1 at 2010-12-21 22:44:50) [POST] + Parameters: {"api_key"=>"testapikey", "event"=>{"name"=>"Test API Event 1", "organized_by"=>"API Testers of America", "end_time"=>"2010-12-21 22:44:50", "user_id"=>"1", "location_id"=>"1", "website"=>"http://www.test.com", "description"=>"Test API Event 1 Desc", "event_type"=>"API Type", "start_time"=>"2010-12-21 22:44:50"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = '') LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + SQL (0.2ms) SAVEPOINT active_record_1 + Event Create (0.4ms) INSERT INTO `events` (`name`, `city`, `article_guid`, `end_time`, `organized_by`, `created_at`, `xlocation`, `updated_at`, `feed_url`, `street`, `group_id`, `user_id`, `website`, `phone`, `location_id`, `photo_id`, `description`, `event_type`, `start_time`) VALUES('Test API Event 1', NULL, NULL, '2010-12-22 03:44:50', 'API Testers of America', '2010-12-22 05:44:54', NULL, '2010-12-22 05:44:54', NULL, NULL, NULL, 1, 'http://www.test.com', NULL, 1, NULL, 'Test API Event 1 Desc', 'API Type', '2010-12-22 03:44:50') + Activity Create (0.3ms) INSERT INTO `activities` (`created_at`, `public`, `updated_at`, `action`, `user_id`, `item_id`, `item_type`) VALUES('2010-12-22 05:44:54', 1, '2010-12-22 05:44:54', NULL, 1, 6, 'Event') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Completed in 4056ms (View: 33, DB: 2) | 201 Created [http://www.example.com/events.xml] + SQL (54.3ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing SessionsController#destroy (for 127.0.0.1 at 2010-12-21 22:44:54) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Redirected to http://www.example.com/ +Completed in 3ms (DB: 55) | 302 Found [http://www.example.com/logout] + + +Processing EventsController#create to xml (for 127.0.0.1 at 2010-12-21 22:44:54) [POST] + Parameters: {"event"=>{"name"=>"Test API Event 1", "organized_by"=>"API Testers of America", "end_time"=>"2010-12-21 22:44:54", "user_id"=>"1", "location_id"=>"1", "website"=>"http://www.test.com", "description"=>"Test API Event 1 Desc", "event_type"=>"API Type", "start_time"=>"2010-12-21 22:44:54"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = '') LIMIT 1 +Filter chain halted as [:api_filter] rendered_or_redirected. +Completed in 138ms (View: 134, DB: 1) | 401 Unauthorized [http://www.example.com/events.xml] + SQL (31.4ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing SessionsController#destroy (for 127.0.0.1 at 2010-12-21 22:44:55) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Redirected to http://www.example.com/ +Completed in 3ms (DB: 33) | 302 Found [http://www.example.com/logout] + + +Processing EventsController#update to json (for 127.0.0.1 at 2010-12-21 22:44:55) [PUT] + Parameters: {"api_key"=>"testapikey", "id"=>"1", "event"=>{"name"=>"Test API Event 1", "city"=>"TestTown", "organized_by"=>"API Testers of America", "end_time"=>"2010-12-21 22:44:55", "street"=>"Testers Rd.", "user_id"=>"1", "location_id"=>"1", "phone"=>"555-555-5555", "website"=>"http://www.test.com", "description"=>"Test API Event 1 Desc", "event_type"=>"API Type", "start_time"=>"2010-12-21 22:44:55"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = '') LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + Event Load (0.3ms) SELECT * FROM `events` WHERE (`events`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + Event Update (0.3ms) UPDATE `events` SET `updated_at` = '2010-12-22 05:44:55', `name` = 'Test API Event 1', `start_time` = '2010-12-22 03:44:55', `organized_by` = 'API Testers of America', `event_type` = 'API Type', `description` = 'Test API Event 1 Desc', `end_time` = '2010-12-22 03:44:55' WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Completed in 34ms (View: 23, DB: 2) | 200 OK [http://www.example.com/events/1.json] + SQL (31.9ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing SessionsController#destroy (for 127.0.0.1 at 2010-12-21 22:44:55) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Redirected to http://www.example.com/ +Completed in 4ms (DB: 33) | 302 Found [http://www.example.com/logout] + + +Processing EventsController#update to xml (for 127.0.0.1 at 2010-12-21 22:44:55) [PUT] + Parameters: {"api_key"=>"testapikey", "id"=>"1", "event"=>{"name"=>"Test API Event 1", "city"=>"TestTown", "organized_by"=>"API Testers of America", "end_time"=>"2010-12-21 22:44:55", "street"=>"Testers Rd.", "user_id"=>"1", "location_id"=>"1", "phone"=>"555-555-5555", "website"=>"http://www.test.com", "description"=>"Test API Event 1 Desc", "event_type"=>"API Type", "start_time"=>"2010-12-21 22:44:55"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = '') LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + Event Update (0.3ms) UPDATE `events` SET `updated_at` = '2010-12-22 05:44:55', `name` = 'Test API Event 1', `start_time` = '2010-12-22 03:44:55', `organized_by` = 'API Testers of America', `event_type` = 'API Type', `description` = 'Test API Event 1 Desc', `end_time` = '2010-12-22 03:44:55' WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Completed in 31ms (View: 22, DB: 2) | 200 OK [http://www.example.com/events/1.xml] + SQL (36.9ms) ROLLBACK +** acts_as_taggable_on: initialized properly. + SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 + SQL (0.1ms) BEGIN + + +Processing EventsController#index to json (for 127.0.0.1 at 2010-12-21 22:45:17) [GET] + Parameters: {"api_key"=>"testapikey"} + Theme Load (0.3ms) SELECT * FROM `themes` LIMIT 1 + Network Load (0.3ms) SELECT * FROM `networks` LIMIT 1 + User Load (0.5ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + Event Load (0.4ms) SELECT * FROM `events` WHERE (start_time>now()) ORDER BY start_time ASC +Completed in 173ms (View: 25, DB: 166) | 200 OK [http://www.example.com/events.json] + SQL (38.8ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing EventsController#show to json (for 127.0.0.1 at 2010-12-21 22:45:17) [GET] + Parameters: {"api_key"=>"testapikey", "id"=>"1"} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + Event Load (0.3ms) SELECT * FROM `events` WHERE (`events`.`id` = 1)  +Completed in 30ms (View: 23, DB: 40) | 200 OK [http://www.example.com/events/1.json] + SQL (38.9ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing SessionsController#destroy (for 127.0.0.1 at 2010-12-21 22:45:17) [GET] + Theme Load (0.3ms) SELECT * FROM `themes` LIMIT 1 +Redirected to http://www.example.com/ +Completed in 9ms (DB: 40) | 302 Found [http://www.example.com/logout] + + +Processing EventsController#create to json (for 127.0.0.1 at 2010-12-21 22:45:17) [POST] + Parameters: {"api_key"=>"testapikey", "event"=>{"name"=>"Test API Event 1", "city"=>"TestTown", "organized_by"=>"API Testers of America", "end_time"=>"2010-12-21 22:45:17", "street"=>"Testers Rd.", "user_id"=>"1", "location_id"=>"1", "phone"=>"555-555-5555", "website"=>"http://www.test.com", "description"=>"Test API Event 1 Desc", "event_type"=>"API Type", "start_time"=>"2010-12-21 22:45:17"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.7ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = '') LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + SQL (0.2ms) SAVEPOINT active_record_1 + Event Create (0.3ms) INSERT INTO `events` (`name`, `city`, `article_guid`, `end_time`, `organized_by`, `created_at`, `xlocation`, `updated_at`, `feed_url`, `street`, `group_id`, `user_id`, `website`, `phone`, `location_id`, `photo_id`, `description`, `event_type`, `start_time`) VALUES('Test API Event 1', 'TestTown', NULL, '2010-12-22 03:45:17', 'API Testers of America', '2010-12-22 05:45:21', NULL, '2010-12-22 05:45:21', NULL, 'Testers Rd.', NULL, 1, 'http://www.test.com', '555-555-5555', 1, NULL, 'Test API Event 1 Desc', 'API Type', '2010-12-22 03:45:17') + Activity Create (0.2ms) INSERT INTO `activities` (`created_at`, `public`, `updated_at`, `action`, `user_id`, `item_id`, `item_type`) VALUES('2010-12-22 05:45:21', 1, '2010-12-22 05:45:21', NULL, 1, 7, 'Event') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Completed in 4159ms (View: 133, DB: 3) | 201 Created [http://www.example.com/events.json] + SQL (53.2ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing SessionsController#destroy (for 127.0.0.1 at 2010-12-21 22:45:21) [GET] + Theme Load (0.2ms) SELECT * FROM `themes` LIMIT 1 +Redirected to http://www.example.com/ +Completed in 3ms (DB: 54) | 302 Found [http://www.example.com/logout] + + +Processing EventsController#create to xml (for 127.0.0.1 at 2010-12-21 22:45:21) [POST] + Parameters: {"api_key"=>"testapikey", "event"=>{"name"=>"Test API Event 1", "organized_by"=>"API Testers of America", "end_time"=>"2010-12-21 22:45:21", "user_id"=>"1", "location_id"=>"1", "website"=>"http://www.test.com", "description"=>"Test API Event 1 Desc", "event_type"=>"API Type", "start_time"=>"2010-12-21 22:45:21"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = '') LIMIT 1 + User Load (0.5ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + SQL (0.2ms) SAVEPOINT active_record_1 + Event Create (0.4ms) INSERT INTO `events` (`name`, `city`, `article_guid`, `end_time`, `organized_by`, `created_at`, `xlocation`, `updated_at`, `feed_url`, `street`, `group_id`, `user_id`, `website`, `phone`, `location_id`, `photo_id`, `description`, `event_type`, `start_time`) VALUES('Test API Event 1', NULL, NULL, '2010-12-22 03:45:21', 'API Testers of America', '2010-12-22 05:45:25', NULL, '2010-12-22 05:45:25', NULL, NULL, NULL, 1, 'http://www.test.com', NULL, 1, NULL, 'Test API Event 1 Desc', 'API Type', '2010-12-22 03:45:21') + Activity Create (0.3ms) INSERT INTO `activities` (`created_at`, `public`, `updated_at`, `action`, `user_id`, `item_id`, `item_type`) VALUES('2010-12-22 05:45:25', 1, '2010-12-22 05:45:25', NULL, 1, 8, 'Event') + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Completed in 4052ms (View: 29, DB: 3) | 201 Created [http://www.example.com/events.xml] + SQL (41.0ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing SessionsController#destroy (for 127.0.0.1 at 2010-12-21 22:45:26) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Redirected to http://www.example.com/ +Completed in 3ms (DB: 42) | 302 Found [http://www.example.com/logout] + + +Processing EventsController#create to xml (for 127.0.0.1 at 2010-12-21 22:45:26) [POST] + Parameters: {"event"=>{"name"=>"Test API Event 1", "organized_by"=>"API Testers of America", "end_time"=>"2010-12-21 22:45:26", "user_id"=>"1", "location_id"=>"1", "website"=>"http://www.test.com", "description"=>"Test API Event 1 Desc", "event_type"=>"API Type", "start_time"=>"2010-12-21 22:45:26"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = '') LIMIT 1 +Filter chain halted as [:api_filter] rendered_or_redirected. +Completed in 140ms (View: 136, DB: 1) | 401 Unauthorized [http://www.example.com/events.xml] + SQL (27.4ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing SessionsController#destroy (for 127.0.0.1 at 2010-12-21 22:45:26) [GET] + Theme Load (0.2ms) SELECT * FROM `themes` LIMIT 1 +Redirected to http://www.example.com/ +Completed in 3ms (DB: 29) | 302 Found [http://www.example.com/logout] + + +Processing EventsController#update to json (for 127.0.0.1 at 2010-12-21 22:45:26) [PUT] + Parameters: {"api_key"=>"testapikey", "id"=>"1", "event"=>{"name"=>"Test API Event 1", "city"=>"TestTown", "organized_by"=>"API Testers of America", "end_time"=>"2010-12-21 22:45:26", "street"=>"Testers Rd.", "user_id"=>"1", "location_id"=>"1", "phone"=>"555-555-5555", "website"=>"http://www.test.com", "description"=>"Test API Event 1 Desc", "event_type"=>"API Type", "start_time"=>"2010-12-21 22:45:26"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = '') LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + Event Load (0.3ms) SELECT * FROM `events` WHERE (`events`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + Event Update (0.3ms) UPDATE `events` SET `updated_at` = '2010-12-22 05:45:26', `name` = 'Test API Event 1', `start_time` = '2010-12-22 03:45:26', `organized_by` = 'API Testers of America', `event_type` = 'API Type', `description` = 'Test API Event 1 Desc', `end_time` = '2010-12-22 03:45:26' WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Completed in 34ms (View: 24, DB: 2) | 200 OK [http://www.example.com/events/1.json] + SQL (31.0ms) ROLLBACK + SQL (0.1ms) BEGIN + + +Processing SessionsController#destroy (for 127.0.0.1 at 2010-12-21 22:45:26) [GET] + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 +Redirected to http://www.example.com/ +Completed in 3ms (DB: 32) | 302 Found [http://www.example.com/logout] + + +Processing EventsController#update to xml (for 127.0.0.1 at 2010-12-21 22:45:26) [PUT] + Parameters: {"api_key"=>"testapikey", "id"=>"1", "event"=>{"name"=>"Test API Event 1", "city"=>"TestTown", "organized_by"=>"API Testers of America", "end_time"=>"2010-12-21 22:45:26", "street"=>"Testers Rd.", "user_id"=>"1", "location_id"=>"1", "phone"=>"555-555-5555", "website"=>"http://www.test.com", "description"=>"Test API Event 1 Desc", "event_type"=>"API Type", "start_time"=>"2010-12-21 22:45:26"}} + Theme Load (0.1ms) SELECT * FROM `themes` LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`remember_token` = '') LIMIT 1 + User Load (0.1ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + Event Load (0.2ms) SELECT * FROM `events` WHERE (`events`.`id` = 1)  + SQL (0.1ms) SAVEPOINT active_record_1 + Event Update (0.3ms) UPDATE `events` SET `updated_at` = '2010-12-22 05:45:26', `name` = 'Test API Event 1', `start_time` = '2010-12-22 03:45:26', `organized_by` = 'API Testers of America', `event_type` = 'API Type', `description` = 'Test API Event 1 Desc', `end_time` = '2010-12-22 03:45:26' WHERE `id` = 1 + SQL (0.1ms) RELEASE SAVEPOINT active_record_1 +Completed in 31ms (View: 22, DB: 2) | 200 OK [http://www.example.com/events/1.xml] + SQL (27.0ms) ROLLBACK +** acts_as_taggable_on: initialized properly. + SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 + SQL (0.1ms) BEGIN + + +Processing LocationsController#index to json (for 127.0.0.1 at 2010-12-21 22:47:53) [GET] + Parameters: {"api_key"=>"testapikey"} + Theme Load (22.2ms) SELECT * FROM `themes` LIMIT 1 + Network Load (0.4ms) SELECT * FROM `networks` LIMIT 1 + User Load (0.5ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + Location Load (0.0ms) Mysql::Error: Unknown column 'active' in 'where clause': SELECT * FROM `locations` WHERE (active = true) ORDER BY name desc + +ActiveRecord::StatementInvalid (Mysql::Error: Unknown column 'active' in 'where clause': SELECT * FROM `locations` WHERE (active = true) ORDER BY name desc): + app/controllers/locations_controller.rb:3:in `index' + integration/api/locations_test.rb:11:in `test_get_all_events' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run' + /usr/lib/ruby/1.8/test/unit/ui/testrunnermediator.rb:46:in `run_suite' + /usr/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:67:in `start_mediator' + /usr/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:41:in `start' + /usr/lib/ruby/1.8/test/unit/ui/testrunnerutilities.rb:29:in `run' + /usr/lib/ruby/1.8/test/unit/autorunner.rb:216:in `run' + /usr/lib/ruby/1.8/test/unit/autorunner.rb:12:in `run' + /usr/lib/ruby/1.8/test/unit.rb:279 + integration/api/locations_test.rb:10 + +Rendered rescues/_trace (42.1ms) +Rendered rescues/_request_and_response (1.5ms) +Rendering rescues/layout (internal_server_error) + SQL (54.0ms) ROLLBACK +** acts_as_taggable_on: initialized properly. + SQL (0.2ms) SET SQL_AUTO_IS_NULL=0 + SQL (0.1ms) BEGIN + + +Processing LocationsController#index to json (for 127.0.0.1 at 2010-12-22 21:02:55) [GET] + Parameters: {"api_key"=>"testapikey"} + Theme Load (22.8ms) SELECT * FROM `themes` LIMIT 1 + Network Load (0.4ms) SELECT * FROM `networks` LIMIT 1 + User Load (0.7ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + Location Load (0.0ms) Mysql::Error: Unknown column 'active' in 'where clause': SELECT * FROM `locations` WHERE (active = true) ORDER BY name desc + +ActiveRecord::StatementInvalid (Mysql::Error: Unknown column 'active' in 'where clause': SELECT * FROM `locations` WHERE (active = true) ORDER BY name desc): + app/controllers/locations_controller.rb:3:in `index' + integration/api/locations_test.rb:11:in `test_get_all_events' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run' + /usr/lib/ruby/1.8/test/unit/ui/testrunnermediator.rb:46:in `run_suite' + /usr/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:67:in `start_mediator' + /usr/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:41:in `start' + /usr/lib/ruby/1.8/test/unit/ui/testrunnerutilities.rb:29:in `run' + /usr/lib/ruby/1.8/test/unit/autorunner.rb:216:in `run' + /usr/lib/ruby/1.8/test/unit/autorunner.rb:12:in `run' + /usr/lib/ruby/1.8/test/unit.rb:279 + integration/api/locations_test.rb:10 + +Rendered rescues/_trace (43.5ms) +Rendered rescues/_request_and_response (1.6ms) +Rendering rescues/layout (internal_server_error) + SQL (59.6ms) ROLLBACK +** acts_as_taggable_on: initialized properly. + SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 + SQL (0.1ms) BEGIN + + +Processing LocationsController#index to json (for 127.0.0.1 at 2010-12-22 21:21:54) [GET] + Parameters: {"api_key"=>"testapikey"} + Theme Load (20.6ms) SELECT * FROM `themes` LIMIT 1 + Network Load (0.4ms) SELECT * FROM `networks` LIMIT 1 + User Load (0.5ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + Location Load (0.0ms) Mysql::Error: Unknown column 'active' in 'where clause': SELECT * FROM `locations` WHERE (active = true) ORDER BY name desc + +ActiveRecord::StatementInvalid (Mysql::Error: Unknown column 'active' in 'where clause': SELECT * FROM `locations` WHERE (active = true) ORDER BY name desc): + app/controllers/locations_controller.rb:3:in `index' + integration/api/locations_test.rb:11:in `test_get_all_events' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run' + /usr/lib/ruby/1.8/test/unit/ui/testrunnermediator.rb:46:in `run_suite' + /usr/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:67:in `start_mediator' + /usr/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:41:in `start' + /usr/lib/ruby/1.8/test/unit/ui/testrunnerutilities.rb:29:in `run' + /usr/lib/ruby/1.8/test/unit/autorunner.rb:216:in `run' + /usr/lib/ruby/1.8/test/unit/autorunner.rb:12:in `run' + /usr/lib/ruby/1.8/test/unit.rb:279 + integration/api/locations_test.rb:10 + +Rendered rescues/_trace (41.7ms) +Rendered rescues/_request_and_response (1.6ms) +Rendering rescues/layout (internal_server_error) + SQL (60.8ms) ROLLBACK +** acts_as_taggable_on: initialized properly. + SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 + SQL (0.0ms) BEGIN + + +Processing LocationsController#index to json (for 127.0.0.1 at 2010-12-22 21:31:15) [GET] + Parameters: {"api_key"=>"testapikey"} + Theme Load (20.8ms) SELECT * FROM `themes` LIMIT 1 + Network Load (0.3ms) SELECT * FROM `networks` LIMIT 1 + User Load (0.5ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + Location Load (0.0ms) Mysql::Error: Unknown column 'active' in 'where clause': SELECT * FROM `locations` WHERE (active = true) ORDER BY name desc + +ActiveRecord::StatementInvalid (Mysql::Error: Unknown column 'active' in 'where clause': SELECT * FROM `locations` WHERE (active = true) ORDER BY name desc): + app/controllers/locations_controller.rb:3:in `index' + integration/api/locations_test.rb:11:in `test_get_all_events' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:34:in `run' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `each' + /usr/lib/ruby/1.8/test/unit/testsuite.rb:33:in `run' + /usr/lib/ruby/1.8/test/unit/ui/testrunnermediator.rb:46:in `run_suite' + /usr/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:67:in `start_mediator' + /usr/lib/ruby/1.8/test/unit/ui/console/testrunner.rb:41:in `start' + /usr/lib/ruby/1.8/test/unit/ui/testrunnerutilities.rb:29:in `run' + /usr/lib/ruby/1.8/test/unit/autorunner.rb:216:in `run' + /usr/lib/ruby/1.8/test/unit/autorunner.rb:12:in `run' + /usr/lib/ruby/1.8/test/unit.rb:279 + integration/api/locations_test.rb:10 + +Rendered rescues/_trace (42.7ms) +Rendered rescues/_request_and_response (1.5ms) +Rendering rescues/layout (internal_server_error) + SQL (47.9ms) ROLLBACK +** acts_as_taggable_on: initialized properly. + SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 +** acts_as_taggable_on: initialized properly. +** acts_as_taggable_on: initialized properly. + SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 +** acts_as_taggable_on: initialized properly. + SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 + SQL (0.1ms) BEGIN + + +Processing LocationsController#index to json (for 127.0.0.1 at 2010-12-22 21:34:29) [GET] + Parameters: {"api_key"=>"testapikey"} + Theme Load (0.3ms) SELECT * FROM `themes` LIMIT 1 + Network Load (0.4ms) SELECT * FROM `networks` LIMIT 1 + User Load (0.5ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + Location Load (18.5ms) SELECT * FROM `locations` WHERE (active = true) ORDER BY name desc +Completed in 202ms (View: 44, DB: 197) | 200 OK [http://www.example.com/locations.json] + SQL (60.4ms) ROLLBACK +** acts_as_taggable_on: initialized properly. + SQL (0.2ms) SET SQL_AUTO_IS_NULL=0 + SQL (0.1ms) BEGIN + + +Processing LocationsController#index to json (for 127.0.0.1 at 2010-12-22 21:34:49) [GET] + Parameters: {"api_key"=>"testapikey"} + Theme Load (0.3ms) SELECT * FROM `themes` LIMIT 1 + Network Load (0.4ms) SELECT * FROM `networks` LIMIT 1 + User Load (0.5ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + Location Load (0.3ms) SELECT * FROM `locations` WHERE (active = true) ORDER BY name desc +Completed in 165ms (View: 25, DB: 176) | 200 OK [http://www.example.com/locations.json] + SQL (56.1ms) ROLLBACK +** acts_as_taggable_on: initialized properly. + SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 + SQL (0.1ms) BEGIN + + +Processing LocationsController#index to json (for 127.0.0.1 at 2010-12-22 21:36:25) [GET] + Parameters: {"api_key"=>"testapikey"} + Theme Load (0.3ms) SELECT * FROM `themes` LIMIT 1 + Network Load (0.4ms) SELECT * FROM `networks` LIMIT 1 + User Load (0.5ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + Location Load (0.3ms) SELECT * FROM `locations` WHERE (active = true) ORDER BY name desc +Completed in 166ms (View: 25, DB: 157) | 200 OK [http://www.example.com/locations.json] + SQL (64.0ms) ROLLBACK +** acts_as_taggable_on: initialized properly. + SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 + SQL (0.1ms) BEGIN + + +Processing LocationsController#index to json (for 127.0.0.1 at 2010-12-22 21:44:40) [GET] + Parameters: {"api_key"=>"testapikey"} + Theme Load (0.3ms) SELECT * FROM `themes` LIMIT 1 + Network Load (0.4ms) SELECT * FROM `networks` LIMIT 1 + User Load (0.5ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + Location Load (0.4ms) SELECT * FROM `locations` WHERE (active = true) ORDER BY name desc +Completed in 173ms (View: 25, DB: 198) | 200 OK [http://www.example.com/locations.json] + SQL (55.9ms) ROLLBACK +** acts_as_taggable_on: initialized properly. + SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 + SQL (0.1ms) BEGIN + + +Processing LocationsController#index to json (for 127.0.0.1 at 2010-12-22 21:45:42) [GET] + Parameters: {"api_key"=>"testapikey"} + Theme Load (22.8ms) SELECT * FROM `themes` LIMIT 1 + Network Load (0.3ms) SELECT * FROM `networks` LIMIT 1 + User Load (0.5ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + Location Load (0.3ms) SELECT * FROM `locations` WHERE (active = true) ORDER BY name desc +Completed in 175ms (View: 25, DB: 214) | 200 OK [http://www.example.com/locations.json] + SQL (52.7ms) ROLLBACK +** acts_as_taggable_on: initialized properly. + SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 + SQL (0.1ms) BEGIN + + +Processing LocationsController#index to json (for 127.0.0.1 at 2010-12-22 21:46:25) [GET] + Parameters: {"api_key"=>"testapikey"} + Theme Load (22.8ms) SELECT * FROM `themes` LIMIT 1 + Network Load (0.3ms) SELECT * FROM `networks` LIMIT 1 + User Load (0.5ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + Location Load (0.4ms) SELECT * FROM `locations` WHERE (active = true) ORDER BY name desc +Completed in 174ms (View: 26, DB: 229) | 200 OK [http://www.example.com/locations.json] + SQL (50.7ms) ROLLBACK +** acts_as_taggable_on: initialized properly. + SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 + SQL (0.1ms) BEGIN + + +Processing LocationsController#index to json (for 127.0.0.1 at 2010-12-22 21:46:48) [GET] + Parameters: {"api_key"=>"testapikey"} + Theme Load (23.1ms) SELECT * FROM `themes` LIMIT 1 + Network Load (0.3ms) SELECT * FROM `networks` LIMIT 1 + User Load (0.5ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + Location Load (0.3ms) SELECT * FROM `locations` WHERE (active = true) ORDER BY name desc +Completed in 174ms (View: 25, DB: 226) | 200 OK [http://www.example.com/locations.json] + SQL (61.1ms) ROLLBACK +** acts_as_taggable_on: initialized properly. + SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 + SQL (0.0ms) BEGIN + + +Processing LocationsController#index to json (for 127.0.0.1 at 2010-12-22 21:47:47) [GET] + Parameters: {"api_key"=>"testapikey"} + Theme Load (23.2ms) SELECT * FROM `themes` LIMIT 1 + Network Load (0.4ms) SELECT * FROM `networks` LIMIT 1 + User Load (0.4ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + Location Load (0.4ms) SELECT * FROM `locations` WHERE (active = true) ORDER BY name desc +Completed in 174ms (View: 25, DB: 223) | 200 OK [http://www.example.com/locations.json] + SQL (61.9ms) ROLLBACK +** acts_as_taggable_on: initialized properly. + SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 + SQL (0.1ms) BEGIN + + +Processing LocationsController#index to json (for 127.0.0.1 at 2010-12-22 21:49:30) [GET] + Parameters: {"api_key"=>"testapikey"} + Theme Load (22.7ms) SELECT * FROM `themes` LIMIT 1 + Network Load (0.3ms) SELECT * FROM `networks` LIMIT 1 + User Load (0.5ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + Location Load (0.3ms) SELECT * FROM `locations` WHERE (active = true) ORDER BY name desc +Completed in 172ms (View: 25, DB: 237) | 200 OK [http://www.example.com/locations.json] + SQL (60.2ms) ROLLBACK +** acts_as_taggable_on: initialized properly. + SQL (0.2ms) SET SQL_AUTO_IS_NULL=0 + SQL (0.1ms) BEGIN + + +Processing LocationsController#index to json (for 127.0.0.1 at 2010-12-25 14:38:58) [GET] + Parameters: {"api_key"=>"testapikey"} + Theme Load (29.1ms) SELECT * FROM `themes` LIMIT 1 + Network Load (0.4ms) SELECT * FROM `networks` LIMIT 1 + User Load (0.7ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + Location Load (0.5ms) SELECT * FROM `locations` WHERE (active = true) ORDER BY name desc +Completed in 278ms (View: 47, DB: 269) | 200 OK [http://www.example.com/locations.json] + SQL (48.4ms) ROLLBACK +** acts_as_taggable_on: initialized properly. + SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 + SQL (0.1ms) BEGIN + + +Processing LocationsController#index to json (for 127.0.0.1 at 2010-12-25 14:49:06) [GET] + Parameters: {"api_key"=>"testapikey"} + Theme Load (0.3ms) SELECT * FROM `themes` LIMIT 1 + Network Load (0.4ms) SELECT * FROM `networks` LIMIT 1 + User Load (0.5ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + Location Load (0.4ms) SELECT * FROM `locations` WHERE (active = true) ORDER BY name desc +Completed in 177ms (View: 25, DB: 199) | 200 OK [http://www.example.com/locations.json] + Location Load (0.3ms) SELECT * FROM `locations`  + SQL (49.4ms) ROLLBACK +** acts_as_taggable_on: initialized properly. + SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 + SQL (0.1ms) BEGIN + + +Processing LocationsController#index to json (for 127.0.0.1 at 2010-12-25 14:55:14) [GET] + Parameters: {"api_key"=>"testapikey"} + Theme Load (0.3ms) SELECT * FROM `themes` LIMIT 1 + Network Load (0.3ms) SELECT * FROM `networks` LIMIT 1 + User Load (0.5ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + Location Load (0.4ms) SELECT * FROM `locations` WHERE (active = true) ORDER BY name desc +Completed in 179ms (View: 25, DB: 200) | 200 OK [http://www.example.com/locations.json] + Location Load (0.2ms) SELECT * FROM `locations`  + SQL (49.7ms) ROLLBACK + SQL (1.3ms) SHOW TABLES + SQL (0.9ms) SHOW TABLES + SQL (0.9ms) SHOW TABLES + SQL (0.8ms) SHOW TABLES + SQL (1.0ms) SHOW TABLES + SQL (1.0ms) SHOW TABLES + SQL (1.0ms) SHOW TABLES + SQL (1.0ms) SHOW TABLES + SQL (1.0ms) SHOW TABLES + SQL (1.0ms) SHOW TABLES + SQL (1.2ms) SHOW TABLES + SQL (1.6ms) SHOW TABLES + SQL (1.6ms) SHOW TABLES + SQL (1.6ms) SHOW TABLES + SQL (1.6ms) SHOW TABLES + SQL (1.6ms) SHOW TABLES + SQL (1.6ms) SHOW TABLES + SQL (1.6ms) SHOW TABLES + SQL (1.6ms) SHOW TABLES + SQL (1.6ms) SHOW TABLES + SQL (1.6ms) SHOW TABLES + SQL (1.7ms) SHOW TABLES + SQL (1.7ms) SHOW TABLES + SQL (1.6ms) SHOW TABLES + SQL (1.8ms) SHOW TABLES + SQL (1.4ms) SHOW TABLES + SQL (0.9ms) SHOW TABLES + SQL (0.9ms) SHOW TABLES + SQL (0.9ms) SHOW TABLES + SQL (0.8ms) SHOW TABLES + SQL (0.9ms) SHOW TABLES + SQL (0.9ms) SHOW TABLES + SQL (1.1ms) SHOW TABLES + SQL (1.0ms) SHOW TABLES + SQL (1.0ms) SHOW TABLES + SQL (1.0ms) SHOW TABLES + SQL (1.0ms) SHOW TABLES + SQL (1.1ms) SHOW TABLES + SQL (1.6ms) SHOW TABLES + SQL (1.6ms) SHOW TABLES + SQL (1.8ms) SHOW TABLES + SQL (2.0ms) SHOW TABLES + SQL (1.8ms) SHOW TABLES + SQL (1.8ms) SHOW TABLES + SQL (1.7ms) SHOW TABLES + SQL (1.6ms) SHOW TABLES + SQL (1.6ms) SHOW TABLES + SQL (1.7ms) SHOW TABLES + SQL (1.6ms) SHOW TABLES + SQL (1.6ms) SHOW TABLES + SQL (1.6ms) SHOW TABLES + SQL (1.6ms) SHOW TABLES + SQL (1.7ms) SHOW TABLES + SQL (1.7ms) SHOW TABLES + SQL (1.7ms) SHOW TABLES + SQL (1.6ms) SHOW TABLES + SQL (1.6ms) SHOW TABLES + SQL (1.7ms) SHOW TABLES + SQL (1.7ms) SHOW TABLES + SQL (1.7ms) SHOW TABLES + SQL (1.6ms) SHOW TABLES + SQL (1.6ms) SHOW TABLES + SQL (1.6ms) SHOW TABLES + SQL (1.6ms) SHOW TABLES + SQL (1.7ms) SHOW TABLES + SQL (1.6ms) SHOW TABLES + SQL (1.6ms) SHOW TABLES + SQL (1.6ms) SHOW TABLES + SQL (1.7ms) SHOW TABLES + SQL (1.7ms) SHOW TABLES + SQL (1.6ms) SHOW TABLES + SQL (1.6ms) SHOW TABLES + SQL (1.6ms) SHOW TABLES + SQL (1.7ms) SHOW TABLES + SQL (1.6ms) SHOW TABLES + SQL (1.7ms) SHOW TABLES + SQL (1.6ms) SHOW TABLES + SQL (1.6ms) SHOW TABLES + SQL (1.6ms) SHOW TABLES + SQL (1.6ms) SHOW TABLES + SQL (1.7ms) SHOW TABLES + SQL (1.2ms) SHOW TABLES + SQL (0.9ms) SHOW TABLES + SQL (0.9ms) SHOW TABLES + SQL (0.9ms) SHOW TABLES + SQL (0.8ms) SHOW TABLES + SQL (0.9ms) SHOW TABLES + SQL (0.9ms) SHOW TABLES + SQL (0.8ms) SHOW TABLES + SQL (0.8ms) SHOW TABLES + SQL (0.8ms) SHOW TABLES + SQL (0.9ms) SHOW TABLES + SQL (0.9ms) SHOW TABLES + SQL (0.8ms) SHOW TABLES + SQL (0.8ms) SHOW TABLES + SQL (0.8ms) SHOW TABLES + SQL (1.2ms) SHOW TABLES + SQL (1.3ms) SHOW TABLES + SQL (1.2ms) SHOW TABLES + SQL (1.2ms) SHOW TABLES + SQL (1.3ms) SHOW TABLES + SQL (1.3ms) SHOW TABLES + SQL (1.6ms) SHOW TABLES + SQL (1.6ms) SHOW TABLES + SQL (1.6ms) SHOW TABLES + SQL (1.6ms) SHOW TABLES + SQL (1.7ms) SHOW TABLES + SQL (1.7ms) SHOW TABLES + SQL (1.7ms) SHOW TABLES + SQL (1.6ms) SHOW TABLES + SQL (1.7ms) SHOW TABLES + SQL (1.6ms) SHOW TABLES + SQL (1.7ms) SHOW TABLES + SQL (1.7ms) SHOW TABLES + SQL (1.6ms) SHOW TABLES + SQL (1.6ms) SHOW TABLES + SQL (1.6ms) SHOW TABLES + SQL (1.6ms) SHOW TABLES + SQL (1.8ms) SHOW TABLES + SQL (1.6ms) SHOW TABLES + SQL (1.7ms) SHOW TABLES + SQL (1.6ms) SHOW TABLES + SQL (1.6ms) SHOW TABLES + SQL (1.6ms) SHOW TABLES + SQL (1.7ms) SHOW TABLES + SQL (1.7ms) SHOW TABLES + SQL (1.7ms) SHOW TABLES + SQL (1.6ms) SHOW TABLES + SQL (1.6ms) SHOW TABLES + SQL (1.7ms) SHOW TABLES + SQL (1.6ms) SHOW TABLES + SQL (1.7ms) SHOW TABLES + SQL (1.6ms) SHOW TABLES + SQL (1.7ms) SHOW TABLES + SQL (1.7ms) SHOW TABLES + SQL (1.6ms) SHOW TABLES + SQL (1.7ms) SHOW TABLES + SQL (1.6ms) SHOW TABLES + SQL (1.6ms) SHOW TABLES + SQL (1.6ms) SHOW TABLES + SQL (1.6ms) SHOW TABLES + SQL (1.7ms) SHOW TABLES + SQL (1.7ms) SHOW TABLES + SQL (1.7ms) SHOW TABLES + SQL (2.7ms) SHOW TABLES + SQL (1.0ms) SHOW TABLES + SQL (0.9ms) SHOW TABLES + SQL (0.9ms) SHOW TABLES + SQL (0.9ms) SHOW TABLES + SQL (0.9ms) SHOW TABLES + SQL (0.9ms) SHOW TABLES + SQL (0.8ms) SHOW TABLES + SQL (1.0ms) SHOW TABLES + SQL (1.0ms) SHOW TABLES + SQL (1.0ms) SHOW TABLES + SQL (1.0ms) SHOW TABLES + SQL (1.0ms) SHOW TABLES + SQL (1.3ms) SHOW TABLES + SQL (1.2ms) SHOW TABLES + SQL (1.3ms) SHOW TABLES + SQL (1.2ms) SHOW TABLES + SQL (1.2ms) SHOW TABLES + SQL (1.7ms) SHOW TABLES + SQL (1.7ms) SHOW TABLES + SQL (1.6ms) SHOW TABLES + SQL (1.6ms) SHOW TABLES + SQL (1.6ms) SHOW TABLES + SQL (1.7ms) SHOW TABLES + SQL (1.6ms) SHOW TABLES + SQL (1.7ms) SHOW TABLES + SQL (1.7ms) SHOW TABLES + SQL (1.6ms) SHOW TABLES + SQL (1.6ms) SHOW TABLES + SQL (1.7ms) SHOW TABLES + SQL (2.0ms) SHOW TABLES + SQL (1.7ms) SHOW TABLES + SQL (1.7ms) SHOW TABLES + SQL (1.6ms) SHOW TABLES + SQL (1.6ms) SHOW TABLES + SQL (1.7ms) SHOW TABLES + SQL (1.6ms) SHOW TABLES + SQL (1.6ms) SHOW TABLES + SQL (1.6ms) SHOW TABLES + SQL (1.6ms) SHOW TABLES +** acts_as_taggable_on: initialized properly. + SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 + SQL (0.1ms) BEGIN + + +Processing LocationsController#index to json (for 127.0.0.1 at 2010-12-25 14:58:28) [GET] + Parameters: {"api_key"=>"testapikey"} + Theme Load (0.3ms) SELECT * FROM `themes` LIMIT 1 + Network Load (0.3ms) SELECT * FROM `networks` LIMIT 1 + User Load (0.5ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + Location Load (0.4ms) SELECT * FROM `locations` WHERE (active = true) ORDER BY name desc +Completed in 179ms (View: 25, DB: 171) | 200 OK [http://www.example.com/locations.json] + SQL (70.9ms) ROLLBACK +** acts_as_taggable_on: initialized properly. + SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 + SQL (0.1ms) BEGIN + + +Processing LocationsController#index to json (for 127.0.0.1 at 2010-12-25 14:59:09) [GET] + Parameters: {"api_key"=>"testapikey"} + Theme Load (1.7ms) SELECT * FROM `themes` LIMIT 1 + Network Load (0.3ms) SELECT * FROM `networks` LIMIT 1 + User Load (0.5ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + Location Load (0.4ms) SELECT * FROM `locations` WHERE (active = true) ORDER BY name desc +Completed in 177ms (View: 25, DB: 145) | 200 OK [http://www.example.com/locations.json] + SQL (50.5ms) ROLLBACK +** acts_as_taggable_on: initialized properly. + SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 + SQL (0.1ms) BEGIN + + +Processing LocationsController#index to json (for 127.0.0.1 at 2010-12-25 15:01:11) [GET] + Parameters: {"api_key"=>"testapikey"} + Theme Load (0.3ms) SELECT * FROM `themes` LIMIT 1 + Network Load (0.3ms) SELECT * FROM `networks` LIMIT 1 + User Load (0.5ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + Location Load (0.4ms) SELECT * FROM `locations` WHERE (active = true) ORDER BY name desc +Completed in 178ms (View: 25, DB: 140) | 200 OK [http://www.example.com/locations.json] + SQL (57.7ms) ROLLBACK +** acts_as_taggable_on: initialized properly. + SQL (0.1ms) SET SQL_AUTO_IS_NULL=0 + SQL (0.1ms) BEGIN + + +Processing LocationsController#index to json (for 127.0.0.1 at 2010-12-25 15:02:04) [GET] + Parameters: {"api_key"=>"testapikey"} + Theme Load (0.3ms) SELECT * FROM `themes` LIMIT 1 + Network Load (0.3ms) SELECT * FROM `networks` LIMIT 1 + User Load (0.5ms) SELECT * FROM `users` WHERE (`users`.`api_key` = 'testapikey') LIMIT 1 + Location Load (0.4ms) SELECT * FROM `locations` WHERE (active = true) ORDER BY name desc +Completed in 180ms (View: 25, DB: 187) | 200 OK [http://www.example.com/locations.json] + SQL (48.0ms) ROLLBACK diff --git a/test/fixtures/events.yml b/test/fixtures/events.yml index 2cbfe73..ee66374 100644 --- a/test/fixtures/events.yml +++ b/test/fixtures/events.yml @@ -32,11 +32,8 @@ one: photo_id: 1 description: Test Event 1 Desc event_type: Test Type - location: Testville, USA - street: Testers Rd. - city: TestTown + location_id: 1 website: http://www.test.com - phone: 555-555-5555 organized_by: Testers of America two: @@ -48,10 +45,7 @@ two: photo_id: 1 description: Test Event 1 Desc event_type: Test Type - location: Testville, USA - street: Testers Rd. - city: TestTown + location_id: 2 website: http://www.test.com - phone: 555-555-5555 organized_by: Testers of America diff --git a/test/fixtures/locations.yml b/test/fixtures/locations.yml new file mode 100644 index 0000000..65d351a --- /dev/null +++ b/test/fixtures/locations.yml @@ -0,0 +1,25 @@ +# Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html + +one: + id: 1 + name: Name + street: 1 Main + city: Detroit + state: Michigan + country: USA + phone: 3033333333 + active: true + created_at: 2010-12-12 08:35:38 + updated_at: 2010-12-12 08:35:38 + +two: + id: 2 + name: Name2 + street: 1 Main + city: Westminster + state: Colorado + country: MyString + phone: 3033333334 + active: true + created_at: 2010-12-12 08:35:38 + updated_at: 2010-12-12 08:35:38 diff --git a/test/functional/locations_controller_test.rb b/test/functional/locations_controller_test.rb new file mode 100644 index 0000000..d05ca7d --- /dev/null +++ b/test/functional/locations_controller_test.rb @@ -0,0 +1,8 @@ +require 'test_helper' + +class LocationsControllerTest < ActionController::TestCase + # Replace this with your real tests. + test "the truth" do + assert true + end +end diff --git a/test/integration/api/events_test.rb b/test/integration/api/events_test.rb index 2eb9886..b8272d9 100644 --- a/test/integration/api/events_test.rb +++ b/test/integration/api/events_test.rb @@ -1,4 +1,5 @@ require 'test_helper' +require 'json' # This class provides tests for the RESTful API of the Event object. @@ -35,11 +36,8 @@ def test_should_not_create_event_via_API_XML :user_id => 1, :description => 'Test API Event 1 Desc', :event_type => 'API Type', - :location => 'Testville, USA', - :street => 'Testers Rd.', - :city => 'TestTown', + :location_id => 1, :website => 'http://www.test.com', - :phone => '555-555-5555', :organized_by => 'API Testers of America'} assert_response 401 end @@ -50,6 +48,9 @@ def test_should_not_create_event_via_API_XML # /events.xml def test_should_create_event_via_API_XML get "/logout" + + + post "/events.xml", :api_key=>'testapikey', :event => {:name => 'Test API Event 1', :start_time => Time.now.to_s(:db), @@ -57,11 +58,8 @@ def test_should_create_event_via_API_XML :user_id => 1, :description => 'Test API Event 1 Desc', :event_type => 'API Type', - :location => 'Testville, USA', - :street => 'Testers Rd.', - :city => 'TestTown', + :location_id => 1, :website => 'http://www.test.com', - :phone => '555-555-5555', :organized_by => 'API Testers of America'} assert_response :created end @@ -78,7 +76,7 @@ def test_should_create_event_via_API_JSON :user_id => 1, :description => 'Test API Event 1 Desc', :event_type => 'API Type', - :location => 'Testville, USA', + :location_id => 1, :street => 'Testers Rd.', :city => 'TestTown', :website => 'http://www.test.com', @@ -119,7 +117,7 @@ def test_should_update_event_via_API_XML :user_id => 1, :description => 'Test API Event 1 Desc', :event_type => 'API Type', - :location => 'Testville, USA', + :location_id => 1, :street => 'Testers Rd.', :city => 'TestTown', :website => 'http://www.test.com', @@ -139,7 +137,7 @@ def test_should_update_event_via_API_JSON :user_id => 1, :description => 'Test API Event 1 Desc', :event_type => 'API Type', - :location => 'Testville, USA', + :location_id => 1, :street => 'Testers Rd.', :city => 'TestTown', :website => 'http://www.test.com', @@ -154,7 +152,7 @@ def check_event(event) assert event['name'] == 'Test Event 1', 'Incorrect name' assert event['description'] == 'Test Event 1 Desc', 'Incorrect description' assert event['event_type'] == 'Test Type', 'Incorrect event type' - assert event['location'] == 'Testville, USA', 'Incorrect location' + assert event['location_id'] == 1 assert event['street'] == 'Testers Rd.', 'Incorrect street' assert event['city'] == 'TestTown', 'Incorrect city' end @@ -163,7 +161,7 @@ def check_new_event(event) assert event['name'] == 'Test API Event 1', 'Incorrect name' assert event['description'] == 'Test API Event 1 Desc', 'Incorrect description' assert event['event_type'] == 'API Type', 'Incorrect event type' - assert event['location'] == 'Testville, USA', 'Incorrect location' + assert event['location_id'] == 1 assert event['street'] == 'Testers Rd.', 'Incorrect street' assert event['city'] == 'TestTown', 'Incorrect city' end diff --git a/test/integration/api/locations_test.rb b/test/integration/api/locations_test.rb new file mode 100644 index 0000000..1b90ba5 --- /dev/null +++ b/test/integration/api/locations_test.rb @@ -0,0 +1,28 @@ +require 'test_helper' +require 'json' + + +# This class provides tests for the RESTful API of the Locat object. +class LocationsTest < ActionController::IntegrationTest + + # GET ALL LOCATIONS + # /locations.json + test "get all locations" do + get "/locations.json", :api_key=>'testapikey' + assert_response :success + locations = JSON.parse(response.body) + assert_equal 2, locations.size + check_location(locations[1]) + end + + def check_location(loc) + assert_equal "Name", loc['name'] + assert_equal "1 Main", loc['street'] + assert_equal "Detroit", loc['city'] + assert_equal "Michigan", loc['state'] + assert_equal "USA", loc['country'] + assert_equal "3033333333", loc['phone'] + end + +end + diff --git a/test/unit/event_test.rb b/test/unit/event_test.rb index 7ae8d2d..96fd830 100644 --- a/test/unit/event_test.rb +++ b/test/unit/event_test.rb @@ -36,11 +36,8 @@ def test_log_activity_after_create :event_type => 'Test', :start_time => Time.now, :end_time => Time.now, - :location => 'Michigan, USA', - :street => 'Richmond', - :city => 'Southgate', + :location_id => 1, :website => 'www.myevent.com', - :phone => '555-1212', :organized_by => 'Joe Tester' }) assert event, 'Failed to create book review' @@ -55,4 +52,4 @@ def test_log_activity_after_create -end +end \ No newline at end of file diff --git a/test/unit/helpers/locations_helper_test.rb b/test/unit/helpers/locations_helper_test.rb new file mode 100644 index 0000000..7c96029 --- /dev/null +++ b/test/unit/helpers/locations_helper_test.rb @@ -0,0 +1,4 @@ +require 'test_helper' + +class LocationsHelperTest < ActionView::TestCase +end diff --git a/test/unit/location_test.rb b/test/unit/location_test.rb new file mode 100644 index 0000000..2511bcd --- /dev/null +++ b/test/unit/location_test.rb @@ -0,0 +1,8 @@ +require 'test_helper' + +class LocationTest < ActiveSupport::TestCase + # Replace this with your real tests. + test "the truth" do + assert true + end +end