シンボルからクラスを参照する方法

minodiskminodisk のブックマーク 2015/12/24 11:22

その他

このブックマークにはスターがありません。
最初のスターをつけてみよう!

Get model class from symbol

    I'm implementing a method, that will be used in many places of a project. def do association end "association" is a symbol, like :articles, :tags, :users etc. When the association is :articles, I n...

    \ コメントが サクサク読める アプリです /

    • App Storeからダウンロード
    • Google Playで手に入れよう