nested_form 0.3.1 → 0.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/CHANGELOG.rdoc +15 -0
- data/Gemfile +2 -9
- data/README.md +28 -1
- data/lib/nested_form/builder_mixin.rb +4 -1
- data/lib/nested_form/view_helper.rb +12 -4
- data/spec/dummy/app/assets/javascripts/jquery_nested_form.js +14 -6
- data/spec/dummy/app/assets/javascripts/prototype_nested_form.js +8 -2
- data/spec/dummy/app/assets/stylesheets/companies.css +4 -0
- data/spec/dummy/app/controllers/companies_controller.rb +5 -0
- data/spec/dummy/app/models/company.rb +6 -0
- data/spec/dummy/app/views/companies/new.html.erb +16 -0
- data/spec/dummy/config/routes.rb +1 -0
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/migrate/20130203095901_create_company.rb +14 -0
- data/spec/dummy/db/schema.rb +7 -2
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/development.log +18 -0
- data/spec/dummy/log/test.log +125 -327
- data/spec/dummy/tmp/cache/assets/C99/4D0/sprockets%2F5e30a6b911437f1428dc32c3ae182123 +0 -0
- data/spec/dummy/tmp/cache/assets/C99/7D0/sprockets%2F79513e6956e0ee8624976e041fd5636d +0 -0
- data/spec/dummy/tmp/cache/assets/CAA/C90/sprockets%2F1e6c8ee1258009385ccf5b84015424b3 +0 -0
- data/spec/dummy/tmp/cache/assets/CB2/CB0/sprockets%2F11cc8d161d71a716dd36f16849d90870 +0 -0
- data/spec/dummy/tmp/cache/assets/CB7/7F0/sprockets%2Fac97b043470f6fcc925c352f16956643 +0 -0
- data/spec/dummy/tmp/cache/assets/CDB/8A0/sprockets%2Faed2a2575c376263c26e93b56b57051d +0 -0
- data/spec/dummy/tmp/cache/assets/D1F/A10/sprockets%2F60317e62cb324bfd9987e8da9636fd06 +0 -0
- data/spec/dummy/tmp/cache/assets/D49/870/sprockets%2F90896142645585acc8baf56ad57e3afb +0 -0
- data/spec/dummy/tmp/cache/assets/D62/F00/sprockets%2F6ac03a007f26b1c18ed3d53498ad3eb8 +0 -0
- data/spec/dummy/tmp/cache/assets/D79/BC0/sprockets%2F85a1db977361cc5130fcefb4637ff67e +0 -0
- data/spec/dummy/tmp/cache/assets/D87/1F0/sprockets%2F61c9ceafb877fb740c67416ff6f782a9 +0 -0
- data/spec/dummy/tmp/cache/assets/DAD/4F0/sprockets%2F765acd1bf68dc90f7d3e61da78b1e659 +0 -0
- data/spec/dummy/tmp/cache/assets/E03/3F0/sprockets%2F82b37ae9eccec44c1ef44cfdd07d8534 +0 -0
- data/spec/dummy/tmp/cache/assets/E0A/CA0/sprockets%2F7fe72ac1c0db1a7e8e7f59cf25e8a39e +0 -0
- data/spec/dummy/tmp/cache/assets/E3A/A60/sprockets%2F7c72c96cfc66454caf5fc8ca0fedd4f3 +0 -0
- data/spec/dummy/tmp/cache/assets/E54/400/sprockets%2Fd0cbc16cc37efcf9dc41f242b5dbbf81 +0 -0
- data/spec/dummy/tmp/cache/assets/EB7/AB0/sprockets%2F801d29a5debdbfbfb4eef14d70d9bcdb +0 -0
- data/spec/dummy/tmp/cache/assets/F48/5E0/sprockets%2F26cd6ffcffbebbe2fd6cd1a8f0c2debc +0 -0
- data/spec/form_spec.rb +16 -0
- data/spec/nested_form/builder_spec.rb +12 -0
- data/spec/nested_form/view_helper_spec.rb +13 -2
- data/vendor/assets/javascripts/jquery_nested_form.js +14 -6
- data/vendor/assets/javascripts/prototype_nested_form.js +8 -2
- metadata +93 -70
    
        data/CHANGELOG.rdoc
    CHANGED
    
    | @@ -1,3 +1,18 @@ | |
| 1 | 
            +
            0.3.2 (April 5, 2013)
         | 
| 2 | 
            +
             | 
| 3 | 
            +
            * Render blueprints inside form (thanks taavo)
         | 
| 4 | 
            +
             | 
| 5 | 
            +
            * Make generated ids easily overridable in jQuery version (thanks ghostganz)
         | 
| 6 | 
            +
             | 
| 7 | 
            +
            * Support `nested_wrapper` option as an alternative to `wrapper` option in
         | 
| 8 | 
            +
            order to maintain compatibility with `simple_fields_for` helper (#219)
         | 
| 9 | 
            +
             | 
| 10 | 
            +
            * Allow DOM target to be specified when adding new nested form elements
         | 
| 11 | 
            +
            (thanks mhuggins)
         | 
| 12 | 
            +
             | 
| 13 | 
            +
            * Fix "has_one => has_many => has_many" name generation (thanks kevinrood and
         | 
| 14 | 
            +
            basvanwesting)
         | 
| 15 | 
            +
             | 
| 1 16 | 
             
            0.3.1 (November 5, 2012)
         | 
| 2 17 |  | 
| 3 18 | 
             
            * Raise ArgumentError when accepts_nested_attributes_for is missing
         | 
    
        data/Gemfile
    CHANGED
    
    | @@ -1,12 +1,5 @@ | |
| 1 | 
            -
             | 
| 1 | 
            +
            gemspec :path => '.'
         | 
| 2 2 |  | 
| 3 | 
            -
             | 
| 3 | 
            +
            instance_eval File.read(File.expand_path('../gemfiles/Gemfile.base', __FILE__))
         | 
| 4 4 |  | 
| 5 | 
            -
            gem 'activerecord-jdbcsqlite3-adapter', :platforms => :jruby
         | 
| 6 | 
            -
            gem 'sqlite3', :platforms => :ruby
         | 
| 7 | 
            -
            gem 'simple_form'
         | 
| 8 | 
            -
            gem 'formtastic'
         | 
| 9 | 
            -
            gem 'formtastic-bootstrap'
         | 
| 10 | 
            -
            gem 'rake'
         | 
| 11 | 
            -
            gem 'capybara'
         | 
| 12 5 | 
             
            gem 'rails', '~> 3.2.0'
         | 
    
        data/README.md
    CHANGED
    
    | @@ -79,6 +79,33 @@ It is often desirable to move the nested fields into a partial to keep things or | |
| 79 79 | 
             
            In this case it will look for a partial called "task_fields" and pass the form builder as an `f` variable to it.
         | 
| 80 80 |  | 
| 81 81 |  | 
| 82 | 
            +
            ## Specifying a Target for Nested Fields
         | 
| 83 | 
            +
             | 
| 84 | 
            +
            By default, `link_to_add` appends fields immediately before the link when
         | 
| 85 | 
            +
            clicked.  This is not desirable when using a list or table, for example.  In
         | 
| 86 | 
            +
            these situations, the "data-target" attribute can be used to specify where new
         | 
| 87 | 
            +
            fields should be inserted.
         | 
| 88 | 
            +
             | 
| 89 | 
            +
            ```erb
         | 
| 90 | 
            +
            <table id="tasks">
         | 
| 91 | 
            +
              <%= f.fields_for :tasks, :wrapper => false do |task_form| %>
         | 
| 92 | 
            +
                <tr class="fields">
         | 
| 93 | 
            +
                  <td><%= task_form.text_field :name %></td>
         | 
| 94 | 
            +
                  <td><%= task_form.link_to_remove "Remove this task" %></td>
         | 
| 95 | 
            +
                </tr>
         | 
| 96 | 
            +
              <% end %>
         | 
| 97 | 
            +
            </table>
         | 
| 98 | 
            +
            <p><%= f.link_to_add "Add a task", :tasks, :data => { :target => "#tasks" } %></p>
         | 
| 99 | 
            +
            ```
         | 
| 100 | 
            +
             | 
| 101 | 
            +
            Note that the `:data` option above only works in Rails 3.1+.  For Rails 3.0 and
         | 
| 102 | 
            +
            below, the following syntax must be used.
         | 
| 103 | 
            +
             | 
| 104 | 
            +
            ```erb
         | 
| 105 | 
            +
            <p><%= f.link_to_add "Add a task", :tasks, "data-target" => "#tasks" %></p>
         | 
| 106 | 
            +
            ```
         | 
| 107 | 
            +
             | 
| 108 | 
            +
             | 
| 82 109 | 
             
            ## JavaScript events
         | 
| 83 110 |  | 
| 84 111 | 
             
            Sometimes you want to do some additional work after element was added or removed, but only
         | 
| @@ -142,7 +169,7 @@ window.nestedFormEvents.insertFields = function(content, assoc, link) { | |
| 142 169 |  | 
| 143 170 | 
             
            ## Contributing
         | 
| 144 171 |  | 
| 145 | 
            -
            If you have any issues with Nested Form not addressed above or in the [example project]( | 
| 172 | 
            +
            If you have any issues with Nested Form not addressed above or in the [example project](https://github.com/ryanb/complex-form-examples/tree/nested_form), please add an [issue on GitHub](https://github.com/ryanb/nested_form/issues) or [fork the project](https://help.github.com/articles/fork-a-repo) and send a [pull request](https://help.github.com/articles/using-pull-requests). To run the specs:
         | 
| 146 173 |  | 
| 147 174 | 
             
            ```
         | 
| 148 175 | 
             
            bundle install
         | 
| @@ -91,7 +91,10 @@ module NestedForm | |
| 91 91 | 
             
                  classes = 'fields'
         | 
| 92 92 | 
             
                  classes << ' marked_for_destruction' if object.respond_to?(:marked_for_destruction?) && object.marked_for_destruction?
         | 
| 93 93 |  | 
| 94 | 
            -
                   | 
| 94 | 
            +
                  perform_wrap   = options.fetch(:nested_wrapper, true)
         | 
| 95 | 
            +
                  perform_wrap &&= options[:wrapper] != false # wrap even if nil
         | 
| 96 | 
            +
             | 
| 97 | 
            +
                  if perform_wrap
         | 
| 95 98 | 
             
                    @template.content_tag(:div, super, :class => classes)
         | 
| 96 99 | 
             
                  else
         | 
| 97 100 | 
             
                    super
         | 
| @@ -4,27 +4,35 @@ module NestedForm | |
| 4 4 | 
             
              module ViewHelper
         | 
| 5 5 | 
             
                def nested_form_for(*args, &block)
         | 
| 6 6 | 
             
                  options = args.extract_options!.reverse_merge(:builder => NestedForm::Builder)
         | 
| 7 | 
            -
                  form_for(*(args << options) | 
| 7 | 
            +
                  form_for(*(args << options)) do |f|
         | 
| 8 | 
            +
                    capture(f, &block).to_s << after_nested_form_callbacks
         | 
| 9 | 
            +
                  end
         | 
| 8 10 | 
             
                end
         | 
| 9 11 |  | 
| 10 12 | 
             
                if defined?(NestedForm::SimpleBuilder)
         | 
| 11 13 | 
             
                  def simple_nested_form_for(*args, &block)
         | 
| 12 14 | 
             
                    options = args.extract_options!.reverse_merge(:builder => NestedForm::SimpleBuilder)
         | 
| 13 | 
            -
                    simple_form_for(*(args << options) | 
| 15 | 
            +
                    simple_form_for(*(args << options)) do |f|
         | 
| 16 | 
            +
                      capture(f, &block).to_s << after_nested_form_callbacks
         | 
| 17 | 
            +
                    end
         | 
| 14 18 | 
             
                  end
         | 
| 15 19 | 
             
                end
         | 
| 16 20 |  | 
| 17 21 | 
             
                if defined?(NestedForm::FormtasticBuilder)
         | 
| 18 22 | 
             
                  def semantic_nested_form_for(*args, &block)
         | 
| 19 23 | 
             
                    options = args.extract_options!.reverse_merge(:builder => NestedForm::FormtasticBuilder)
         | 
| 20 | 
            -
                    semantic_form_for(*(args << options) | 
| 24 | 
            +
                    semantic_form_for(*(args << options)) do |f|
         | 
| 25 | 
            +
                      capture(f, &block).to_s << after_nested_form_callbacks
         | 
| 26 | 
            +
                    end
         | 
| 21 27 | 
             
                  end
         | 
| 22 28 | 
             
                end
         | 
| 23 29 |  | 
| 24 30 | 
             
                if defined?(NestedForm::FormtasticBootstrapBuilder)
         | 
| 25 31 | 
             
                  def semantic_bootstrap_nested_form_for(*args, &block)
         | 
| 26 32 | 
             
                    options = args.extract_options!.reverse_merge(:builder => NestedForm::FormtasticBootstrapBuilder)
         | 
| 27 | 
            -
                    semantic_form_for(*(args << options) | 
| 33 | 
            +
                    semantic_form_for(*(args << options)) do |f|
         | 
| 34 | 
            +
                      capture(f, &block).to_s << after_nested_form_callbacks
         | 
| 35 | 
            +
                    end
         | 
| 28 36 | 
             
                  end
         | 
| 29 37 | 
             
                end
         | 
| 30 38 |  | 
| @@ -1,4 +1,4 @@ | |
| 1 | 
            -
             | 
| 1 | 
            +
            (function($) {
         | 
| 2 2 | 
             
              window.NestedFormEvents = function() {
         | 
| 3 3 | 
             
                this.addFields = $.proxy(this.addFields, this);
         | 
| 4 4 | 
             
                this.removeFields = $.proxy(this.removeFields, this);
         | 
| @@ -21,7 +21,7 @@ jQuery(function($) { | |
| 21 21 | 
             
                  // or for an edit form:
         | 
| 22 22 | 
             
                  // project[tasks_attributes][0][assignments_attributes][1]
         | 
| 23 23 | 
             
                  if (context) {
         | 
| 24 | 
            -
                    var parentNames = context.match(/[a-z_]+_attributes/g) || [];
         | 
| 24 | 
            +
                    var parentNames = context.match(/[a-z_]+_attributes(?=\]\[(new_)?\d+\])/g) || [];
         | 
| 25 25 | 
             
                    var parentIds   = context.match(/[0-9]+/g) || [];
         | 
| 26 26 |  | 
| 27 27 | 
             
                    for(var i = 0; i < parentNames.length; i++) {
         | 
| @@ -39,8 +39,8 @@ jQuery(function($) { | |
| 39 39 |  | 
| 40 40 | 
             
                  // Make a unique ID for the new child
         | 
| 41 41 | 
             
                  var regexp  = new RegExp('new_' + assoc, 'g');
         | 
| 42 | 
            -
                  var new_id  =  | 
| 43 | 
            -
                  content     = content.replace(regexp, new_id);
         | 
| 42 | 
            +
                  var new_id  = this.newId();
         | 
| 43 | 
            +
                  content     = $.trim(content.replace(regexp, new_id));
         | 
| 44 44 |  | 
| 45 45 | 
             
                  var field = this.insertFields(content, assoc, link);
         | 
| 46 46 | 
             
                  // bubble up event upto document (through form)
         | 
| @@ -49,8 +49,16 @@ jQuery(function($) { | |
| 49 49 | 
             
                    .trigger({ type: 'nested:fieldAdded:' + assoc, field: field });
         | 
| 50 50 | 
             
                  return false;
         | 
| 51 51 | 
             
                },
         | 
| 52 | 
            +
                newId: function() {
         | 
| 53 | 
            +
                  return new Date().getTime();
         | 
| 54 | 
            +
                },
         | 
| 52 55 | 
             
                insertFields: function(content, assoc, link) {
         | 
| 53 | 
            -
                   | 
| 56 | 
            +
                  var target = $(link).data('target');
         | 
| 57 | 
            +
                  if (target) {
         | 
| 58 | 
            +
                    return $(content).appendTo($(target));
         | 
| 59 | 
            +
                  } else {
         | 
| 60 | 
            +
                    return $(content).insertBefore(link);
         | 
| 61 | 
            +
                  }
         | 
| 54 62 | 
             
                },
         | 
| 55 63 | 
             
                removeFields: function(e) {
         | 
| 56 64 | 
             
                  var $link = $(e.currentTarget),
         | 
| @@ -73,7 +81,7 @@ jQuery(function($) { | |
| 73 81 | 
             
              $(document)
         | 
| 74 82 | 
             
                .delegate('form a.add_nested_fields',    'click', nestedFormEvents.addFields)
         | 
| 75 83 | 
             
                .delegate('form a.remove_nested_fields', 'click', nestedFormEvents.removeFields);
         | 
| 76 | 
            -
            });
         | 
| 84 | 
            +
            })(jQuery);
         | 
| 77 85 |  | 
| 78 86 | 
             
            // http://plugins.jquery.com/project/closestChild
         | 
| 79 87 | 
             
            /*
         | 
| @@ -2,6 +2,7 @@ document.observe('click', function(e, el) { | |
| 2 2 | 
             
              if (el = e.findElement('form a.add_nested_fields')) {
         | 
| 3 3 | 
             
                // Setup
         | 
| 4 4 | 
             
                var assoc     = el.readAttribute('data-association');      // Name of child
         | 
| 5 | 
            +
                var target    = el.readAttribute('data-target');
         | 
| 5 6 | 
             
                var blueprint = $(el.readAttribute('data-blueprint-id'));
         | 
| 6 7 | 
             
                var content   = blueprint.readAttribute('data-blueprint'); // Fields template
         | 
| 7 8 |  | 
| @@ -14,7 +15,7 @@ document.observe('click', function(e, el) { | |
| 14 15 | 
             
                // or for an edit form:
         | 
| 15 16 | 
             
                // project[tasks_attributes][0][assignments_attributes][1]
         | 
| 16 17 | 
             
                if(context) {
         | 
| 17 | 
            -
                  var parent_names = context.match(/[a-z_]+_attributes/g) || [];
         | 
| 18 | 
            +
                  var parent_names = context.match(/[a-z_]+_attributes(?=\]\[(new_)?\d+\])/g) || [];
         | 
| 18 19 | 
             
                  var parent_ids   = context.match(/[0-9]+/g) || [];
         | 
| 19 20 |  | 
| 20 21 | 
             
                  for(i = 0; i < parent_names.length; i++) {
         | 
| @@ -35,7 +36,12 @@ document.observe('click', function(e, el) { | |
| 35 36 | 
             
                var new_id  = new Date().getTime();
         | 
| 36 37 | 
             
                content     = content.replace(regexp, new_id);
         | 
| 37 38 |  | 
| 38 | 
            -
                var field | 
| 39 | 
            +
                var field;
         | 
| 40 | 
            +
                if (target) {
         | 
| 41 | 
            +
                  field = $$(target)[0].insert(content);
         | 
| 42 | 
            +
                } else {
         | 
| 43 | 
            +
                  field = el.insert({ before: content });
         | 
| 44 | 
            +
                }
         | 
| 39 45 | 
             
                field.fire('nested:fieldAdded', {field: field});
         | 
| 40 46 | 
             
                field.fire('nested:fieldAdded:' + assoc, {field: field});
         | 
| 41 47 | 
             
                return false;
         | 
| @@ -0,0 +1,16 @@ | |
| 1 | 
            +
            <%= nested_form_for @company do |f| -%>
         | 
| 2 | 
            +
              <%= f.text_field :name %>
         | 
| 3 | 
            +
              <%= f.fields_for :project do |pf| -%>
         | 
| 4 | 
            +
                <%= pf.text_field :name %>
         | 
| 5 | 
            +
                <%= pf.fields_for :tasks do |tf| -%>
         | 
| 6 | 
            +
                  <%= tf.text_field :name %>
         | 
| 7 | 
            +
                  <%= tf.fields_for :milestones do |mf| %>
         | 
| 8 | 
            +
                    <%= mf.text_field :name %>
         | 
| 9 | 
            +
                    <%= mf.link_to_remove 'Remove milestone' %>
         | 
| 10 | 
            +
                  <% end %>
         | 
| 11 | 
            +
                  <%= tf.link_to_add 'Add new milestone', :milestones %>
         | 
| 12 | 
            +
                  <%= tf.link_to_remove 'Remove' %>
         | 
| 13 | 
            +
                <% end -%>
         | 
| 14 | 
            +
                <%= pf.link_to_add 'Add new task', :tasks %>
         | 
| 15 | 
            +
              <% end -%>
         | 
| 16 | 
            +
            <% end -%>
         | 
    
        data/spec/dummy/config/routes.rb
    CHANGED
    
    
| Binary file | 
| @@ -0,0 +1,14 @@ | |
| 1 | 
            +
            class CreateCompany < ActiveRecord::Migration
         | 
| 2 | 
            +
              def self.up
         | 
| 3 | 
            +
                create_table :companies do |t|
         | 
| 4 | 
            +
                  t.string :name
         | 
| 5 | 
            +
                end
         | 
| 6 | 
            +
             | 
| 7 | 
            +
                add_column :projects, :company_id, :integer
         | 
| 8 | 
            +
              end
         | 
| 9 | 
            +
             | 
| 10 | 
            +
              def self.down
         | 
| 11 | 
            +
                remove_column :projects, :company_id
         | 
| 12 | 
            +
                drop_table :companies
         | 
| 13 | 
            +
              end
         | 
| 14 | 
            +
            end
         | 
    
        data/spec/dummy/db/schema.rb
    CHANGED
    
    | @@ -11,7 +11,11 @@ | |
| 11 11 | 
             
            #
         | 
| 12 12 | 
             
            # It's strongly recommended to check this file into your version control system.
         | 
| 13 13 |  | 
| 14 | 
            -
            ActiveRecord::Schema.define(:version =>  | 
| 14 | 
            +
            ActiveRecord::Schema.define(:version => 20130203095901) do
         | 
| 15 | 
            +
             | 
| 16 | 
            +
              create_table "companies", :force => true do |t|
         | 
| 17 | 
            +
                t.string "name"
         | 
| 18 | 
            +
              end
         | 
| 15 19 |  | 
| 16 20 | 
             
              create_table "milestones", :force => true do |t|
         | 
| 17 21 | 
             
                t.integer "task_id"
         | 
| @@ -24,7 +28,8 @@ ActiveRecord::Schema.define(:version => 20120819164528) do | |
| 24 28 | 
             
              end
         | 
| 25 29 |  | 
| 26 30 | 
             
              create_table "projects", :force => true do |t|
         | 
| 27 | 
            -
                t.string | 
| 31 | 
            +
                t.string  "name"
         | 
| 32 | 
            +
                t.integer "company_id"
         | 
| 28 33 | 
             
              end
         | 
| 29 34 |  | 
| 30 35 | 
             
              create_table "tasks", :force => true do |t|
         | 
    
        data/spec/dummy/db/test.sqlite3
    CHANGED
    
    | Binary file | 
| @@ -0,0 +1,18 @@ | |
| 1 | 
            +
            Connecting to database specified by database.yml
         | 
| 2 | 
            +
              [1m[36m (0.0ms)[0m  [1mselect sqlite_version(*)[0m
         | 
| 3 | 
            +
              [1m[35m (88.9ms)[0m  CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
         | 
| 4 | 
            +
              [1m[36m (59.7ms)[0m  [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
         | 
| 5 | 
            +
              [1m[35m (1.6ms)[0m  SELECT "schema_migrations"."version" FROM "schema_migrations" 
         | 
| 6 | 
            +
            Migrating to InitialTables (20110710143903)
         | 
| 7 | 
            +
              [1m[36m (0.0ms)[0m  [1mbegin transaction[0m
         | 
| 8 | 
            +
              [1m[35m (0.4ms)[0m  CREATE TABLE "projects" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255)) 
         | 
| 9 | 
            +
              [1m[36m (0.2ms)[0m  [1mCREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "project_id" integer, "name" varchar(255)) [0m
         | 
| 10 | 
            +
              [1m[35m (0.2ms)[0m  CREATE TABLE "milestones" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "task_id" integer, "name" varchar(255)) 
         | 
| 11 | 
            +
              [1m[36m (0.1ms)[0m  [1mINSERT INTO "schema_migrations" ("version") VALUES ('20110710143903')[0m
         | 
| 12 | 
            +
              [1m[35m (92.0ms)[0m  commit transaction
         | 
| 13 | 
            +
            Migrating to AddAssociationWithClassName (20120819164528)
         | 
| 14 | 
            +
              [1m[36m (0.1ms)[0m  [1mbegin transaction[0m
         | 
| 15 | 
            +
              [1m[35m (0.3ms)[0m  CREATE TABLE "project_tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "project_id" integer, "name" varchar(255)) 
         | 
| 16 | 
            +
              [1m[36m (0.1ms)[0m  [1mINSERT INTO "schema_migrations" ("version") VALUES ('20120819164528')[0m
         | 
| 17 | 
            +
              [1m[35m (90.4ms)[0m  commit transaction
         | 
| 18 | 
            +
              [1m[36m (0.1ms)[0m  [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
         | 
    
        data/spec/dummy/log/test.log
    CHANGED
    
    | @@ -1,373 +1,171 @@ | |
| 1 1 | 
             
            Connecting to database specified by database.yml
         | 
| 2 | 
            -
             | 
| 3 | 
            -
              [1m[ | 
| 4 | 
            -
              [1m[ | 
| 5 | 
            -
              [1m[ | 
| 6 | 
            -
              [1m[35m (1.0ms)[0m  CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
         | 
| 7 | 
            -
              [1m[36m (0.1ms)[0m  [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
         | 
| 2 | 
            +
              [1m[36m (0.0ms)[0m  [1mselect sqlite_version(*)[0m
         | 
| 3 | 
            +
              [1m[35m (143.3ms)[0m  CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
         | 
| 4 | 
            +
              [1m[36m (59.9ms)[0m  [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
         | 
| 5 | 
            +
              [1m[35m (1.6ms)[0m  SELECT "schema_migrations"."version" FROM "schema_migrations" 
         | 
| 8 6 | 
             
            Migrating to InitialTables (20110710143903)
         | 
| 9 | 
            -
              [1m[ | 
| 10 | 
            -
              [1m[ | 
| 11 | 
            -
              [1m[ | 
| 12 | 
            -
              [1m[ | 
| 13 | 
            -
              [1m[ | 
| 14 | 
            -
              [1m[ | 
| 7 | 
            +
              [1m[36m (0.0ms)[0m  [1mbegin transaction[0m
         | 
| 8 | 
            +
              [1m[35m (0.4ms)[0m  CREATE TABLE "projects" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255)) 
         | 
| 9 | 
            +
              [1m[36m (0.2ms)[0m  [1mCREATE TABLE "tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "project_id" integer, "name" varchar(255)) [0m
         | 
| 10 | 
            +
              [1m[35m (0.2ms)[0m  CREATE TABLE "milestones" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "task_id" integer, "name" varchar(255)) 
         | 
| 11 | 
            +
              [1m[36m (0.1ms)[0m  [1mINSERT INTO "schema_migrations" ("version") VALUES ('20110710143903')[0m
         | 
| 12 | 
            +
              [1m[35m (75.3ms)[0m  commit transaction
         | 
| 15 13 | 
             
            Migrating to AddAssociationWithClassName (20120819164528)
         | 
| 16 | 
            -
              [1m[ | 
| 17 | 
            -
              [1m[ | 
| 18 | 
            -
              [1m[ | 
| 19 | 
            -
              [1m[ | 
| 20 | 
            -
              [1m[35m (0.3ms)[0m  select sqlite_version(*)
         | 
| 14 | 
            +
              [1m[36m (0.1ms)[0m  [1mbegin transaction[0m
         | 
| 15 | 
            +
              [1m[35m (0.3ms)[0m  CREATE TABLE "project_tasks" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "project_id" integer, "name" varchar(255)) 
         | 
| 16 | 
            +
              [1m[36m (0.1ms)[0m  [1mINSERT INTO "schema_migrations" ("version") VALUES ('20120819164528')[0m
         | 
| 17 | 
            +
              [1m[35m (80.5ms)[0m  commit transaction
         | 
| 21 18 | 
             
              [1m[36m (0.1ms)[0m  [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
         | 
| 22 | 
            -
              [1m[35m (0.0ms)[0m  PRAGMA index_list("milestones")
         | 
| 23 | 
            -
              [1m[36m (0.0ms)[0m  [1mPRAGMA index_list("project_tasks")[0m
         | 
| 24 | 
            -
              [1m[35m (0.0ms)[0m  PRAGMA index_list("projects")
         | 
| 25 | 
            -
              [1m[36m (0.0ms)[0m  [1mPRAGMA index_list("tasks")[0m
         | 
| 26 | 
            -
            Connecting to database specified by database.yml
         | 
| 27 | 
            -
            Connecting to database specified by database.yml
         | 
| 28 | 
            -
            Connecting to database specified by database.yml
         | 
| 29 | 
            -
            Connecting to database specified by database.yml
         | 
| 30 19 | 
             
            Connecting to database specified by database.yml
         | 
| 31 | 
            -
             | 
| 32 | 
            -
             | 
| 33 | 
            -
             | 
| 34 | 
            -
             | 
| 35 | 
            -
             | 
| 36 | 
            -
             | 
| 37 | 
            -
             | 
| 38 | 
            -
             | 
| 39 | 
            -
             | 
| 40 | 
            -
             | 
| 41 | 
            -
             | 
| 42 | 
            -
             | 
| 43 | 
            -
             | 
| 44 | 
            -
             | 
| 45 | 
            -
            Started GET "/assets/jquery_nested_form.js" for 127.0.0.1 at 2012-10-28 17:13:36 +0300
         | 
| 46 | 
            -
            Compiled jquery_nested_form.js  (0ms)  (pid 9308)
         | 
| 47 | 
            -
            Served asset /jquery_nested_form.js - 200 OK (9ms)
         | 
| 48 | 
            -
             | 
| 49 | 
            -
             | 
| 50 | 
            -
            Started GET "/assets/jquery_events_test.js" for 127.0.0.1 at 2012-10-28 17:13:36 +0300
         | 
| 51 | 
            -
            Compiled jquery_events_test.js  (0ms)  (pid 9308)
         | 
| 52 | 
            -
            Served asset /jquery_events_test.js - 200 OK (40ms)
         | 
| 53 | 
            -
             | 
| 54 | 
            -
             | 
| 55 | 
            -
            Started GET "/projects/new" for 127.0.0.1 at 2012-10-28 17:13:37 +0300
         | 
| 56 | 
            -
            Processing by ProjectsController#new as HTML
         | 
| 57 | 
            -
              Rendered projects/new.html.erb within layouts/application (4.3ms)
         | 
| 58 | 
            -
            Completed 200 OK in 7ms (Views: 6.8ms | ActiveRecord: 0.0ms)
         | 
| 59 | 
            -
             | 
| 60 | 
            -
             | 
| 61 | 
            -
            Started GET "/projects/new" for 127.0.0.1 at 2012-10-28 17:13:39 +0300
         | 
| 20 | 
            +
            Started GET "/projects/new" for 127.0.0.1 at 2013-01-04 12:23:04 +0300
         | 
| 21 | 
            +
            Processing by ProjectsController#new as HTML
         | 
| 22 | 
            +
              Rendered projects/new.html.erb within layouts/application (26.4ms)
         | 
| 23 | 
            +
            Completed 200 OK in 41ms (Views: 37.7ms | ActiveRecord: 0.6ms)
         | 
| 24 | 
            +
            Started GET "/assets/jquery.js" for 127.0.0.1 at 2013-01-04 12:23:04 +0300
         | 
| 25 | 
            +
            Compiled jquery.js  (28ms)  (pid 9005)
         | 
| 26 | 
            +
            Served asset /jquery.js - 200 OK (40ms)
         | 
| 27 | 
            +
            Started GET "/assets/jquery_events_test.js" for 127.0.0.1 at 2013-01-04 12:23:04 +0300
         | 
| 28 | 
            +
            Compiled jquery_events_test.js  (0ms)  (pid 9005)
         | 
| 29 | 
            +
            Served asset /jquery_events_test.js - 200 OK (6ms)
         | 
| 30 | 
            +
            Started GET "/assets/jquery_nested_form.js" for 127.0.0.1 at 2013-01-04 12:23:04 +0300
         | 
| 31 | 
            +
            Compiled jquery_nested_form.js  (0ms)  (pid 9005)
         | 
| 32 | 
            +
            Served asset /jquery_nested_form.js - 200 OK (6ms)
         | 
| 33 | 
            +
            Started GET "/projects/new" for 127.0.0.1 at 2013-01-04 12:23:04 +0300
         | 
| 62 34 | 
             
            Processing by ProjectsController#new as HTML
         | 
| 63 | 
            -
              Rendered projects/new.html.erb within layouts/application (4.3ms)
         | 
| 64 | 
            -
            Completed 200 OK in 7ms (Views: 6.7ms | ActiveRecord: 0.0ms)
         | 
| 65 | 
            -
             | 
| 66 | 
            -
             | 
| 67 | 
            -
            Started GET "/projects/new" for 127.0.0.1 at 2012-10-28 17:13:39 +0300
         | 
| 68 | 
            -
            Processing by ProjectsController#new as HTML
         | 
| 69 | 
            -
              Rendered projects/new.html.erb within layouts/application (2.1ms)
         | 
| 70 | 
            -
            Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.0ms)
         | 
| 71 | 
            -
             | 
| 72 | 
            -
             | 
| 73 | 
            -
            Started GET "/projects/new?type=prototype" for 127.0.0.1 at 2012-10-28 17:13:42 +0300
         | 
| 74 | 
            -
            Processing by ProjectsController#new as HTML
         | 
| 75 | 
            -
              Parameters: {"type"=>"prototype"}
         | 
| 76 | 
            -
              Rendered projects/new.html.erb within layouts/application (4.1ms)
         | 
| 77 | 
            -
            Completed 200 OK in 7ms (Views: 6.2ms | ActiveRecord: 0.0ms)
         | 
| 78 | 
            -
             | 
| 79 | 
            -
             | 
| 80 | 
            -
            Started GET "/assets/prototype.js" for 127.0.0.1 at 2012-10-28 17:13:42 +0300
         | 
| 81 | 
            -
            Compiled prototype.js  (1ms)  (pid 9308)
         | 
| 82 | 
            -
            Served asset /prototype.js - 200 OK (14ms)
         | 
| 83 | 
            -
             | 
| 84 | 
            -
             | 
| 85 | 
            -
            Started GET "/assets/prototype_nested_form.js" for 127.0.0.1 at 2012-10-28 17:13:42 +0300
         | 
| 86 | 
            -
            Compiled prototype_nested_form.js  (0ms)  (pid 9308)
         | 
| 87 | 
            -
            Served asset /prototype_nested_form.js - 200 OK (12ms)
         | 
| 88 | 
            -
             | 
| 89 | 
            -
             | 
| 90 | 
            -
            Started GET "/assets/prototype_events_test.js" for 127.0.0.1 at 2012-10-28 17:13:42 +0300
         | 
| 91 | 
            -
            Compiled prototype_events_test.js  (0ms)  (pid 9308)
         | 
| 92 | 
            -
            Served asset /prototype_events_test.js - 200 OK (12ms)
         | 
| 93 | 
            -
             | 
| 94 | 
            -
             | 
| 95 | 
            -
            Started GET "/projects/new?type=prototype" for 127.0.0.1 at 2012-10-28 17:13:42 +0300
         | 
| 96 | 
            -
            Processing by ProjectsController#new as HTML
         | 
| 97 | 
            -
              Parameters: {"type"=>"prototype"}
         | 
| 98 | 
            -
              Rendered projects/new.html.erb within layouts/application (2.4ms)
         | 
| 99 | 
            -
            Completed 200 OK in 4ms (Views: 3.9ms | ActiveRecord: 0.0ms)
         | 
| 100 | 
            -
             | 
| 101 | 
            -
             | 
| 102 | 
            -
            Started GET "/projects/new?type=prototype" for 127.0.0.1 at 2012-10-28 17:13:44 +0300
         | 
| 103 | 
            -
            Processing by ProjectsController#new as HTML
         | 
| 104 | 
            -
              Parameters: {"type"=>"prototype"}
         | 
| 105 35 | 
             
              Rendered projects/new.html.erb within layouts/application (2.3ms)
         | 
| 106 36 | 
             
            Completed 200 OK in 4ms (Views: 3.5ms | ActiveRecord: 0.0ms)
         | 
| 107 | 
            -
             | 
| 108 | 
            -
             | 
| 109 | 
            -
            Started GET "/projects/new?type=prototype" for 127.0.0.1 at 2012-10-28 17:13:45 +0300
         | 
| 110 | 
            -
            Processing by ProjectsController#new as HTML
         | 
| 111 | 
            -
              Parameters: {"type"=>"prototype"}
         | 
| 112 | 
            -
              Rendered projects/new.html.erb within layouts/application (1.8ms)
         | 
| 113 | 
            -
            Completed 200 OK in 3ms (Views: 2.9ms | ActiveRecord: 0.0ms)
         | 
| 114 | 
            -
             | 
| 115 | 
            -
             | 
| 116 | 
            -
            Started GET "/projects/new" for 127.0.0.1 at 2012-10-28 17:13:47 +0300
         | 
| 117 | 
            -
            Processing by ProjectsController#new as HTML
         | 
| 118 | 
            -
              Rendered projects/new.html.erb within layouts/application (3.5ms)
         | 
| 119 | 
            -
            Completed 200 OK in 6ms (Views: 5.6ms | ActiveRecord: 0.0ms)
         | 
| 120 | 
            -
             | 
| 121 | 
            -
             | 
| 122 | 
            -
            Started GET "/projects/new?type=prototype" for 127.0.0.1 at 2012-10-28 17:13:48 +0300
         | 
| 123 | 
            -
            Processing by ProjectsController#new as HTML
         | 
| 124 | 
            -
              Parameters: {"type"=>"prototype"}
         | 
| 125 | 
            -
              Rendered projects/new.html.erb within layouts/application (3.5ms)
         | 
| 126 | 
            -
            Completed 200 OK in 6ms (Views: 5.5ms | ActiveRecord: 0.0ms)
         | 
| 127 | 
            -
             | 
| 128 | 
            -
             | 
| 129 | 
            -
            Started GET "/projects/without_intermediate_inputs" for 127.0.0.1 at 2012-10-28 17:13:48 +0300
         | 
| 130 | 
            -
            Processing by ProjectsController#without_intermediate_inputs as HTML
         | 
| 131 | 
            -
              Rendered projects/without_intermediate_inputs.html.erb within layouts/application (3.5ms)
         | 
| 132 | 
            -
            Completed 200 OK in 6ms (Views: 5.9ms | ActiveRecord: 0.0ms)
         | 
| 133 | 
            -
             | 
| 134 | 
            -
             | 
| 135 | 
            -
            Started GET "/projects/new?type=jquery" for 127.0.0.1 at 2012-10-28 17:13:49 +0300
         | 
| 136 | 
            -
            Processing by ProjectsController#new as HTML
         | 
| 137 | 
            -
              Parameters: {"type"=>"jquery"}
         | 
| 138 | 
            -
              Rendered projects/new.html.erb within layouts/application (2.1ms)
         | 
| 139 | 
            -
            Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.0ms)
         | 
| 140 | 
            -
            Connecting to database specified by database.yml
         | 
| 141 | 
            -
            Connecting to database specified by database.yml
         | 
| 142 | 
            -
            Connecting to database specified by database.yml
         | 
| 143 | 
            -
             | 
| 144 | 
            -
             | 
| 145 | 
            -
            Started GET "/projects/new" for 127.0.0.1 at 2012-10-30 00:31:31 +0300
         | 
| 146 | 
            -
            Processing by ProjectsController#new as HTML
         | 
| 147 | 
            -
              Rendered projects/new.html.erb within layouts/application (59.5ms)
         | 
| 148 | 
            -
            Completed 200 OK in 119ms (Views: 114.4ms | ActiveRecord: 0.8ms)
         | 
| 149 | 
            -
             | 
| 150 | 
            -
             | 
| 151 | 
            -
            Started GET "/assets/jquery.js" for 127.0.0.1 at 2012-10-30 00:31:32 +0300
         | 
| 152 | 
            -
            Served asset /jquery.js - 200 OK (10ms)
         | 
| 153 | 
            -
             | 
| 154 | 
            -
             | 
| 155 | 
            -
            Started GET "/assets/jquery_nested_form.js" for 127.0.0.1 at 2012-10-30 00:31:32 +0300
         | 
| 156 | 
            -
            Served asset /jquery_nested_form.js - 200 OK (51ms)
         | 
| 157 | 
            -
             | 
| 158 | 
            -
             | 
| 159 | 
            -
            Started GET "/assets/jquery_events_test.js" for 127.0.0.1 at 2012-10-30 00:31:32 +0300
         | 
| 160 | 
            -
            Served asset /jquery_events_test.js - 200 OK (8ms)
         | 
| 161 | 
            -
             | 
| 162 | 
            -
             | 
| 163 | 
            -
            Started GET "/projects/new" for 127.0.0.1 at 2012-10-30 00:31:32 +0300
         | 
| 164 | 
            -
            Processing by ProjectsController#new as HTML
         | 
| 165 | 
            -
              Rendered projects/new.html.erb within layouts/application (5.9ms)
         | 
| 166 | 
            -
            Completed 200 OK in 9ms (Views: 8.3ms | ActiveRecord: 0.0ms)
         | 
| 167 | 
            -
             | 
| 168 | 
            -
             | 
| 169 | 
            -
            Started GET "/projects/new" for 127.0.0.1 at 2012-10-30 00:31:34 +0300
         | 
| 37 | 
            +
            Started GET "/projects/new" for 127.0.0.1 at 2013-01-04 12:23:06 +0300
         | 
| 170 38 | 
             
            Processing by ProjectsController#new as HTML
         | 
| 171 39 | 
             
              Rendered projects/new.html.erb within layouts/application (2.3ms)
         | 
| 172 | 
            -
            Completed 200 OK in 4ms (Views: 3. | 
| 173 | 
            -
             | 
| 174 | 
            -
             | 
| 175 | 
            -
            Started GET "/projects/new" for 127.0.0.1 at 2012-10-30 00:31:35 +0300
         | 
| 40 | 
            +
            Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.0ms)
         | 
| 41 | 
            +
            Started GET "/projects/new" for 127.0.0.1 at 2013-01-04 12:23:07 +0300
         | 
| 176 42 | 
             
            Processing by ProjectsController#new as HTML
         | 
| 177 | 
            -
              Rendered projects/new.html.erb within layouts/application (2. | 
| 178 | 
            -
            Completed 200 OK in  | 
| 179 | 
            -
             | 
| 180 | 
            -
             | 
| 181 | 
            -
            Started GET "/projects/new?type=prototype" for 127.0.0.1 at 2012-10-30 00:31:37 +0300
         | 
| 43 | 
            +
              Rendered projects/new.html.erb within layouts/application (2.0ms)
         | 
| 44 | 
            +
            Completed 200 OK in 3ms (Views: 3.0ms | ActiveRecord: 0.0ms)
         | 
| 45 | 
            +
            Started GET "/projects/new?type=prototype" for 127.0.0.1 at 2013-01-04 12:23:09 +0300
         | 
| 182 46 | 
             
            Processing by ProjectsController#new as HTML
         | 
| 183 47 | 
             
              Parameters: {"type"=>"prototype"}
         | 
| 184 | 
            -
              Rendered projects/new.html.erb within layouts/application (2. | 
| 185 | 
            -
            Completed 200 OK in 4ms (Views: 3. | 
| 186 | 
            -
             | 
| 187 | 
            -
             | 
| 188 | 
            -
             | 
| 189 | 
            -
             | 
| 190 | 
            -
             | 
| 191 | 
            -
             | 
| 192 | 
            -
            Started GET "/assets/ | 
| 193 | 
            -
             | 
| 194 | 
            -
             | 
| 195 | 
            -
             | 
| 196 | 
            -
            Started GET "/assets/prototype_events_test.js" for 127.0.0.1 at 2012-10-30 00:31:37 +0300
         | 
| 197 | 
            -
            Served asset /prototype_events_test.js - 200 OK (3ms)
         | 
| 198 | 
            -
             | 
| 199 | 
            -
             | 
| 200 | 
            -
            Started GET "/projects/new?type=prototype" for 127.0.0.1 at 2012-10-30 00:31:37 +0300
         | 
| 48 | 
            +
              Rendered projects/new.html.erb within layouts/application (2.4ms)
         | 
| 49 | 
            +
            Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.0ms)
         | 
| 50 | 
            +
            Started GET "/assets/prototype.js" for 127.0.0.1 at 2013-01-04 12:23:09 +0300
         | 
| 51 | 
            +
            Compiled prototype.js  (1ms)  (pid 9005)
         | 
| 52 | 
            +
            Served asset /prototype.js - 200 OK (11ms)
         | 
| 53 | 
            +
            Started GET "/assets/prototype_nested_form.js" for 127.0.0.1 at 2013-01-04 12:23:09 +0300
         | 
| 54 | 
            +
            Compiled prototype_nested_form.js  (0ms)  (pid 9005)
         | 
| 55 | 
            +
            Served asset /prototype_nested_form.js - 200 OK (28ms)
         | 
| 56 | 
            +
            Started GET "/assets/prototype_events_test.js" for 127.0.0.1 at 2013-01-04 12:23:09 +0300
         | 
| 57 | 
            +
            Compiled prototype_events_test.js  (0ms)  (pid 9005)
         | 
| 58 | 
            +
            Served asset /prototype_events_test.js - 200 OK (5ms)
         | 
| 59 | 
            +
            Started GET "/projects/new?type=prototype" for 127.0.0.1 at 2013-01-04 12:23:09 +0300
         | 
| 201 60 | 
             
            Processing by ProjectsController#new as HTML
         | 
| 202 61 | 
             
              Parameters: {"type"=>"prototype"}
         | 
| 203 | 
            -
              Rendered projects/new.html.erb within layouts/application ( | 
| 204 | 
            -
            Completed 200 OK in  | 
| 205 | 
            -
             | 
| 206 | 
            -
             | 
| 207 | 
            -
            Started GET "/projects/new?type=prototype" for 127.0.0.1 at 2012-10-30 00:31:40 +0300
         | 
| 62 | 
            +
              Rendered projects/new.html.erb within layouts/application (1.9ms)
         | 
| 63 | 
            +
            Completed 200 OK in 3ms (Views: 3.0ms | ActiveRecord: 0.0ms)
         | 
| 64 | 
            +
            Started GET "/projects/new?type=prototype" for 127.0.0.1 at 2013-01-04 12:23:12 +0300
         | 
| 208 65 | 
             
            Processing by ProjectsController#new as HTML
         | 
| 209 66 | 
             
              Parameters: {"type"=>"prototype"}
         | 
| 210 | 
            -
              Rendered projects/new.html.erb within layouts/application (2. | 
| 211 | 
            -
            Completed 200 OK in 3ms (Views: 3. | 
| 212 | 
            -
             | 
| 213 | 
            -
             | 
| 214 | 
            -
            Started GET "/projects/new?type=prototype" for 127.0.0.1 at 2012-10-30 00:31:40 +0300
         | 
| 67 | 
            +
              Rendered projects/new.html.erb within layouts/application (2.0ms)
         | 
| 68 | 
            +
            Completed 200 OK in 3ms (Views: 3.0ms | ActiveRecord: 0.0ms)
         | 
| 69 | 
            +
            Started GET "/projects/new?type=prototype" for 127.0.0.1 at 2013-01-04 12:23:12 +0300
         | 
| 215 70 | 
             
            Processing by ProjectsController#new as HTML
         | 
| 216 71 | 
             
              Parameters: {"type"=>"prototype"}
         | 
| 217 | 
            -
              Rendered projects/new.html.erb within layouts/application (2. | 
| 72 | 
            +
              Rendered projects/new.html.erb within layouts/application (2.1ms)
         | 
| 218 73 | 
             
            Completed 200 OK in 3ms (Views: 3.2ms | ActiveRecord: 0.0ms)
         | 
| 219 | 
            -
             | 
| 220 | 
            -
             | 
| 221 | 
            -
            Started GET "/projects/new" for 127.0.0.1 at 2012-10-30 00:31:43 +0300
         | 
| 74 | 
            +
            Started GET "/projects/new" for 127.0.0.1 at 2013-01-04 12:23:14 +0300
         | 
| 222 75 | 
             
            Processing by ProjectsController#new as HTML
         | 
| 223 | 
            -
              Rendered projects/new.html.erb within layouts/application (2. | 
| 224 | 
            -
            Completed 200 OK in 4ms (Views: 3. | 
| 225 | 
            -
             | 
| 226 | 
            -
             | 
| 227 | 
            -
            Started GET "/projects/new?type=prototype" for 127.0.0.1 at 2012-10-30 00:31:43 +0300
         | 
| 76 | 
            +
              Rendered projects/new.html.erb within layouts/application (2.1ms)
         | 
| 77 | 
            +
            Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.0ms)
         | 
| 78 | 
            +
            Started GET "/projects/new?type=prototype" for 127.0.0.1 at 2013-01-04 12:23:15 +0300
         | 
| 228 79 | 
             
            Processing by ProjectsController#new as HTML
         | 
| 229 80 | 
             
              Parameters: {"type"=>"prototype"}
         | 
| 230 | 
            -
              Rendered projects/new.html.erb within layouts/application (2. | 
| 231 | 
            -
            Completed 200 OK in  | 
| 232 | 
            -
             | 
| 233 | 
            -
             | 
| 234 | 
            -
            Started GET "/projects/without_intermediate_inputs" for 127.0.0.1 at 2012-10-30 00:31:44 +0300
         | 
| 81 | 
            +
              Rendered projects/new.html.erb within layouts/application (2.1ms)
         | 
| 82 | 
            +
            Completed 200 OK in 3ms (Views: 3.2ms | ActiveRecord: 0.0ms)
         | 
| 83 | 
            +
            Started GET "/projects/without_intermediate_inputs" for 127.0.0.1 at 2013-01-04 12:23:15 +0300
         | 
| 235 84 | 
             
            Processing by ProjectsController#without_intermediate_inputs as HTML
         | 
| 236 | 
            -
              Rendered projects/without_intermediate_inputs.html.erb within layouts/application ( | 
| 237 | 
            -
            Completed 200 OK in  | 
| 238 | 
            -
             | 
| 239 | 
            -
             | 
| 240 | 
            -
            Started GET "/projects/new?type=jquery" for 127.0.0.1 at 2012-10-30 00:31:44 +0300
         | 
| 85 | 
            +
              Rendered projects/without_intermediate_inputs.html.erb within layouts/application (2.5ms)
         | 
| 86 | 
            +
            Completed 200 OK in 5ms (Views: 4.1ms | ActiveRecord: 0.0ms)
         | 
| 87 | 
            +
            Started GET "/projects/new?type=jquery" for 127.0.0.1 at 2013-01-04 12:23:16 +0300
         | 
| 241 88 | 
             
            Processing by ProjectsController#new as HTML
         | 
| 242 89 | 
             
              Parameters: {"type"=>"jquery"}
         | 
| 243 | 
            -
              Rendered projects/new.html.erb within layouts/application ( | 
| 244 | 
            -
            Completed 200 OK in  | 
| 90 | 
            +
              Rendered projects/new.html.erb within layouts/application (2.1ms)
         | 
| 91 | 
            +
            Completed 200 OK in 3ms (Views: 3.2ms | ActiveRecord: 0.0ms)
         | 
| 245 92 | 
             
            Connecting to database specified by database.yml
         | 
| 246 | 
            -
             | 
| 247 | 
            -
             | 
| 248 | 
            -
            Started GET "/projects/new" for 127.0.0.1 at 2012-10-30 00:33:24 +0300
         | 
| 93 | 
            +
            Started GET "/projects/new" for 127.0.0.1 at 2013-01-04 12:24:15 +0300
         | 
| 249 94 | 
             
            Processing by ProjectsController#new as HTML
         | 
| 250 | 
            -
              Rendered projects/new.html.erb within layouts/application ( | 
| 251 | 
            -
            Completed 200 OK in  | 
| 252 | 
            -
             | 
| 253 | 
            -
             | 
| 254 | 
            -
            Started GET "/assets/ | 
| 255 | 
            -
            Served asset / | 
| 256 | 
            -
             | 
| 257 | 
            -
             | 
| 258 | 
            -
             | 
| 259 | 
            -
             | 
| 260 | 
            -
             | 
| 261 | 
            -
             | 
| 262 | 
            -
            Started GET "/assets/jquery_nested_form.js" for 127.0.0.1 at 2012-10-30 00:33:24 +0300
         | 
| 263 | 
            -
            Served asset /jquery_nested_form.js - 200 OK (3ms)
         | 
| 264 | 
            -
             | 
| 265 | 
            -
             | 
| 266 | 
            -
            Started GET "/projects/new" for 127.0.0.1 at 2012-10-30 00:33:24 +0300
         | 
| 95 | 
            +
              Rendered projects/new.html.erb within layouts/application (43.7ms)
         | 
| 96 | 
            +
            Completed 200 OK in 59ms (Views: 56.4ms | ActiveRecord: 0.5ms)
         | 
| 97 | 
            +
            Started GET "/assets/jquery.js" for 127.0.0.1 at 2013-01-04 12:24:15 +0300
         | 
| 98 | 
            +
            Served asset /jquery.js - 200 OK (6ms)
         | 
| 99 | 
            +
            Started GET "/assets/jquery_events_test.js" for 127.0.0.1 at 2013-01-04 12:24:15 +0300
         | 
| 100 | 
            +
            Served asset /jquery_events_test.js - 200 OK (2ms)
         | 
| 101 | 
            +
            Started GET "/assets/jquery_nested_form.js" for 127.0.0.1 at 2013-01-04 12:24:15 +0300
         | 
| 102 | 
            +
            Compiled jquery_nested_form.js  (0ms)  (pid 9117)
         | 
| 103 | 
            +
            Served asset /jquery_nested_form.js - 200 OK (8ms)
         | 
| 104 | 
            +
            Started GET "/projects/new" for 127.0.0.1 at 2013-01-04 12:24:15 +0300
         | 
| 267 105 | 
             
            Processing by ProjectsController#new as HTML
         | 
| 268 | 
            -
              Rendered projects/new.html.erb within layouts/application ( | 
| 269 | 
            -
            Completed 200 OK in  | 
| 270 | 
            -
             | 
| 271 | 
            -
             | 
| 272 | 
            -
            Started GET "/projects/new" for 127.0.0.1 at  | 
| 106 | 
            +
              Rendered projects/new.html.erb within layouts/application (2.2ms)
         | 
| 107 | 
            +
            Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.0ms)
         | 
| 108 | 
            +
            Started GET "/assets/jquery_nested_form.js" for 127.0.0.1 at 2013-01-04 12:24:15 +0300
         | 
| 109 | 
            +
            Served asset /jquery_nested_form.js - 304 Not Modified (0ms)
         | 
| 110 | 
            +
            Started GET "/projects/new" for 127.0.0.1 at 2013-01-04 12:24:17 +0300
         | 
| 273 111 | 
             
            Processing by ProjectsController#new as HTML
         | 
| 274 | 
            -
              Rendered projects/new.html.erb within layouts/application ( | 
| 275 | 
            -
            Completed 200 OK in  | 
| 276 | 
            -
             | 
| 277 | 
            -
             | 
| 278 | 
            -
            Started GET "/projects/new" for 127.0.0.1 at  | 
| 112 | 
            +
              Rendered projects/new.html.erb within layouts/application (2.0ms)
         | 
| 113 | 
            +
            Completed 200 OK in 3ms (Views: 3.0ms | ActiveRecord: 0.0ms)
         | 
| 114 | 
            +
            Started GET "/assets/jquery_nested_form.js" for 127.0.0.1 at 2013-01-04 12:24:17 +0300
         | 
| 115 | 
            +
            Served asset /jquery_nested_form.js - 304 Not Modified (0ms)
         | 
| 116 | 
            +
            Started GET "/projects/new" for 127.0.0.1 at 2013-01-04 12:24:17 +0300
         | 
| 279 117 | 
             
            Processing by ProjectsController#new as HTML
         | 
| 280 | 
            -
              Rendered projects/new.html.erb within layouts/application ( | 
| 281 | 
            -
            Completed 200 OK in  | 
| 282 | 
            -
             | 
| 283 | 
            -
             | 
| 284 | 
            -
            Started GET "/projects/new?type=prototype" for 127.0.0.1 at  | 
| 118 | 
            +
              Rendered projects/new.html.erb within layouts/application (2.2ms)
         | 
| 119 | 
            +
            Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.0ms)
         | 
| 120 | 
            +
            Started GET "/assets/jquery_nested_form.js" for 127.0.0.1 at 2013-01-04 12:24:17 +0300
         | 
| 121 | 
            +
            Served asset /jquery_nested_form.js - 304 Not Modified (0ms)
         | 
| 122 | 
            +
            Started GET "/projects/new?type=prototype" for 127.0.0.1 at 2013-01-04 12:24:20 +0300
         | 
| 285 123 | 
             
            Processing by ProjectsController#new as HTML
         | 
| 286 124 | 
             
              Parameters: {"type"=>"prototype"}
         | 
| 287 | 
            -
              Rendered projects/new.html.erb within layouts/application ( | 
| 288 | 
            -
            Completed 200 OK in  | 
| 289 | 
            -
             | 
| 290 | 
            -
             | 
| 291 | 
            -
            Started GET "/assets/ | 
| 292 | 
            -
            Served asset / | 
| 293 | 
            -
             | 
| 294 | 
            -
             | 
| 295 | 
            -
            Started GET "/ | 
| 296 | 
            -
            Served asset /prototype_nested_form.js - 200 OK (37ms)
         | 
| 297 | 
            -
             | 
| 298 | 
            -
             | 
| 299 | 
            -
            Started GET "/assets/prototype_events_test.js" for 127.0.0.1 at 2012-10-30 00:33:30 +0300
         | 
| 300 | 
            -
            Served asset /prototype_events_test.js - 200 OK (3ms)
         | 
| 301 | 
            -
             | 
| 302 | 
            -
             | 
| 303 | 
            -
            Started GET "/projects/new?type=prototype" for 127.0.0.1 at 2012-10-30 00:33:30 +0300
         | 
| 125 | 
            +
              Rendered projects/new.html.erb within layouts/application (2.3ms)
         | 
| 126 | 
            +
            Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.0ms)
         | 
| 127 | 
            +
            Started GET "/assets/prototype.js" for 127.0.0.1 at 2013-01-04 12:24:20 +0300
         | 
| 128 | 
            +
            Served asset /prototype.js - 200 OK (5ms)
         | 
| 129 | 
            +
            Started GET "/assets/prototype_nested_form.js" for 127.0.0.1 at 2013-01-04 12:24:20 +0300
         | 
| 130 | 
            +
            Served asset /prototype_nested_form.js - 200 OK (1ms)
         | 
| 131 | 
            +
            Started GET "/assets/prototype_events_test.js" for 127.0.0.1 at 2013-01-04 12:24:20 +0300
         | 
| 132 | 
            +
            Served asset /prototype_events_test.js - 200 OK (1ms)
         | 
| 133 | 
            +
            Started GET "/projects/new?type=prototype" for 127.0.0.1 at 2013-01-04 12:24:20 +0300
         | 
| 304 134 | 
             
            Processing by ProjectsController#new as HTML
         | 
| 305 135 | 
             
              Parameters: {"type"=>"prototype"}
         | 
| 306 | 
            -
              Rendered projects/new.html.erb within layouts/application ( | 
| 307 | 
            -
            Completed 200 OK in  | 
| 308 | 
            -
             | 
| 309 | 
            -
             | 
| 310 | 
            -
            Started GET "/projects/new?type=prototype" for 127.0.0.1 at 2012-10-30 00:33:32 +0300
         | 
| 136 | 
            +
              Rendered projects/new.html.erb within layouts/application (2.2ms)
         | 
| 137 | 
            +
            Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.0ms)
         | 
| 138 | 
            +
            Started GET "/projects/new?type=prototype" for 127.0.0.1 at 2013-01-04 12:24:22 +0300
         | 
| 311 139 | 
             
            Processing by ProjectsController#new as HTML
         | 
| 312 140 | 
             
              Parameters: {"type"=>"prototype"}
         | 
| 313 141 | 
             
              Rendered projects/new.html.erb within layouts/application (2.0ms)
         | 
| 314 | 
            -
            Completed 200 OK in  | 
| 315 | 
            -
             | 
| 316 | 
            -
             | 
| 317 | 
            -
            Started GET "/projects/new?type=prototype" for 127.0.0.1 at 2012-10-30 00:33:33 +0300
         | 
| 142 | 
            +
            Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.0ms)
         | 
| 143 | 
            +
            Started GET "/projects/new?type=prototype" for 127.0.0.1 at 2013-01-04 12:24:23 +0300
         | 
| 318 144 | 
             
            Processing by ProjectsController#new as HTML
         | 
| 319 145 | 
             
              Parameters: {"type"=>"prototype"}
         | 
| 320 | 
            -
              Rendered projects/new.html.erb within layouts/application ( | 
| 321 | 
            -
            Completed 200 OK in  | 
| 322 | 
            -
             | 
| 323 | 
            -
             | 
| 324 | 
            -
            Started GET "/projects/new" for 127.0.0.1 at 2012-10-30 00:33:35 +0300
         | 
| 146 | 
            +
              Rendered projects/new.html.erb within layouts/application (1.9ms)
         | 
| 147 | 
            +
            Completed 200 OK in 3ms (Views: 3.0ms | ActiveRecord: 0.0ms)
         | 
| 148 | 
            +
            Started GET "/projects/new" for 127.0.0.1 at 2013-01-04 12:24:25 +0300
         | 
| 325 149 | 
             
            Processing by ProjectsController#new as HTML
         | 
| 326 | 
            -
              Rendered projects/new.html.erb within layouts/application ( | 
| 327 | 
            -
            Completed 200 OK in  | 
| 328 | 
            -
             | 
| 329 | 
            -
             | 
| 330 | 
            -
            Started GET "/projects/new?type=prototype" for 127.0.0.1 at  | 
| 150 | 
            +
              Rendered projects/new.html.erb within layouts/application (2.2ms)
         | 
| 151 | 
            +
            Completed 200 OK in 4ms (Views: 3.4ms | ActiveRecord: 0.0ms)
         | 
| 152 | 
            +
            Started GET "/assets/jquery_nested_form.js" for 127.0.0.1 at 2013-01-04 12:24:25 +0300
         | 
| 153 | 
            +
            Served asset /jquery_nested_form.js - 304 Not Modified (0ms)
         | 
| 154 | 
            +
            Started GET "/projects/new?type=prototype" for 127.0.0.1 at 2013-01-04 12:24:26 +0300
         | 
| 331 155 | 
             
            Processing by ProjectsController#new as HTML
         | 
| 332 156 | 
             
              Parameters: {"type"=>"prototype"}
         | 
| 333 | 
            -
              Rendered projects/new.html.erb within layouts/application (2. | 
| 334 | 
            -
            Completed 200 OK in  | 
| 335 | 
            -
             | 
| 336 | 
            -
             | 
| 337 | 
            -
            Started GET "/projects/without_intermediate_inputs" for 127.0.0.1 at 2012-10-30 00:33:36 +0300
         | 
| 157 | 
            +
              Rendered projects/new.html.erb within layouts/application (2.1ms)
         | 
| 158 | 
            +
            Completed 200 OK in 3ms (Views: 3.2ms | ActiveRecord: 0.0ms)
         | 
| 159 | 
            +
            Started GET "/projects/without_intermediate_inputs" for 127.0.0.1 at 2013-01-04 12:24:26 +0300
         | 
| 338 160 | 
             
            Processing by ProjectsController#without_intermediate_inputs as HTML
         | 
| 339 | 
            -
              Rendered projects/without_intermediate_inputs.html.erb within layouts/application ( | 
| 340 | 
            -
            Completed 200 OK in  | 
| 341 | 
            -
             | 
| 342 | 
            -
             | 
| 343 | 
            -
            Started GET "/projects/new?type=jquery" for 127.0.0.1 at  | 
| 161 | 
            +
              Rendered projects/without_intermediate_inputs.html.erb within layouts/application (2.1ms)
         | 
| 162 | 
            +
            Completed 200 OK in 4ms (Views: 3.3ms | ActiveRecord: 0.0ms)
         | 
| 163 | 
            +
            Started GET "/assets/jquery_nested_form.js" for 127.0.0.1 at 2013-01-04 12:24:26 +0300
         | 
| 164 | 
            +
            Served asset /jquery_nested_form.js - 304 Not Modified (0ms)
         | 
| 165 | 
            +
            Started GET "/projects/new?type=jquery" for 127.0.0.1 at 2013-01-04 12:24:27 +0300
         | 
| 344 166 | 
             
            Processing by ProjectsController#new as HTML
         | 
| 345 167 | 
             
              Parameters: {"type"=>"jquery"}
         | 
| 346 | 
            -
              Rendered projects/new.html.erb within layouts/application (2. | 
| 347 | 
            -
            Completed 200 OK in 4ms (Views: 3. | 
| 348 | 
            -
             | 
| 349 | 
            -
             | 
| 350 | 
            -
            Connecting to database specified by database.yml
         | 
| 351 | 
            -
            Connecting to database specified by database.yml
         | 
| 352 | 
            -
            Connecting to database specified by database.yml
         | 
| 353 | 
            -
            Connecting to database specified by database.yml
         | 
| 354 | 
            -
            Connecting to database specified by database.yml
         | 
| 355 | 
            -
            Connecting to database specified by database.yml
         | 
| 356 | 
            -
            Connecting to database specified by database.yml
         | 
| 357 | 
            -
            Connecting to database specified by database.yml
         | 
| 358 | 
            -
            Connecting to database specified by database.yml
         | 
| 359 | 
            -
            Connecting to database specified by database.yml
         | 
| 360 | 
            -
            Connecting to database specified by database.yml
         | 
| 361 | 
            -
            Connecting to database specified by database.yml
         | 
| 362 | 
            -
            Connecting to database specified by database.yml
         | 
| 363 | 
            -
            Connecting to database specified by database.yml
         | 
| 364 | 
            -
            Connecting to database specified by database.yml
         | 
| 365 | 
            -
            Connecting to database specified by database.yml
         | 
| 366 | 
            -
            Connecting to database specified by database.yml
         | 
| 367 | 
            -
            Connecting to database specified by database.yml
         | 
| 368 | 
            -
            Connecting to database specified by database.yml
         | 
| 369 | 
            -
            Connecting to database specified by database.yml
         | 
| 370 | 
            -
            Connecting to database specified by database.yml
         | 
| 371 | 
            -
            Connecting to database specified by database.yml
         | 
| 372 | 
            -
            Connecting to database specified by database.yml
         | 
| 373 | 
            -
            Connecting to database specified by database.yml
         | 
| 168 | 
            +
              Rendered projects/new.html.erb within layouts/application (2.5ms)
         | 
| 169 | 
            +
            Completed 200 OK in 4ms (Views: 3.7ms | ActiveRecord: 0.0ms)
         | 
| 170 | 
            +
            Started GET "/assets/jquery_nested_form.js" for 127.0.0.1 at 2013-01-04 12:24:27 +0300
         | 
| 171 | 
            +
            Served asset /jquery_nested_form.js - 304 Not Modified (0ms)
         |