From: Billy
Sent on: Sunday, February 17, 2013, 11:38 AM
Jon,

Having just gone through asset_pipeline upgrade woes this week, after following Bates as well as other blogs, I feel I am the perfect person to assist here. Can you paste your development.rb, application.rb, and a subset of he CSS and JS that is not working, as well as the call you're using to include them at the top of the pages? If you're using just application.css and application.js and linking out to other files, just pasting that file as well as a 'find . app/assets' output from your main rails dir will do fine. I don't care to see actual css or js :)

Billy


On Sun, Feb 17, 2013 at 10:58 AM, Eric Theise <[address removed]> wrote:
Hi Jon,

Hard to diagnose without actually seeing it. Is this happening in dev and production mode or just production? Have you taken a good look at the development log when you first load a page to see where assets are being pulled from and what their status codes are?

You didn't say which version of haml you're using. My understanding is that a compatibility-breaking version was going to be released last week (4.0.0), so it wouldn't hurt to see if you picked up that one, and if so, rollback to whatever the last in the 3.1.X series was (I think 3.1.7).

Good luck.

--Eric


On Sun, Feb 17, 2013 at 10:16 AM, Jon Seidel <[address removed]> wrote:

Just upgraded a Ruby[masked] app to 3.2 (that worked) and then tried upgrading to use the asset pipeline following Ryan Bates’ post (http://railscasts.com/episodes/282-upgrading-to-rails-3-1?view=asciicast and the related one at http://asciicasts.com/episodes/279-understanding-the-asset-pipeline). However, even though my app runs, the display is really fouled up.

 

For example:

1.       The CSS for my menu navigation doesn’t work… the menu items are all display in the order they were coded rather than being re-directed to the top of the screen

2.       The menu items themselves don’t display properly: instead of seeing “Home”, I see “(/Home/welcome/index”

3.       The links in the page (using link_to “Accident Report”, :accident_report) display as “(Accident Reports (/accident_reports”

 

I’m using haml, moved everything over to app/assets, updated gem and haml gem, installed nodejs for my execjs module… everything seems OK but looks terrible.

 

Any suggestions for where to start looking?

 

Thanks…jon

 

Jon Seidel, CMC®

Effective Decisions... Priceless!

 





--
Please Note: If you hit "REPLY", your message will be sent to everyone on this mailing list ([address removed])
This message was sent by Jon Seidel ([address removed]) from The East Bay Ruby Meetup Group.
To learn more about Jon Seidel, visit his/her member profile
Set my mailing list to email me As they are sent | In one daily email | Don't send me mailing list messages

Meetup, POB 4668 #37895 NY NY USA 10163 | [address removed]





--
Please Note: If you hit "REPLY", your message will be sent to everyone on this mailing list ([address removed])
This message was sent by Eric Theise ([address removed]) from The East Bay Ruby Meetup Group.
To learn more about Eric Theise, visit his/her member profile