RailsCasts Pro episodes are now free!

Learn more or hide this

Filip's Profile

GitHub User: fstybe28

Comments by Filip

Avatar

Try this:

ruby
  $('.brand_field').autocomplete
    source:  $('.brand_field').attr('data-autocomplate-source')