geron-cn / redmine_process_frameworks

To put Process Framework into practice as a plugin for redmine
http://202.202.11.125/pub_redmine/projects/framework
4 stars 4 forks source link

Support of rails 3.0 #7

Open wpayen opened 11 years ago

wpayen commented 11 years ago

With a redmine version 2.2.0 on rails 3.X I got this error.

ActionView::Template::Error (undefined method link_to_remote' for #<#<Class:0x7ff3b9141d38>:0x7ff3b8838a98>): 22: <% else %> 23: <li class= "Closed"> 24: <%= check_box_tag :"activity_#{activity.id}","yes",true %> 25: <%= link_my_remote activity %> 26: <ul> 27: <% @actions.each do |action| %> 28: <% @tasks = action.pf_tasks %> plugins/redmine_process_frameworks/app/helpers/init_select_helper.rb:4:inlink_my_remote' plugins/redmine_process_frameworks/app/views/init_select/select_activities.html.erb:25:in `_plugins_redmine_process_frameworks_app_views_init_select_select_activities_html_erb__1055766792_70342374682400'

Seems that a rail method change its name.

geron-cn commented 11 years ago

i'am really sorry about that i have no envirment this time, and i am in my vacation, but these days i will hand this problem, and response you soon,

it seems yours rails version updated not correct, could you show me your gem list, just type gem list in cmd or terminal

2013/1/14 wpayen notifications@github.com

With a redmine version 2.2.0 on rails 3.X I got this error.

ActionView::Template::Error (undefined method link_to_remote' for

<#Class:0x7ff3b9141d38:0x7ff3b8838a98>):

22: <% else %> 23:

  • 24: <%= check_boxtag :"activity#{activity.id}","yes",true %> 25: <%= link_my_remote activity %> 26:
      27: <% @actions.each do |action| %> 28: <% @tasks = action.pf_tasks %> plugins/redmine_process_frameworks/app/helpers/init_select_helper.rb:4:in link_my_remote' plugins/redmine_process_frameworks/app/views/init_select/select_activities.html.erb:25:in `_plugins_redmine_process_frameworks_app_views_init_select_select_activities_html_erb__1055766792_70342374682400'

      Seems that a rail method change its name.

      — Reply to this email directly or view it on GitHubhttps://github.com/geron-cn/redmine_process_frameworks/issues/7.

  • Brds.

    Weibo: @k-never-ever http://weibo.com/kfalling Blog: http://geron.heroku.com Geron: c.ever.fallen@gmail.com c.ever.fallen@gmail.com

    wpayen commented 11 years ago

    gem list

    * LOCAL GEMS *

    actionmailer (3.2.9) actionpack (3.2.9) activemodel (3.2.9) activerecord (3.2.9) activeresource (3.2.9) activesupport (3.2.9) annotate (2.5.0) arel (3.0.2) builder (3.0.0) bundler (1.2.3) coderay (1.0.8) daemon_controller (1.1.0) diff-lcs (1.1.3) erubis (2.7.0) fastercsv (1.5.5) fastthread (1.0.7) hike (1.2.1) i18n (0.6.1) journey (1.0.4) jquery-rails (2.0.3) json (1.7.6) mail (2.4.4) mime-types (1.19) multi_json (1.5.0) mysql (2.8.1) net-ldap (0.3.1) nokogiri (1.5.6, 1.4.3.1) passenger (3.0.18) pg (0.14.1) polyglot (0.3.3) rack (1.4.1) rack-cache (1.2) rack-openid (1.3.1) rack-ssl (1.3.2) rack-test (0.6.2) rails (3.2.9) railties (3.2.9) rake (10.0.3) rdoc (3.12) rmagick (2.13.1) rspec-core (2.12.2) rspec-expectations (2.12.1) rspec-mocks (2.12.1) rspec-rails (2.12.0) ruby-openid (2.1.8) simplecov (0.7.1) simplecov-html (0.7.1) simplecov-rcov (0.2.3) sprockets (2.2.2) sqlite3 (1.3.6) thor (0.16.0) tilt (1.3.3) treetop (1.4.12) tzinfo (0.3.35)

    I followed a tuto to install redmine 2.2.x on CentOs, i do not know if my installation is complete or if i missed something.

    devaroop commented 10 years ago

    Please check: https://github.com/devaroop/redmine_process_frameworks for the latest version