サクサク読めて、アプリ限定の機能も多数!
シンボルからクラスを参照する方法
minodisk のブックマーク 2015/12/24 11:22
Get model class from symbol[Ruby]シンボルからクラスを参照する方法2015/12/24 11:22
このブックマークにはスターがありません。 最初のスターをつけてみよう!
stackoverflow.com2015/12/14
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...
2 人がブックマーク・1 件のコメント
\ コメントが サクサク読める アプリです /
シンボルからクラスを参照する方法
minodisk のブックマーク 2015/12/24 11:22
このブックマークにはスターがありません。
最初のスターをつけてみよう!
Get model class from symbol
stackoverflow.com2015/12/14
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...
2 人がブックマーク・1 件のコメント
\ コメントが サクサク読める アプリです /