This website requires JavaScript.
Explore
Help
Sign in
kotovalexarian-likes-github
/
rails--rails
Watch
1
Star
0
Fork
You've already forked rails--rails
0
mirror of
https://github.com/rails/rails.git
synced
2022-11-09 12:12:34 -05:00
Code
Releases
Activity
aa9101eb7e
rails--rails
/
activemodel
/
test
/
models
/
helicopter.rb
8 lines
121 B
Ruby
Raw
Normal View
History
Unescape
Escape
Let ActiveModel instances define partial paths. Deprecate ActiveModel::Name#partial_path. Now you should call #to_path directly on ActiveModel instances.
2011-07-08 17:54:15 -04:00
class
Helicopter
include
ActiveModel
::
Conversion
end
test for ActiveModel::Conversion#to_partial_path and namespaced models
2013-01-14 14:05:43 -05:00
class
Helicopter
::
Comanche
include
ActiveModel
::
Conversion
end
Copy permalink