# How to get fleximage plugin work on edge?

**URL:** <https://www.ruby-forum.com/t/how-to-get-fleximage-plugin-work-on-edge/148205>\
**Category:** Rails\
**Created:** [September 10, 2008, 1:05pm UTC](https://www.ruby-forum.com/t/how-to-get-fleximage-plugin-work-on-edge/148205 "2008-09-10T13:05:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Erik\_Dahlstrand](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/bbe5ce/32.png) [@Erik\_Dahlstrand](https://www.ruby-forum.com/u/Erik_Dahlstrand)\
**Post date:** [September 10, 2008, 1:05pm UTC](https://www.ruby-forum.com/t/how-to-get-fleximage-plugin-work-on-edge/148205/1 "2008-09-10T13:05:19Z")

</div>

Hi all!

I have developed an application during the last month as a personal  
rails learning project (I’m from .NET world). Now I want to make the  
site public. The application is developed using edge rails because I  
need the I18n features. The thing is that the fleximage plugin stopped  
working when I moved to edge. Any help how to fix this would be highly  
appreciated.

This is the log messages when calling the image show action:

NoMethodError (undefined method `compile' for #<Fleximage::View: 0xb5fd9688>): /vendor/rails/actionpack/lib/action_view/template_handler.rb:11:in`call’  
/vendor/rails/actionpack/lib/action\_view/renderable.rb:22:in  
`_unmemoized_compiled_source' /vendor/rails/activesupport/lib/active_support/memoizable.rb:53:in`compiled\_source’  
/vendor/rails/activesupport/lib/active\_support/memoizable.rb:21:in  
` __send__' /vendor/rails/activesupport/lib/active_support/memoizable.rb:21:in`memoize\_all’  
/vendor/rails/activesupport/lib/active\_support/memoizable.rb:18:in  
`each' /vendor/rails/activesupport/lib/active_support/memoizable.rb:18:in`memoize\_all’  
/vendor/rails/activesupport/lib/active\_support/memoizable.rb:13:in  
`freeze' /vendor/rails/activesupport/lib/active_support/memoizable.rb:66:in`\_pick\_template’  
/vendor/rails/actionpack/lib/action\_view/base.rb:351:in  
`_exempt_from_layout?' /vendor/rails/actionpack/lib/action_controller/layout.rb:241:in` **send** ’  
/vendor/rails/actionpack/lib/action\_controller/layout.rb:241:in  
`candidate_for_layout?' /vendor/rails/actionpack/lib/action_controller/layout.rb:255:in`pick\_layout’  
/vendor/rails/actionpack/lib/action\_controller/base.rb:864:in  
`render_without_benchmark' /vendor/rails/actionpack/lib/action_controller/benchmarking.rb: 51:in`render’  
/vendor/rails/activesupport/lib/active\_support/core\_ext/  
benchmark.rb:8:in `realtime' /vendor/rails/actionpack/lib/action_controller/benchmarking.rb: 51:in`render’  
/vendor/rails/actionpack/lib/action\_controller/mime\_responds.rb:  
135:in `send' /vendor/rails/actionpack/lib/action_controller/mime_responds.rb: 135:in`custom’  
/vendor/rails/actionpack/lib/action\_controller/mime\_responds.rb:  
164:in `call' /vendor/rails/actionpack/lib/action_controller/mime_responds.rb: 164:in`respond’  
/vendor/rails/actionpack/lib/action\_controller/mime\_responds.rb:  
158:in `each' /vendor/rails/actionpack/lib/action_controller/mime_responds.rb: 158:in`respond’  
/vendor/rails/actionpack/lib/action\_controller/mime\_responds.rb:  
107:in `respond_to' /app/controllers/attachments_controller.rb:22:in`show’  
/vendor/rails/actionpack/lib/action\_controller/base.rb:1175:in  
`send' /vendor/rails/actionpack/lib/action_controller/base.rb:1175:in`perform\_action\_without\_filters’  
/vendor/rails/actionpack/lib/action\_controller/filters.rb:617:in  
`call_filters' /vendor/rails/actionpack/lib/action_controller/filters.rb:610:in`perform\_action\_without\_benchmark’

Kind regards, Erik

---

<div class="post-metadata">

**Author:** ![Erik\_Dahlstrand](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/bbe5ce/32.png) [@Erik\_Dahlstrand](https://www.ruby-forum.com/u/Erik_Dahlstrand)\
**Post date:** [September 11, 2008, 9:04am UTC](https://www.ruby-forum.com/t/how-to-get-fleximage-plugin-work-on-edge/148205/2 "2008-09-11T09:04:24Z")

</div>

I’ve also experienced this problem, I need to use new functionality in  
edge rails and this has broken my FlexImage setup. I did try just  
creating an empty ‘compile’ method but unfortunately this created more  
problems.

Anyone had any joy yet?

RobL

---

<div class="post-metadata">

**Author:** ![Erik\_Dahlstrand](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/bbe5ce/32.png) [@Erik\_Dahlstrand](https://www.ruby-forum.com/u/Erik_Dahlstrand)\
**Post date:** [December 16, 2008, 1:37pm UTC](https://www.ruby-forum.com/t/how-to-get-fleximage-plugin-work-on-edge/148205/3 "2008-12-16T13:37:10Z")

</div>

This is now resolved it seems 🙂

> <https://github.com/AlexJWayne/fleximage/commit/1ed1b457d7c946926b695655395a603b1a1e64a7>

RobL
