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
3ad89fced2
rails--rails
/
activemodel
/
test
/
models
/
blog_post.rb
10 lines
120 B
Ruby
Raw
Normal View
History
Unescape
Escape
Prepared ActiveModel::Naming to handle cases for namespaced isolated engines
2010-08-31 16:17:42 -04:00
module
Blog
Rely on a public contract between railties instead of accessing railtie methods directly.
2011-11-23 14:06:45 -05:00
def
self
.
use_relative_model_naming?
true
Prepared ActiveModel::Naming to handle cases for namespaced isolated engines
2010-08-31 16:17:42 -04:00
end
class
Post
extend
ActiveModel
::
Naming
end
end
Copy permalink