mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Fix the fucking rake task
This commit is contained in:
@@ -3,6 +3,7 @@ $: << pwd
|
||||
$: << File.join(pwd, "../../activesupport/lib")
|
||||
$: << File.join(pwd, "../../actionpack/lib")
|
||||
|
||||
require "action_controller"
|
||||
require "action_view"
|
||||
|
||||
# Require rubygems after loading Action View
|
||||
|
||||
@@ -37,7 +37,7 @@ module RailsGuides
|
||||
|
||||
if guide =~ /\.erb\.textile/
|
||||
# Generate the erb pages with textile formatting - e.g. index/authors
|
||||
result = view.render(:layout => 'layout', :file => guide)
|
||||
result = view.render(:layout => 'layout', :file => name)
|
||||
f.write textile(result)
|
||||
else
|
||||
body = File.read(File.join(view_path, guide))
|
||||
|
||||
@@ -26,7 +26,7 @@ p. We'd like to thank the following people for their tireless contributions to t
|
||||
<% end %>
|
||||
|
||||
<% author('Pratik Naik', 'lifo') do %>
|
||||
Pratik Naik is a Ruby on Rails consultant with "ActionRails":http://www.actionrails.com and also a member of the "Rails core team":http://rubyonrails.com/core. He blogs semi-regularly at "has_many :bugs, :through => :rails":http://m.onkey.org and has an active "twitter account":http://twitter.com/lifo.
|
||||
Pratik Naik is a Ruby on Rails consultant with "ActionRails":http://www.actionrails.com and also a member of the "Rails core team":http://rubyonrails.com/core. He maintains a blog at "has_many :bugs, :through => :rails":http://m.onkey.org and has an active "twitter account":http://twitter.com/lifo.
|
||||
|
||||
<% author('Emilio Tagua', 'miloops') do %>
|
||||
Emilio Tagua -- a.k.a. miloops -- is an Argentinian entrepreneur, developer, open source contributor and Rails evangelist. Cofounder of "Eventioz":http://www.eventioz.com. He has been using Rails since 2006 and contributing since early 2008. Can be found at gmail, twitter, freenode, everywhere as miloops.
|
||||
|
||||
Reference in New Issue
Block a user