This file contains 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
# | |
# The MySQL database server configuration file. | |
# | |
# You can copy this to one of: | |
# - "/etc/mysql/my.cnf" to set global options, | |
# - "~/.my.cnf" to set user-specific options. | |
# | |
# One can use all long options that the program supports. | |
# Run program with --help to get a list of available options and with | |
# --print-defaults to see which it would actually understand and use. |
This file contains 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
santiago@debian:/tmp$ gem list devise | |
*** LOCAL GEMS *** | |
santiago@debian:/tmp$ rails new myapp | |
create | |
create README | |
create Rakefile | |
create config.ru |
This file contains 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 c3a34ae..14f166b 100644 | |
--- a/activerecord/lib/active_record/base.rb | |
+++ b/activerecord/lib/active_record/base.rb | |
@@ -887,7 +887,7 @@ module ActiveRecord #:nodoc: | |
def scoped_methods #:nodoc: | |
key = :"#{self}_scoped_methods" | |
- Thread.current[key] = Thread.current[key].presence || self.default_scoping.dup | |
+ Thread.current[key] = Thread.current[key].presence || [] |
This file contains 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
$ ruby -I connections/native_sqlite3/ cases/relation_scoping_test.rb | |
Using native SQLite3 | |
Loaded suite cases/relation_scoping_test | |
Started | |
...........F.FFF..........FF...................... | |
Finished in 3.008875 seconds. | |
1) Failure: | |
test_method_scope(DefaultScopingTest) | |
[cases/relation_scoping_test.rb:370:in `test_method_scope' |
This file contains 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 |
This file contains 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 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 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 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 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 |