I use rabl with rails 3.2 application, I get errors in rabl view files, but not indicating the exact error line where the error occurred. So now I want the debugging code for the line to throw an error, something like puts statement. Can someone help me, thanks in advance
You should be able to use instantiated variables in the same way as with any other template.
Haml
=puts @variable.inspect
Erb
<%= puts @avariable.inspect %>
Source: https://habr.com/ru/post/952802/More articles:Install jpype in Mountain Lion - javaHow can I ensure that a class can call a method in another class, but not other classes can call this method? - c #https://translate.googleusercontent.com/translate_c?depth=1&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/952799/convert-list-of-lists-to-list-of-integers&usg=ALkJrhg94ND-Zq6isZtPDmO6MSubWW3BAAThe stack trace is hidden when Mocha starts from the Grunt task - gruntjsIssue with issuing certificate - javaHow to start a service not in the main thread? - androidProblems with ASP.NET Website with Windows 8.1 / IE 11 Browser - asp.netzip / zip (LoadError) - Destroyer or rails 4.0 - ruby-on-railsConfigure FragmentTabHost install TabWidget at the bottom - androidruby on rails tutorial section 3.2 rspec testing error - ruby | fooobar.comAll Articles