Displaying 1 result from an estimated 1 matches for "practicescontrol".
2010 Dec 23
0
has_many :through full stack help
...ough => :implementations
end
-----IMPLEMENTATION MODEL-----
class Implementation < ActiveRecord::Base
attr_accessible :system_start_date, :system_stop_date, :system_implemented_by, :system_ids, :practice_ids
belongs_to :system
belongs_to :practice
end
----PRACTICE CONTROLLER----
class PracticesController < ApplicationController
#added for auto complete text (HABTM)
#auto_complete_for :location, :name
#auto_complete_for :employee, :first_name
def index
@practices =
Practice.name_like_all(params[:search].to_s.split).ascend_by_name
#@practices = Practice.all
end
def show...