From: <el...@us...> - 2007-06-09 17:37:38
|
Revision: 1826 http://svn.sourceforge.net/rubycocoa/?rev=1826&view=rev Author: el_oy Date: 2007-06-09 10:37:36 -0700 (Sat, 09 Jun 2007) Log Message: ----------- 2007-06-09 Eloy Duran <e....@su...> * sample/MailDemo/MailDemoActiveRecordBindings/MailboxProxy.rb, sample/MailDemo/MailDemoActiveRecordBindings/EmailProxy.rb, sample/MailDemo/MailDemoActiveRecordBindings/MailDemoActiveRecordBindings.xcodeproj/project.pbxproj, framework/src/ruby/osx/objc/active_record.rb, tests/tc_active_record.rb: Added the class method ActiveRecordProxy.on_get() which can be used to define filters to be applied when a specified key is requested in rbValueForKey. So the filter will be run before returning the data. Changed EmailProxy.rb to use the new on_get class method. Removed the MailboxProxy.rb file, because the proxy class will automatically be defined whenever ActiveRecord::Base is inherited. Modified Paths: -------------- trunk/src/ChangeLog trunk/src/framework/src/ruby/osx/objc/active_record.rb trunk/src/sample/MailDemo/MailDemoActiveRecordBindings/EmailProxy.rb trunk/src/sample/MailDemo/MailDemoActiveRecordBindings/MailDemoActiveRecordBindings.xcodeproj/project.pbxproj trunk/src/tests/tc_active_record.rb Removed Paths: ------------- trunk/src/sample/MailDemo/MailDemoActiveRecordBindings/MailboxProxy.rb This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |