Title: [444] trunk/activerecord-jdbc: Fix MySQL building and error message about hoe
- Revision
- 444
- Author
- olabini
- Date
- 2007-04-08 13:58:39 -0400 (Sun, 08 Apr 2007)
Log Message
Fix MySQL building and error message about hoe
Modified Paths
Diff
Modified: trunk/activerecord-jdbc/Rakefile (443 => 444)
--- trunk/activerecord-jdbc/Rakefile 2007-04-08 07:54:31 UTC (rev 443)
+++ trunk/activerecord-jdbc/Rakefile 2007-04-08 17:58:39 UTC (rev 444)
@@ -96,6 +96,5 @@
task :package => [:manifest]
rescue LoadError
- # Install hoe in order to make a release
- # puts e.inspect
+ puts "You really need Hoe installed to be able to package this gem"
end
Modified: trunk/activerecord-jdbc/lib/jdbc_adapter/jdbc_mysql.rb (443 => 444)
--- trunk/activerecord-jdbc/lib/jdbc_adapter/jdbc_mysql.rb 2007-04-08 07:54:31 UTC (rev 443)
+++ trunk/activerecord-jdbc/lib/jdbc_adapter/jdbc_mysql.rb 2007-04-08 17:58:39 UTC (rev 444)
@@ -144,5 +144,10 @@
current_type = select_one("SHOW COLUMNS FROM #{table_name} LIKE '#{column_name}'")["Type"]
execute "ALTER TABLE #{table_name} CHANGE #{column_name} #{new_column_name} #{current_type}"
end
+
+ private
+ def supports_views?
+ false
+ end
end
end
_______________________________________________
Jruby-extras-devel mailing list
[EMAIL PROTECTED]
http://rubyforge.org/mailman/listinfo/jruby-extras-devel