a1dert/lh-tickets-test — Issue #252: NoMethodError in Owner/companies#show error when open company profile from owner panel
Author: a1dert
Created: 2011-11-30 12:00:48+00:00
State: open

Imported from lighthouse. Original ticket at: http://redtape.lighthouseapp.com/projects/59696/tickets/350. Created by Alexey Derkach - 2011-07-04T10:50:53Z

Steps to reproduce:
1. Go to Owner panel.
2. Go to Companies page.
3. Try to open some company profile.

Expected: user should see company profile page.
Actual: server error.

Details:
@@@ ruby
undefined method `masked_number’ for #
@@@

Trace:
@@@ ruby
app/helpers/owner/companies_helper.rb:8:in `cc_provided_notice’
app/views/owner/companies/show.html.erb:35:in `_app_views_owner_companies_show_html_erb__1879525903_59717980_0’
@@@

Request:
@@@ ruby
{"id"=>"2"}
@@@

According to: [story 6807](https://tracker.anahoret.com/projects/44/stories/6807 "story 6807")