Can't create new project.

View: New views
6 Messages — Rating Filter:   Alert me  

Can't create new project.

by Doug Knesek-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Hi.

I've finally got all the servers to startup without error.  When I go to the home page and click the "New Project" link, here is what I get.

NoMethodError in Project#new

Showing app/views/project/_plugin_group.rhtml where line #1 raised:

undefined method `fields_for' for #<#<Class:0x3020cd0>:0x31dac24>

Extracted source (around line #1):

1: <% fields_for(:plugin, plugins[0]) do |p| %>
2:   <span class="plugin_group_header"><%= p.group_name %></span><br/>
3: <% end %>
4: <% plugins.each do |plugin| %>

Trace of template inclusion: /app/views/project/settings.rhtml

RAILS_ROOT: /Users/dknesek/damagecontrol/trunk

Application Trace | Framework Trace | Full Trace
#{RAILS_ROOT}/app/views/./project/_plugin_group.rhtml:1
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/base.rb:268:in `compile_and_render_template'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/base.rb:244:in `render_template'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/base.rb:205:in `__render_file'
#{RAILS_ROOT}/vendor/plugins/rscm_browser/lib/rscm_browser/rails_ext/render_fallback.rb:21:in `render_file'
#{RAILS_ROOT}/vendor/plugins/rscm_browser/lib/rscm_browser/rails_ext/render_fallback.rb:18:in `render_file'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/base.rb:220:in `render'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/partials.rb:58:in `render_partial'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:33:in `benchmark'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/partials.rb:57:in `render_partial'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/base.rb:230:in `render'
#{RAILS_ROOT}/app/views/././project/settings.rhtml:24
#{RAILS_ROOT}/app/views/././project/settings.rhtml:23
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/base.rb:268:in `compile_and_render_template'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/base.rb:244:in `render_template'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_view/base.rb:205:in `__render_file'
#{RAILS_ROOT}/vendor/plugins/rscm_browser/lib/rscm_browser/rails_ext/render_fallback.rb:21:in `render_file'
#{RAILS_ROOT}/vendor/plugins/rscm_browser/lib/rscm_browser/rails_ext/render_fallback.rb:18:in `render_file'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:655:in `__render_file'
#{RAILS_ROOT}/vendor/plugins/rscm_browser/lib/rscm_browser/rails_ext/render_fallback.rb:48:in `render_file'
#{RAILS_ROOT}/vendor/plugins/rscm_browser/lib/rscm_browser/rails_ext/render_fallback.rb:45:in `render_file'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:595:in `render_with_no_layout'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:647:in `render_action'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:612:in `render_with_no_layout'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/layout.rb:217:in `render_without_benchmark'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:53:in `render'
/usr/local/lib/ruby/1.8/benchmark.rb:293:in `measure'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:53:in `render'
#{RAILS_ROOT}/app/controllers/project_controller.rb:17:in `new'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:853:in `perform_action_without_filters'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/filters.rb:332:in `perform_action_without_benchmark'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `perform_action_without_rescue'
/usr/local/lib/ruby/1.8/benchmark.rb:293:in `measure'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/benchmarking.rb:69:in `perform_action_without_rescue'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/rescue.rb:82:in `perform_action'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/base.rb:369:in `process_without_session_management_support'
/usr/local/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/session_management.rb:116:in `process'
/usr/local/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/dispatcher.rb:38:in `dispatch'
/usr/local/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/fcgi_handler.rb:141:in `process_request'
/usr/local/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/fcgi_handler.rb:53:in `process!'
/usr/local/lib/ruby/site_ruby/1.8/fcgi.rb:600:in `each_cgi'
/usr/local/lib/ruby/site_ruby/1.8/fcgi.rb:597:in `each_cgi'
/usr/local/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/fcgi_handler.rb:52:in `process!'
/usr/local/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/fcgi_handler.rb:22:in `process!'
#{RAILS_ROOT}/public/dispatch.fcgi:24

Request

Parameters: None

Show session dump

Response

Headers: {"cookie"=>[], "Cache-Control"=>"no-cache"}


Re: Can't create new project.

by Aslak Hellesoy :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 1/17/06, Doug Knesek <doug.knesek@...> wrote:
>  Hi.
>
>  I've finally got all the servers to startup without error.  When I go to
> the home page and click the "New Project" link, here is what I get.
>
(snip)

Let's start using Trac to track bugs and general problems. I've
created a ticket for this one:
http://dev.buildpatterns.com/trac/ticket/6

Aslak

Re: Can't create new project.

by Doug Knesek-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

OK. Thanks.

aslak hellesoy wrote:

>On 1/17/06, Doug Knesek <doug.knesek@...> wrote:
>  
>
>> Hi.
>>
>> I've finally got all the servers to startup without error.  When I go to
>>the home page and click the "New Project" link, here is what I get.
>>
>>    
>>
>(snip)
>
>Let's start using Trac to track bugs and general problems. I've
>created a ticket for this one:
>http://dev.buildpatterns.com/trac/ticket/6
>
>Aslak
>  
>


Re: Can't create new project.

by Aslak Hellesoy :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 1/17/06, Doug Knesek <doug.knesek@...> wrote:
> OK. Thanks.

I updated the ticket. You have to use edge rails.

remove me from the list

by Johnny Ren :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Please remove me from the list.

thanks

Johnny


--- aslak hellesoy <aslak.hellesoy@...> wrote:

> On 1/17/06, Doug Knesek
> <doug.knesek@...> wrote:
> > OK. Thanks.
>
> I updated the ticket. You have to use edge rails.
>


================================================
Johnny Ren
Sun Certified Enterprise Architect
Sun Certified Web Component Developer
IBM OOA/OOD with UML, IBM J2EE Connectivity
Weblogic 6.0 Certified Developer, JCert enterprise developer

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com 

Re: Can't create new project.

by Doug Knesek-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

That fixed things.  Thanks Aslak.

aslak hellesoy wrote:

>On 1/17/06, Doug Knesek <doug.knesek@...> wrote:
>  
>
>>OK. Thanks.
>>    
>>
>
>I updated the ticket. You have to use edge rails.
>  
>