
Slug not avaialbe as a slug until it's reloaded
Reported by Daniel Neighman | March 6th, 2010 @ 01:24 AM
When I set a field using the Slug data type, it's slugged version is not available until it's reloaded.
user.slug = "my name"
user.slug == "my name" # should be my-name
user.save
user.reload
user.slug == "my-name" # true
Comments and changes to this ticket
-
Piotr Solnica (solnic) March 6th, 2010 @ 05:59 AM
- State changed from new to accepted
- Assigned user set to Piotr Solnica (solnic)
-
Piotr Solnica (solnic) May 23rd, 2010 @ 05:20 AM
- State changed from accepted to resolved
(from [561f63fdf65b4309a43e33506ea1e75a25883b39]) [slug] Escape the value when typecasting
[#1212 state:resolved] http://github.com/datamapper/dm-types/commit/561f63fdf65b4309a43e33...
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.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
People watching this ticket
Referenced by
-
1212 Slug not avaialbe as a slug until it's reloaded [#1212 state:resolved] http://github.com/datamapper/dm-t...