RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: johnwilde
Adding a thor command to thor.json and the following method in custom_plan.rb seems to do the trick
thor
thor.json
custom_plan.rb
def thor require 'thor/runner' $thor_runner = true Thor::Runner.start end
Any suggestions for getting Zeus and Thor to work together?
I found that I needed to change this line: <% form_tag projects_path, :method => 'get' do %> to <%= form_tag projects_path, :method => 'get' do %> in order to get the form to appear.
<% form_tag projects_path, :method => 'get' do %>
<%= form_tag projects_path, :method => 'get' do %>
Adding a
thor
command tothor.json
and the following method incustom_plan.rb
seems to do the trickAny suggestions for getting Zeus and Thor to work together?
I found that I needed to change this line:
<% form_tag projects_path, :method => 'get' do %>
to
<%= form_tag projects_path, :method => 'get' do %>
in order to get the form to appear.