0


我发现理解 rails api 有一些困难,从 rails api 观看 ActionView 模块我看到它包含以下模块和类:

MODULE ActionView::Context
MODULE ActionView::Helpers
MODULE ActionView::ModelNaming
MODULE ActionView::RecordIdentifier
MODULE ActionView::RoutingUrlFor
CLASS ActionView::Base
CLASS ActionView::DependencyTracker
CLASS ActionView::Digestor
CLASS ActionView::FileSystemResolver
CLASS ActionView::FixtureResolver
CLASS ActionView::LogSubscriber
CLASS ActionView::LookupContext
CLASS ActionView::NullResolver
CLASS ActionView::PartialRenderer
CLASS ActionView::Renderer
CLASS ActionView::Resolver
CLASS ActionView::Template
CLASS ActionView::TestCase

但我不明白这些模块和类中的哪些是我认为自动可用的??

4

1 回答 1

0

All of what you listed are available to your views.

于 2013-11-07T19:55:17.170 回答