adityaswaroop/updated-saral-web-payroll — Issue #1: Salary Group Configuration new page render issue
Author: adityaswaroop
Created: 2012-01-17 11:51:48+00:00
State: open

Error is:
1) salary_group_details/new.html.haml renders new salary_group_detail form
Failure/Error: render
ActionView::Template::Error:
undefined method `salary_group_name' for nil:NilClass

On salary group configuration page, i am using "salary_group_name" value to display the selected salary group.

File Name : app/view/salary_group_details/new.html.haml
Spec File Name : spec/view/salary_group_details/new.html.haml_spec.rb

Concern : How to stub query string value as parameter????