aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/test/models/helicopter.rb
diff options
context:
space:
mode:
authorJosé Valim <jose.valim@gmail.com>2011-07-28 00:50:07 -0700
committerJosé Valim <jose.valim@gmail.com>2011-07-28 00:50:07 -0700
commit1b7db58a0604b01cd5c3a8d73b11158a48e45772 (patch)
tree69e237be48cc87fecce85c3e3c9cde1f844814d9 /activemodel/test/models/helicopter.rb
parent8248052ee74465abfae5b202270e96c9fd93e785 (diff)
parentbf812074fd55e7dcfa426d6c9bfd4d8d68922194 (diff)
downloadrails-1b7db58a0604b01cd5c3a8d73b11158a48e45772.tar.gz
rails-1b7db58a0604b01cd5c3a8d73b11158a48e45772.tar.bz2
rails-1b7db58a0604b01cd5c3a8d73b11158a48e45772.zip
Merge pull request #2034 from Casecommons/to_path
Allow ActiveModel-compatible instances to define their own partial paths
Diffstat (limited to 'activemodel/test/models/helicopter.rb')
-rw-r--r--activemodel/test/models/helicopter.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/activemodel/test/models/helicopter.rb b/activemodel/test/models/helicopter.rb
new file mode 100644
index 0000000000..a52b6fb4dd
--- /dev/null
+++ b/activemodel/test/models/helicopter.rb
@@ -0,0 +1,3 @@
+class Helicopter
+ include ActiveModel::Conversion
+end