Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
@model.map(&:attributes) を使用して、@model を json としてレンダリングするときに仮想属性が表示されるようにするにはどうすればよいですか
@model.to_json(:method => ['virtual_attribute1', 'virtual_attribute2']))
map電話もわからなかった
map