Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NoMethodError under Redmine 1.4.3.stable.9830 (ruby 1.9.3 / rails 1.1.3) #1

Open
SirDregan opened this issue Jun 17, 2012 · 8 comments

Comments

@SirDregan
Copy link

Charts doesn't work anymore after updateing ruby & rails.

It installs fine and shows up, but if I click on charts, I get the following error:
Processing ChartsBurndownController#index (for 188.195.40.54 at 2012-06-17 22:41:42) [GET]
Parameters: {"controller"=>"charts_burndown", "project_id"=>"intern", "action"=>"index"}

NoMethodError (undefined method to_a' for #<Project:0x00000004b11c10>): vendor/plugins/redmine_charts/app/controllers/charts_controller.rb:46:inindex'
internal:prelude:10:in synchronize' public/dispatch.fcgi:24:in

'

Rendering /srv/sh-redmine/public/500.html (500 Internal Server Error)

Any idea how to fix this?
I'd really love to use this plugin again :(

Thanks in advance!

@cforce
Copy link
Owner

cforce commented Jun 18, 2012

Please test 1.4 fork and give us feedback. I will pull that then.
https://github.com/drakontia/redmine_charts.git

@SirDregan
Copy link
Author

Thanks for the fast answer. But that doesn't work either.
We're getting the same error.

@cforce
Copy link
Owner

cforce commented Jun 18, 2012

Did you check
https://github.com/cou2jpn/redmine_charts.git

also?

Sorry, but we're still on 1.3

@SirDregan
Copy link
Author

yes, this was our first try but we get the same error there and can't post issues ;)
We'll have to wait, then.

But thanks anyway.

@cforce
Copy link
Owner

cforce commented Aug 19, 2012

@drakontia
Copy link

Umm... difficult problem for me.

BTW, rails is 1.1.3?? not 2.3.x?
So, type one more command.

gem list

@cforce
Copy link
Owner

cforce commented Aug 24, 2012

we use redmine 1.3 with rails Rails 2.3.14.

Redmine 2.x uses rails 3, see http://www.redmine.org/projects/redmine/wiki/RedmineInstall

@drakontia
Copy link

@cforce

sorry. I hoped a reply from @SirDregan .
I had a question about rails version, because the title of this issue is "NoMethodError under Redmine 1.4.3.stable.9830 (ruby 1.9.3 / rails 1.1.3)"
And I fixed this issue.

thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants