24 Jul, 2015
2 commits
-
Use these two commands inside vim: :!ag -l '..\/..\/..\/..\/test' | xargs perl -pi -E "s/require.*test_helper.*/require 'test_helper'/g" :!ag -l "require File.*'/" | xargs perl -pi -E "s/require File.*'\//require_relative '/g":e ""'"
03 Feb, 2015
1 commit
-
When vote plugin is not enabled in a noosfero instance, the constant VotePlugin is not defined, which was causing a crash in relevant content plugin. So I check if the plugin is enabled using a string and not a constant.
25 Mar, 2014
1 commit