Thanks Peter, Its not automagically instantiated for me. And given my zero ruby skills, i don't think i'll be able to rack down the problem soon, so i just keep deleting the offending lines in the view files.
regards, Daniel. On Mon, Nov 28, 2011 at 11:13 AM, Peter Kjellerstedt < [email protected]> wrote: > This is one of many, many functions that is automagically instantiated by > the Rails environment. In this case it is based on the repo.commit_compare > route in config/routes.rb. However, why it is not found for you I cannot > tell; that is by beyond my limited Ruby skills. All I know is that it works > for us…**** > > ** ** > > //Peter**** > > ** ** > > *From:* [email protected] [mailto:[email protected]] *On > Behalf Of *Okalany Daniel > *Sent:* den 28 november 2011 08:55 > *To:* Gitorious > *Subject:* [gitorious] Missing Function: > project_repository_commit_compare_path**** > > ** ** > > Hello All, > There is a function 'project_repository_commit_compare_path' called at > 'app/helpers/trees_helper.rb'. The rails app complains that its non > existent, and when i do a search for it, > in the mainline directory: > $ grep -H -r project_repository_commit_compare_path . > ./app/helpers/trees_helper.rb: > project_repository_commit_compare_path(project, repository, > ./app/helpers/event_rendering_helper.rb: diff_url = > project_repository_commit_compare_path(event.target.project, event.target, > :from_id => first_sha, :id => last_sha) > ./log/production.log:ActionView::TemplateError (undefined method > `project_repository_commit_compare_path' for > #<ActionView::Base:0xb5fdaca4>) on line #103 of > app/views/trees/show.html.erb: > > > There is no definition for it. Any idea where this function definition is? > > Daniel.**** > > -- > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected]**** > > -- > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > -- To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected]
