github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

lancecarlson / rails forked from wycats/rails

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 3
    • 829
  • Source
  • Commits
  • Network (829)
  • Issues (0)
  • Downloads (0)
  • Wiki (1)
  • Graphs
  • Tree: 0faae5b

click here to add a description

click here to add a homepage

  • Branches (11)
    • 1-2-stable
    • 2-0-stable
    • active_support_on_a_diet
    • bootloader
    • constantize
    • content_negotiation
    • master
    • modular_active_support
    • namespace_route_fixes
    • no_more_mm
    • rails3
  • Tags (0)
Sending Request…
Enable Donations

Pledgie Donations

Once activated, we'll place the following badge in your repository's detail box:
Pledgie_example
This service is courtesy of Pledgie.

Ruby on Rails — Read more

  cancel

http://rubyonrails.org

  cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

ActiveORM::Core#proxy recognizes modules. Initial ActiveRecord test. 
lancecarlson (author)
Fri Jan 02 02:14:47 -0800 2009
commit  0faae5b971c3dbf3b1c4ead19504580233bbc7fa
tree    f80bdbf28014932004bb01ede3031da1bac168b2
parent  86ec91be32c87aad62d49a68adb87a8ae8c54eb4
rails / activeorm / lib / active_orm / proxies / datamapper_proxy.rb activeorm/lib/active_orm/proxies/datamapper_proxy.rb
100644 13 lines (12 sloc) 0.206 kb
edit raw blame history
1
2
3
4
5
6
7
8
9
10
11
12
13
module ActiveOrm
  module Proxies
    class DataMapperProxy < AbstractProxy
      def new?
        model.new_record?
      end
      
      def valid?
        model.valid?
      end
    end
  end
end
Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server