undefined method telephone_record............telephone_record_path class<...>

model

class TelephoneRecords < ActiveRecord::Base
   attr_accessible :rowid, :selectcity, :match , :phone_no, :name, :address
   validates :selectcity,  :presence => true
   validates :match,  :presence => true
   validates :phone_no,  :presence => true
   validates :name,  :presence => true
   validates :address,  :presence => true
end

controller

class TelephoneRecordsController < ApplicationController

def index
 @telephone_records = TelephoneRecords.all
end	

end

index view

<%=form_for @telephone_records do |f| %>
<%end%>

TelephoneRecords.all to TelephoneRecords.new maybe?

I dont get why you are making a query to select all data and generating a form with that data