i am experimenting to use permalink_fu to provide clean urls. To begin with, I have installed it and made necessary changes to models, routes etc. As I have existing records in table, I wanted to update its permalink column. So in console, I gave Category.find(:all).each(&:save) --as specified by some article permalink column gets updated with some crypted like string, like the ones given below. 43c87da01925d7479495cf2617c52c70f18d444f 8012221562396cf8562fa4bf6b12d0a0ba23d528 url links use this as in domain.com/category/8012221562396cf8562fa4bf6b12d0a0ba23d528 any help is highly appreciated. -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
No one can really help you without looking at your code. - Maurício Linhares http://alinhavado.wordpress.com/ (pt-br) | http://blog.codevader.com/ (en) On Sun, Mar 1, 2009 at 11:06 AM, Rails List <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> > i am experimenting to use permalink_fu to provide clean urls. To begin > with, I have installed it and made necessary changes to models, routes > etc. As I have existing records in table, I wanted to update its > permalink column. So in console, I gave > > Category.find(:all).each(&:save) --as specified by some article > > permalink column gets updated with some crypted like string, like the > ones given below. > > 43c87da01925d7479495cf2617c52c70f18d444f > 8012221562396cf8562fa4bf6b12d0a0ba23d528 > > url links use this as in > > domain.com/category/8012221562396cf8562fa4bf6b12d0a0ba23d528 > > any help is highly appreciated. > -- > 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Maurício Linhares wrote:> No one can really help you without looking at your code. > > - > Maur�cio Linhares > http://alinhavado.wordpress.com/ (pt-br) | http://blog.codevader.com/ > (en) > > > > On Sun, Mar 1, 2009 at 11:06 AM, Rails ListThe question is not about my code. Its about how to use permalink_fu to an existing project. More specifically, how to update existing models ( updating permalink_fu column for the existing records ) have you used permalink_fu before?. -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---