Return to book
Review this book
About the author
Introduction
1.
chapter1 - 關於MVC
1.1.
Model
1.1.1.
has_many :through
1.1.2.
validation
1.1.3.
scope
1.1.4.
ids
1.1.5.
collect(&:id)
1.1.6.
includes
1.1.7.
counter_cache
1.1.8.
STI
1.1.9.
Polymorphic Assoiciaion
1.1.10.
不要把该放在 helper 的东西放在 model 里
1.1.11.
refactor controller code to model
1.2.
View
1.2.1.
什麼是 helper
1.2.2.
什麼是 partial
1.2.3.
什麼是 collection partial
1.2.4.
什麼東西應該放在 partial / 什麼東西應該放在 helper
1.2.5.
yield in view
1.2.6.
不應該放在 view 裡的東西
1.2.7.
form
1.2.8.
essential helpers
1.2.9.
helper patterns
1.3.
Controller
1.3.1.
filters : before_filter, after_filter, around_filter
1.3.2.
render :template
1.3.3.
render :layout
1.3.4.
render :text
1.3.5.
render options
1.3.6.
redirec_to 與 render
1.3.7.
respond_to 與 respond_with
1.3.8.
builders
2.
Chapter2 - 關於Rails
2.1.
RESTful
2.2.
Routing
2.3.
Rack
2.4.
Rake
2.5.
Bundler
2.6.
Unobtrusive Javascript
2.7.
I18n
3.
Chapter3 - 關於ruby
3.1.
Ruby syntax
3.2.
String / Array / Hash
3.3.
map
3.4.
lambda
3.5.
self
3.6.
block
3.7.
instance method / class method
3.8.
instance variable / class variable
3.9.
Mixin / Extend / Inheritance
3.10.
override
Powered by
GitBook
A
A
Serif
Sans
White
Sepia
Night
Twitter
Google
Facebook
Weibo
Instapaper
邁向 Rails 高級新手
Ruby syntax
TODO