Sha256: 3db6c69967ba58b8907777dbeea79a38eb398c1762d0cd58a5693dc5a4d200dd

Contents?: true

Size: 157 Bytes

Versions: 1

Compression:

Stored size: 157 Bytes

Contents

class ScopedAutocompletesController < ApplicationController
  autocomplete :brand, :name, :scope => "active"

  def new
    @product = Product.new
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rails3-jquery-autocomplete-0.7.0 integration/app/controllers/scoped_autocompletes_controller.rb