has_many => through association for rails polymorphic model
Example of polymorphic association using has_many, through, source.class student has_many :posts, :as => authorend class teacher has_many :posts, :as => author end class post belongs to...
View ArticleTesting restful & polymorphic resource routes on rails console
>Testing restful & polymorphic resource routes on rails consoleOpen rails consolerails c # In rails 3ORruby script/consoleapp object of URL>> app=>...
View Article
More Pages to Explore .....