Skip to content
This repository

Fix doc example for Virtus::Attribute::Class #115

Merged
merged 1 commit into from over 1 year ago

2 participants

Martin Gamsjaeger Piotr Solnica
Martin Gamsjaeger
Collaborator

No description provided.

Piotr Solnica solnic merged commit d1d6bcc into from September 14, 2012
Piotr Solnica solnic closed this September 14, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Showing 1 unique commit by 1 author.

Sep 14, 2012
Martin Gamsjaeger Fix doc example for Virtus::Attribute::Class a716580
This page is out of date. Refresh to see the latest.

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  lib/virtus/attribute/class.rb
2  lib/virtus/attribute/class.rb
@@ -7,7 +7,7 @@ class Attribute
7 7
     #   class Entity
8 8
     #     include Virtus
9 9
     #
10  
-    #     attribute :type, Class
  10
+    #     attribute :model, Class
11 11
     #   end
12 12
     #
13 13
     #   post = Entity.new(:model => Model)
Commit_comment_tip

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.