creating_earnings_spec.rb created and passing
adding more tests to creating_earning_spec.rb
commenting out def index in earnings_controller
adding editing_earnings_spec.rb
adding earning_factory.rb just in case
fields_for is working to show all earnings on a stock page
added :earnings_attributes to attrr_ccessible in stock.rb so that the earnings form can submit and update many records at once
have new 10 years of earnings working in controller adding date when shown in view and saves all.
working on deleting just earnings not the stock too.
rm earnings index file
fixed ability to delete earnings records in db without deleting stock parent
changed button click from Create to update in creating_earnings_spec.rb
creating_earnings_spec.rb passes
fixed editing_earnings_spec now passing
rm old code from editing_earnings_spec
rm earnings_index_spec.rb; not needed
fixed viewing_earnings_spec.rb, passing now
fixed deleting earnings bugs in spec
rm Add Earning links on stock indexpage/ rm old code from earnings_ew_html.erb
cleaning up the html tables