サクサク読めて、アプリ限定の機能も多数!
文字列でActiveRecordの属性を取得する方法
toshihiko150 のブックマーク 2013/05/21 17:06
get attribute of ActiveRecord object by string[Rails] 文字列でActiveRecordの属性を取得する方法2013/05/21 17:06
このブックマークにはスターがありません。 最初のスターをつけてみよう!
stackoverflow.com2013/05/21
It is probably a really simple thing but can't find a solution. I have an ActiveRecord object and want to get an attribute like this: attribute_name = "name" user = User.find(1) user.get_attribute_...
2 人がブックマーク・1 件のコメント
\ コメントが サクサク読める アプリです /
文字列でActiveRecordの属性を取得する方法
このブックマークにはスターがありません。
最初のスターをつけてみよう!
get attribute of ActiveRecord object by string
It is probably a really simple thing but can't find a solution. I have an ActiveRecord object and want to get an attribute like this: attribute_name = "name" user = User.find(1) user.get_attribute_...
2 人がブックマーク・1 件のコメント
\ コメントが サクサク読める アプリです /