Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class MembershipsController < ApplicationController
- auto_complete_for :university, :name
- auto_complete_for :organization, :name, :conditions => ['university_id = ?', @current_user.university.id]
- def new
- render(:text => @current_user.university.id)
- end
- def show
- end
- end
Add Comment
Please, Sign In to add comment