This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ➜ pftf git:(master) ✗ rake db:migrate --trace | |
| (in /Users/santiago/WyeWorks/Projs/pftf) | |
| rake aborted! | |
| Could not find root path for Devise::Engine | |
| /Users/santiago/.rvm/gems/rbx-1.1.0-20100923/gems/railties-3.0.1/lib/rails/engine.rb:120:in `find_root_with_flag' | |
| /Users/santiago/.rvm/gems/rbx-1.1.0-20100923/gems/railties-3.0.1/lib/rails/engine/configurable.rb:12:in `config' | |
| /Users/santiago/.rvm/gems/rbx-1.1.0-20100923/bundler/gems/devise-cdbd03c45a5b/lib/devise/rails.rb:6:in `__class_init__ (Engine)' | |
| /Users/santiago/.rvm/gems/rbx-1.1.0-20100923/bundler/gems/devise-cdbd03c45a5b/lib/devise/rails.rb:5:in `__module_init__ (Devise)' | |
| /Users/santiago/.rvm/gems/rbx-1.1.0-20100923/bundler/gems/devise-cdbd03c45a5b/lib/devise/rails.rb:4:in `__script__' | |
| kernel/common/codeloader.rb:145:in `require' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/activerecord/lib/active_record/base.rb b/activerecord/lib/active_record/base.rb | |
| index 78b3507..9fb64b5 100644 | |
| --- a/activerecord/lib/active_record/base.rb | |
| +++ b/activerecord/lib/active_record/base.rb | |
| @@ -961,9 +961,12 @@ module ActiveRecord #:nodoc: | |
| attribute_names = match.attribute_names | |
| super unless all_attributes_exists?(attribute_names) | |
| if match.finder? | |
| - options = arguments.extract_options! | |
| - relation = options.any? ? construct_finder_arel(options, current_scoped_methods) : scoped |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env ruby | |
| require 'rubygems' | |
| require 'sqlite3' | |
| require 'benchmark' | |
| require File.expand_path("../../../load_paths", __FILE__) | |
| require 'active_record' | |
| ActiveRecord::Base.establish_connection(:adapter => 'sqlite3', | |
| :database => ':memory:') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env ruby -KU | |
| TIMES = 100000 | |
| require 'rubygems' | |
| gem 'addressable', '~>2.0' | |
| gem 'faker', '~>0.3.1' | |
| gem 'rbench', '~>0.2.3' | |
| require 'addressable/uri' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Rubinius Crash Report #rbxcrashreport | |
| Error: signal SIGSEGV | |
| [[Backtrace]] | |
| 0 ruby 0x00000001000529b0 _ZN8rubiniusL12segv_handlerEi + 160 | |
| 1 libSystem.B.dylib 0x00007fff80ceb35a _sigtramp + 26 | |
| 2 ??? 0x0000000102e07ac0 0x0 + 4343233216 | |
| 3 melbourne.bundle 0x00000001017b6163 _ZN9melbourneL18extract_block_varsEPNS_14rb_parse_stateEPNS_5RNodeEPNS_11var_table_tE + 35 | |
| 4 melbourne.bundle 0x00000001017bf91f _ZN9melbourne11mel_yyparseEPv + 22639 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class Santiago | |
| def method_missing(method_id, *args) | |
| p "method_missing" | |
| self.class.class_eval do # do instead of here doc string | |
| def #{method_id}(*args) | |
| p "hello" | |
| end | |
| end # end of block instead of closing the string | |
| send(method_id, *args) | |
| end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/activeresource/lib/active_resource/base.rb b/activeresource/lib/active_resource/base.rb | |
| index b5b46d7..b47ce0e 100644 | |
| --- a/activeresource/lib/active_resource/base.rb | |
| +++ b/activeresource/lib/active_resource/base.rb | |
| @@ -3,7 +3,6 @@ require 'active_support/core_ext/class/attribute_accessors' | |
| require 'active_support/core_ext/class/inheritable_attributes' | |
| require 'active_support/core_ext/hash/indifferent_access' | |
| require 'active_support/core_ext/kernel/reporting' | |
| -require 'active_support/core_ext/module/attr_accessor_with_default' | |
| require 'active_support/core_ext/module/delegation' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ rake tolk:setup --trace | |
| (in /home/alvaro/wyeworks/pftf) | |
| DEPRECATION WARNING: railtie_name is deprecated and has no effect. (called from /home/alvaro/wyeworks/pftf/config/application.rb:7) | |
| DEPRECATION WARNING: railtie_name is deprecated and has no effect. (called from /home/alvaro/.bundler/ruby/1.8/tolk-41ffcea51d5f/lib/tolk/engine.rb:5) | |
| WARNING: Nokogiri was built against LibXML version 2.7.6, but has dynamically loaded 2.7.7 | |
| DEPRECATION WARNING: Rake tasks in /home/alvaro/wyeworks/pftf/vendor/plugins/semantic-menu/tasks/semantic_menu_tasks.rake are deprecated. Use lib/tasks instead. (called from /home/alvaro/wyeworks/pftf/Rakefile:7) | |
| ** Invoke tolk:setup (first_time) | |
| ** Invoke environment (first_time) | |
| ** Execute environment | |
| ** Execute tolk:setup |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/actionpack/lib/action_view/helpers/form_helper.rb b/actionpack/lib/action_view/helpers/form_helper.rb | |
| index 79a9d99..97dd1f8 100644 | |
| --- a/actionpack/lib/action_view/helpers/form_helper.rb | |
| +++ b/actionpack/lib/action_view/helpers/form_helper.rb | |
| @@ -317,8 +317,10 @@ module ActionView | |
| options[:html] ||= {} | |
| options[:html][:remote] = options.delete(:remote) | |
| - output = form_tag(options.delete(:url) || {}, options.delete(:html) || {}) | |
| - output << fields_for(object_name, object, options, &proc) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ rake test_sqlite3 | |
| (in /home/santiago/Documents/Projs/rails/activerecord) | |
| /usr/bin/ruby1.8 -w -I"lib:test:test/connections/native_sqlite3" "/var/lib/gems/1.8/gems/rake-0.8.7/lib/rake/rake_test_loader.rb" "test/cases/adapter_test.rb" "test/cases/adapters/sqlite3/copy_table_test.rb" "test/cases/adapters/sqlite3/sqlite3_adapter_test.rb" "test/cases/aggregations_test.rb" "test/cases/ar_schema_test.rb" "test/cases/associations/belongs_to_associations_test.rb" "test/cases/associations/callbacks_test.rb" "test/cases/associations/cascaded_eager_loading_test.rb" "test/cases/associations/eager_load_includes_full_sti_class_test.rb" "test/cases/associations/eager_load_nested_include_test.rb" "test/cases/associations/eager_singularization_test.rb" "test/cases/associations/eager_test.rb" "test/cases/associations/extension_test.rb" "test/cases/associations/habtm_join_table_test.rb" "test/cases/associations/has_and_belongs_to_many_associations_test.rb" "test/cases/associations/has_many_associations_test.rb" "test/cases/asso |