Skip to content

Commit

Permalink
Fix app generator so that it uses the right app_name during rails:upd…
Browse files Browse the repository at this point in the history
…ate rake task. [#5207 state:committed]

Signed-off-by: José Valim <jose.valim@gmail.com>
  • Loading branch information
rohitarondekar authored and josevalim committed Jul 27, 2010
1 parent a2ca9cb commit 5d3e8ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion railties/lib/rails/tasks/framework.rake
Expand Up @@ -54,7 +54,7 @@ namespace :rails do

namespace :update do
def invoke_from_app_generator(method)
app_generator.invoke(method)
app_generator.send(method)
end

def app_generator
Expand Down

1 comment on commit 5d3e8ee

@dmathieu
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you. That was quite perturbing.

Please sign in to comment.