Hi Rick,

thanks for the replay, but you did not understand my problem.
I'll try to be more clear now.

I'm using friendly_id as a GEM, and it is working perfectly.
Because my application already has some data, I would like to generate 
slugs for the post that have been created already. So that is why I 
wanna to execute that rake task.

I can see that the rake task is defined at lib/tasks/friendly_id.rake, 
but how do I call that rake task in my application?

Any way thanks for the hint, I did not know how to browser the already 
installed gems' documentation.

David Sousa

Rick Lloyd wrote:
> Taken directly from the README.rdoc that is part of the installed
> package:
> 
>   sudo gem install friendly_id
>   cd my_app
>   script/generate friendly_id
>   rake db:migrate
> 


-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to