I started using ActiveAdmin recently in a project and almost everything works great but I\'m having a problem when using it in combination with the friendly_id gem.I\'m getting ActiveRecord::ReadOnlyR
Using: - Rails 3.0.3 - Friendly_id 4.0.0 Beta 11 - Windows - i18n (0.6.0, 0.5.0) according to \"gem list\"
I have an Artist model is name:string. and I want /u开发者_C百科sers/1/artists/jimi-hendrix/posts instead of what I have now which is /users/1/artists/1/posts
I have a model posts, which belongs_to category (which uses friendly_id). Now i want to list all Posts in an Category. To get the index page i want to use a link like: http://mysite/posts/category/_ca
I have a rails app that uses the FriendlyId gem and recently I\'ve started to get NoMethodErrors in development and test.This problem has only started recently and we\'re a couple of iterations into t
Now i have something like this http://myapp.com/pages/1 http://myapp.com/pages/2 http://myapp.com/pages/3
I\'m using the friendly_id gem. There\'s a rake task for deleting old slugs (from the docs): rake friendly_id:remove_old_slugs MODEL=<model name> DAYS=<days>
I have a collection of model objects that I am trying to return JSON for.E.G @regions.to_json(:only => [:id, :name ])
I have a edit form for @users. In there I have a text_field :username <%= form_for @user, :url => { :action => \"update\" } do |f| %>
In the friendly_id gem docs it says to create a table slugs where all slugs are created. But in addition it gives me the opportunity to add a column to my model table to increase performance using cac