Beau wrote in post #1060314:
> Howdy,
>
> Using rails 3.2.3 and ruby 2.0.0dev. Running rails s, doesn't seem to
> include the javascript. This causes Delete/destroy to never work. It
> just
> defaults to a GET and thus show.
>
> I tested this in a barebones project

AFAIK Rails 3.2.3 is not supported on Ruby 2.0 so I'm not surprised at 
all that you're having problems. Install the latest patch of Ruby 1.9.3 
and all should be well.

> Also I don't know much about rails "asset pipeline" but the JS/CSS files
> being served look like this
>
> // This is a manifest file that'll be compiled into application.js,
> which
>> // the compiled file.
>> //
>> // WARNING: THE FIRST BLANK LINE MARKS THE END OF WHAT'S TO BE PROCESSED,
>> ANY BLANK LINE SHOULD
>> // GO AFTER THE REQUIRES BELOW.
>> //
>> //= require jquery
>> //= require jquery_ujs
>> //= require_tree .
>> ;
>
>
> Which seems wrong to me, I don't think the client/browser should be
> seeing
> that file.

Sounds to me like it's time for you to get to know something about the 
Rails asset pipeline before incorrectly assuming something is wrong.

Have you even looked at the Rails guides:
http://guides.rubyonrails.org/asset_pipeline.html

If not that would be a really good place for you to start.

-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to