#1209 ✓resolved
Jeffrey 'jf' Lim

wrong documentation in http://datamapper.org/docs/properties

Reported by Jeffrey 'jf' Lim | March 3rd, 2010 @ 02:35 AM | in 1.0.0

Last section 'Over-riding Accessors' - line 6 s/new_title/new_slug/

Comments and changes to this ticket

  • Jeffrey 'jf' Lim

    Jeffrey 'jf' Lim March 13th, 2010 @ 08:33 AM

    ok, now that the bug has actually been fixed, could somebody close this ticket?

    1 class Post 2 property :slug, String 3 4 def slug=(new_slug) 5 raise ArgumentError if new_slug != 'DataMapper is Awesome' 6 attribute_set(:slug, new_slug) # use attribute_set instead of talking 7 # to the @ivars directly. 8 # This tracks dirtiness. 9 end 10 end

    line 4 now reads 'def slug=(new_slug)' instead of the previous 'def slug=(new_title)'....

  • Martin Gamsjaeger (snusnu)

    Martin Gamsjaeger (snusnu) March 26th, 2010 @ 06:05 AM

    • State changed from “new” to “resolved”
    • Assigned user set to “Alex Coles”
    • Milestone set to 1.0.0

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Pages