PiRSquared17 / activescaffold

Automatically exported from code.google.com/p/activescaffold
MIT License
0 stars 0 forks source link

activescaffold on ruby 1.9.1 and rails 2.3.2 #677

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. create a new rails project
2. install active scaffold plugin
3. run script/server

How to fix : 
--- a/lib/active_scaffold/helpers/list_column_helpers.rb
+++ b/lib/active_scaffold/helpers/list_column_helpers.rb
@@ -1,3 +1,4 @@
+# coding: utf-8
 module ActiveScaffold
   module Helpers
     # Helpers that assist with the rendering of a List Column

What version (or revision) of the product are you using?
checkout from github with latest commit
4c348e90194064b5acaa21d2d60dda6015501d0d

If this bug causes an exception, please paste at least the first 20 lines
below.
=> Booting WEBrick
=> Rails 2.3.2 application starting on http://0.0.0.0:3000
/usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.3.2/lib/active_support/depen
dencies.rb:380:in
`load':
/home/dale/dtd/trunk/vendor/plugins/active_scaffold/lib/active_scaffold/helpers/
list_column_helpers.rb:35:
invalid multibyte char (US-ASCII) (SyntaxError)
/home/dale/dtd/trunk/vendor/plugins/active_scaffold/lib/active_scaffold/helpers/
list_column_helpers.rb:35:
invalid multibyte char (US-ASCII)
/home/dale/dtd/trunk/vendor/plugins/active_scaffold/lib/active_scaffold/helpers/
list_column_helpers.rb:35:
syntax error, unexpected $end, expecting keyword_end
...[column.associated_limit] = '…' if firsts.length > column....
...                               ^
    from
/usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.3.2/lib/active_support/depen
dencies.rb:380:in
`block in load_file'
    from
/usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.3.2/lib/active_support/depen
dencies.rb:521:in
`new_constants_in'
    from
/usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.3.2/lib/active_support/depen
dencies.rb:379:in
`load_file'
    from
/usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.3.2/lib/active_support/depen
dencies.rb:259:in
`require_or_load'
    from
/usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.3.2/lib/active_support/depen
dencies.rb:425:in
`load_missing_constant'
    from
/usr/local/lib/ruby/gems/1.9.1/gems/activesupport-2.3.2/lib/active_support/depen
dencies.rb:80:in
`const_missing_with_dependencies'
    from
/home/dale/dtd/trunk/vendor/plugins/active_scaffold/lib/active_scaffold/helpers/
view_helpers.rb:9:in
`<module:ViewHelpers>'
    from
/home/dale/dtd/trunk/vendor/plugins/active_scaffold/lib/active_scaffold/helpers/
view_helpers.rb:5:in
`<module:Helpers>'
    from
/home/dale/dtd/trunk/vendor/plugins/active_scaffold/lib/active_scaffold/helpers/
view_helpers.rb:2:in
`<module:ActiveScaffold>'
    from
/home/dale/dtd/trunk/vendor/plugins/active_scaffold/lib/active_scaffold/helpers/
view_helpers.rb:1:in
`<top (required)>'

Original issue reported on code.google.com by dale.hof...@gmail.com on 3 Apr 2009 at 1:38

GoogleCodeExporter commented 9 years ago
Fixed in a52b0a789bac123644f926139ea39a4a42a06279

Original comment by sergio.c...@gmail.com on 6 Apr 2009 at 7:21

GoogleCodeExporter commented 9 years ago

Original comment by mr.ga...@gmail.com on 6 Apr 2009 at 4:14