zurb/foundation — Issue #279: Object has no method 'placeholder' error
Author: dublinan
Created: 2012-01-31 02:06:36+00:00
State: open

Trying to run foundation and i'm receiving these errors in my javascript.

Including either foundation/jquery.placeholder.min results in a controller error that is unable to find the placeholder.min file...

Here are my errors.

Uncaught TypeError: Object [object Object] has no method 'placeholder' app.js:45 <- foundation
Uncaught TypeError: Object [object Object] has no method 'placeholder' application.js:19 <- jquery

Running rails 3.2

Here is my gemfile

gem 'rails', '3.2.0'

gem "pg"
gem "jquery-rails"
gem "thin"
gem "heroku"
gem "gravatar_image_tag"
gem "kaminari"

group :assets do
gem "sass-rails", "~> 3.2.3"
gem "coffee-rails", "~> 3.2.1"
gem "uglifier", ">= 1.0.3"
gem "zurb-foundation", "~> 2.1.0"
gem "bourbon"
end

group :development do
gem "annotate", git: "git://github.com/ctran/annotate_models.git"
gem "ffaker"
gem "cucumber", "~> 1.1.3"
gem "cucumber-rails", "~> 1.2.1"
gem "database_cleaner", "~> 0.7.0"
gem "factory_girl_rails", "~> 1.2"
gem "spork", "~> 0.9.0.rc"
gem "rspec-rails", "~> 2.7.0"
gem "rspec-expectations", "~> 2.7.0"
gem "guard-livereload"
gem "guard-rspec"
gem "guard-spork"
gem "guard-cucumber"
end

group :test do
gem "cucumber", "~> 1.1.3"
gem "cucumber-rails", "~> 1.2.1"
gem "database_cleaner", "~> 0.7.0"
gem "factory_girl_rails", "~> 1.2"
gem "spork", "~> 0.9.0.rc"
gem "rspec-rails", "~> 2.7.0"
gem "rspec-expectations", "~> 2.7.0"
end