https://www.redmine.org/https://www.redmine.org/favicon.ico?16793021292018-12-13T22:42:58ZRedmineRedmine - Defect #30209: undefined method `alias_method_chain' for ActionView::Base:Class (NoMethodError)https://www.redmine.org/issues/30209?journal_id=889652018-12-13T22:42:58ZNigel Wilson
<ul></ul><p>I ran into this issue as well. I made the following changes in the GemFile to meet all the dependencies. However, I am using MS Sql Server, so you will need to find the corresponding adapter for mysql.</p>
<p>Change: gem "rails", "5.2.2" <br />To: gem "rails", :git => "https://github.com/rails/rails.git", :branch => "5-2-2"</p>
<p>Change: gem "tiny_tds", "~> 1.0.5" <br />To: "tiny_tds", "~> 2.1.2"</p>
<p>Change: gem "activerecord-sqlserver-adapter",<br />To: gem "activerecord-sqlserver-adapter", :git => "https://github.com/rails-sqlserver/activerecord-sqlserver-adapter.git",</p> Redmine - Defect #30209: undefined method `alias_method_chain' for ActionView::Base:Class (NoMethodError)https://www.redmine.org/issues/30209?journal_id=889672018-12-13T23:21:35ZJean-Philippe Langjp_lang@yahoo.fr
<ul><li><strong>Category</strong> set to <i>Plugin Request</i></li><li><strong>Status</strong> changed from <i>New</i> to <i>Closed</i></li><li><strong>Resolution</strong> set to <i>Invalid</i></li></ul><p>render_parent is not loaded by Redmine core but by your redmine_latex_mathjax plugin. You should try to upgrade your plugin.</p> Redmine - Defect #30209: undefined method `alias_method_chain' for ActionView::Base:Class (NoMethodError)https://www.redmine.org/issues/30209?journal_id=889692018-12-14T01:27:01ZGo MAEDA
<ul></ul><p>Nigel Wilson, thank you for reporting the problem regarding MS SQL Server. I have created another issue <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Defect: Crash with the message "undefined method `alias_method_chain'" when connecting to Microsoft SQL S... (Closed)" href="https://www.redmine.org/issues/30211">#30211</a>.</p>
<p>Could you paste the crash log which includes "undefined method `alias_method_chain'" on <a class="issue tracker-1 status-5 priority-4 priority-default closed" title="Defect: Crash with the message "undefined method `alias_method_chain'" when connecting to Microsoft SQL S... (Closed)" href="https://www.redmine.org/issues/30211">#30211</a>?</p> Redmine - Defect #30209: undefined method `alias_method_chain' for ActionView::Base:Class (NoMethodError)https://www.redmine.org/issues/30209?journal_id=889762018-12-14T07:31:26ZTobias Verbeke
<ul></ul><p>Jean-Philippe Lang wrote:</p>
<blockquote>
<p>render_parent is not loaded by Redmine core but by your redmine_latex_mathjax plugin. You should try to upgrade your plugin.</p>
</blockquote>
<p>Thanks a lot for the quick feedback. I shared this with the plugin developer.</p> Redmine - Defect #30209: undefined method `alias_method_chain' for ActionView::Base:Class (NoMethodError)https://www.redmine.org/issues/30209?journal_id=927682019-07-12T12:49:14ZIvan Cenov
<ul></ul><p>Removing the "gem 'render_parent', '>= 0.0.4'" from plugin's Gemfile seem to fix it.</p>
<p>I tested on Redmine 4.0.4. See <a class="external" href="https://github.com/mboratko/redmine_latex_mathjax/issues/30">https://github.com/mboratko/redmine_latex_mathjax/issues/30</a></p>