search for: skillscontroller

Displaying 1 result from an estimated 1 matches for "skillscontroller".

Did you mean: skills_controller
2011 Nov 29
1
ajax question
Hello, could you please explain what''s wrong with this code: Rails 3.1.1 skills_controller.rb class SkillsController < ApplicationController # GET /skills # GET /skills.json def index @skills = Skill.all respond_to do |format| format.html # index.html.erb #format.json { render json: @skills } format.js end end end index.html.erb <%= collection_select(nil, :id, @skills...