friendly-id
friendly_id and ActiveScaffold conflict
I have friendly_id and ActiveScaffold installed for my Rails application. Because not all of my models have unique name fields I have to开发者_StackOverflow社区 use the Slugged Model to make it work.[详细]
2023-02-05 14:17 分类:问答authlogic require user
I use authlogic for authentication and certain actions require a logged in user, which is controlled via a before_filter like the following. I also use friendly_id on the User model and internally eve[详细]
2023-01-19 22:09 分类:问答Friendly_id for fixtures (slugs)
I am using freindly_id in my application. I have setup a few fixtures in my application. I want to do integration testing on them. During the tests I need the friendly_id, but the DB records created f[详细]
2022-12-23 18:05 分类:问答How can I use friendly ID in Rails like mysite.com/[USERNAME]
How can I use friendly URLs on my Rails application ? All I need is to make available the following url format[详细]
2022-12-22 13:25 分类:问答Why do you have to explicitly specify scope with friendly_id?
I\'m using the friendly_id gem. I also have my routes nested: # config/routes.rb map.resources :users do |user|[详细]
2022-12-12 05:24 分类:问答