Open source is wide open: Calling RAKE tasks.
Good to know.
If you get this error : Mysql::Error: query: not connected: or one just like it, it’s because you need an older DLL.. Which I just happen to have found, because I needed to fix this problem too!
libmySQL.dll
Enjoy.
http://www.spacevatican.org/2008/7/18/parametrised-to-the-max
Caveat: This adapter may only work with the enterprise edition of Sybase (i.e. Sybase ASE) not with SQLAnywhere (Sybase ASA)
gem install activerecord-sybase-adapter -s http://gems.rubyonrails.org
ActiveRecord::Base.establish_connection(
:adapter => “sybase”,
:database => “test”,
:host => “www.yourdbserver.com”,
:username => “kevin”,
:password => “test”)
Play!
You’ll notice, if you follow those screencasts (around now, anyway, as the plugin’s code is likely to change, or maybe the screencasts themselves) that when you add in_place_editing, you suddenly get broken HTML..
The fix is thankfully easy!
vendors > plugins > in_place_editing > lib > in_place_macros_helper.rb
Line 79:
tag = content_tag(tag_options.delete(:tag), h(instance_tag.value(instance_tag.object)), tag_options)
Change to :
tag = content_tag(tag_options.delete(:tag), instance_tag.value(instance_tag.object), tag_options)
And you’re set!
Recent Comments