I'm a beginner in ruby, and I had this error ...
def new
@section = Section.new({:page_id => @page.id, :name => "Default"})
@pages = @page.subject.pages.sorted
@section_count = Section.count + 1
end
It says the problem is on line two, can someone help me?