Tag Archives: Ruby

Rails: Different Code according to the Environment


Warning: Parameter 2 to qtranxf_postsFilter() expected to be a reference, value given in /home/and-beyond/www/main/wp-includes/class-wp-hook.php on line 286

The code executes different method according to the environment, in Rails. In this way, you can show message only in development environment.

Continue reading Rails: Different Code according to the Environment