Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js loop

# app/controllers/users_controller.rb
 
class UsersController < ApplicationController
  respond_to :html, :json
 
  def show
    @user = User.find(params[:id])
    respond_with @user
  end
end
Source by doc.bccnsoft.com #
 
PREVIOUS NEXT
Tagged: #js #loop
ADD COMMENT
Topic
Name
1+5 =