I'm getting an error:
The provided regular expression is using multiline anchors (^ or $).  Did you mean to use \A and \z, or forgot to add the :multiline => true option? 
when loading only one page in my Rails application.
It highlights the model it's using saying the error is:
class Associate < Locations::Associate
This is the model:
class Associate < Locations::Associate
 # Returns an array of permissions which are valid at the associate level.
 #
 def self.associate_permissions
  ASSOCIATE_PERMISSIONS
 end
 # Generates an array of permission values that can be used in the new or edit
 # template.
 #
 def permission_list
   my_permissions = (permissions || '').split(/,/)
   list = []
   Associate.associate_permissions.each do |value|
     list << {:label => value[0], :value => value[1], :checked => my_permissions.include?    (value[1])}
   end
   list
 end
end
The controller:
class AssociatesController < ApplicationController
  def index
    @associates = Associate.paginate :order => 'code',
                                     :page => params[:page], :per_page => 50
    respond_to do |format|
      format.html # index.html.erb
      format.json { render json: @associates }
   end
 end
end
Can anyone tell me how to solve this error?
 
     
    