Displaying 1 result from an estimated 1 matches for "active_accomodation".
2008 Aug 31
6
why's my course_duration being reset
..._date ASC'')
# entity = MyEntity.find_all_by_active(true)
@enquiries = Enquiry.find_all_by_responded(false)
end
def show
@enquiry = Enquiry.find(params[:id])
end
def new
@enquiry = Enquiry.new
@courses = Course.active_courses
@accomodations = Accomodation.active_accomodation
# @enquiry.course_booking_fee = Course.registration_fee
render :layout => "welcome"
end
def create
@enquiry = Enquiry.new(params[:enquiry])
@courses = Course.active_courses
@accomodations = Accomodation.active_accomodation
if @enquiry.save
@enqui...