marking the added example code in each project (rails3/rails4) - the code is identical but behaves differently.