Skip to content

Commit

Permalink
update sample
Browse files Browse the repository at this point in the history
  • Loading branch information
xdite committed May 29, 2013
1 parent ed8dff1 commit 20ed914
Show file tree
Hide file tree
Showing 12 changed files with 30 additions and 12 deletions.
1 change: 1 addition & 0 deletions manuscript/Book.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
about-author.txt
preface.txt
how-to-use.txt
requirement.txt
Expand Down
1 change: 1 addition & 0 deletions manuscript/Sample.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
about-author.txt
preface.txt
how-to-use.txt
requirement.txt
13 changes: 13 additions & 0 deletions manuscript/about-author.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# 作者介紹


我是 [xdite](http://blog.xdite.net)。以 Ruby on Rails 撰寫網站已經累積接近 6 年的時間 ( Since 2007 )。

我有一個以 Web 開發經驗為主的 blog [Blog.XDite.net](http://blog.xdite.net),不定期會發表各式各類以 Rails 開發為主軸相關的文章。

我曾經受邀至 Ruby Taiwan Conf、Ruby China Conf、Reddot Conf ( Singapore Ruby Conf ) 發表 Rails 開發相關的演說。

我曾經以 Ruby on Rails 作為開發技術,奪得 [Facebook World Hack 2013 Global Grand Prize](http://paperclip.io/pages/about)。

我現在在 [Rocodev](http://rocodev.com) 工作,這是我持有的軟體公司。

2 changes: 1 addition & 1 deletion manuscript/chapter-01-1-1.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{::pagebreak :/}

## Ch 1.1.1 建立 index 這個 action
## Ch 1.1.1 建立 Groups Controller 裡的 index

到 `app/controllers/groups_controller.rb` 加入

Expand Down
4 changes: 2 additions & 2 deletions manuscript/chapter-01-1-2.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{::pagebreak :/}

## Ch 1.1.2 建立 show 這個 action
## Ch 1.1.2 建立 Groups Controller 裡的 show

在 `app/controllers/groups_controller.rb` 加入 `show` 這個 action

Expand Down Expand Up @@ -46,5 +46,5 @@ touch app/views/groups/show.html.erb
def show
@group = Group.find(params[:id])
end

~~~~~~~~
2 changes: 1 addition & 1 deletion manuscript/chapter-01-1-3.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{::pagebreak :/}

## Ch 1.1.3 建立 new 這個 action
## Ch 1.1.3 建立 Groups Controller 裡的 new

在 `app/controllers/groups_controller.rb` 加入 `new` 這個 action

Expand Down
2 changes: 1 addition & 1 deletion manuscript/chapter-01-1-4.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{::pagebreak :/}

## Ch 1.1.4 建立 create 這個 action
## Ch 1.1.4 建立 Groups Controller 裡的 create

在 `app/controllers/groups_controller.rb` 加入 `create` 這個 action

Expand Down
2 changes: 1 addition & 1 deletion manuscript/chapter-01-1-5.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{::pagebreak :/}

## Ch 1.1.5 建立 edit 這個 action
## Ch 1.1.5 建立 Groups Controller 裡的 edit

在 `app/controllers/groups_controller.rb` 加入 `edit` 這個 action

Expand Down
2 changes: 1 addition & 1 deletion manuscript/chapter-01-1-6.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{::pagebreak :/}

## Ch 1.1.6 建立 update 這個 action
## Ch 1.1.6 建立 Groups Controller 裡的 update


在 `app/controllers/groups_controller.rb` 加入 `update` 這個 action
Expand Down
2 changes: 1 addition & 1 deletion manuscript/chapter-01-1-7.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{::pagebreak :/}

## Ch 1.1.7 建立 destroy 這個 action
## Ch 1.1.7 建立 Groups Controller 裡的 destroy

在 `app/controllers/groups_controller.rb` 加入 `destroy` 這個 action

Expand Down
6 changes: 3 additions & 3 deletions manuscript/how-to-use.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@

如果你真的解不開這裡面的題目,我才希望你看解答。

如果你再搞不懂,我們 host 了一個每週二舉辦的 Rails Meetup <http://www.meetup.com/taipei-rails-meetup/> ,歡迎帶著你手邊的問題來這裡問。
如果你偏好當面問也住在台北,我們 host 了一個每週二舉辦的 Rails Meetup <http://www.meetup.com/taipei-rails-meetup/> ,歡迎帶著你手邊的問題來這裡問。這邊的同好對於新手都很友善,會十分樂於回答你的問題而已

這邊的同好對於新手都很友善,會十分樂於回答你的問題而已。(再找不到人,可以指名 co-organizer 小蟹 幫忙)
如果你不住在台北,我開了一個線上討論區 <http://bumblr.io/groups/26>,這裡可以詢問本書相關的問題。

(只有我很兇 XD,我比較偏好回答 Production 上的問題)
發問請貼程式碼,可將程式碼貼在 [Gist](http://gist.github.com) 上,再轉貼到論壇上發問。
5 changes: 4 additions & 1 deletion manuscript/preface.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# 本書由來

TODO
我自 2009 年以來,就開始訓練 Rails Developer。訓練方式是使用一系列題目,培養開發者對於 Rails 相關工具的熟悉度。

這一本書是該系列題目的答案本。

0 comments on commit 20ed914

Please sign in to comment.