HNHacker News
TopNewBestAskShowJobs

maheswaran

16 karma · joined October 7, 2010

submissionscomments
maheswaran··on I'm learning RoR and finding it confusing. Any advice?
The problem is that every single tutorial on RoR talks about dirty and useless scaffolding and resource features.

Just forget about resources and model path bullshit while learning RoR

Start with active record then learn basic mvc routes, controller and views. Pretend RoR is just php and get comfortables with the things you usually do in php. Then try to learn form_for and all the other bullshit out there.

From my personnal experience, never use any fancy features like form_for and all in a serious projects. When they upgrade rails your project will gets screwed. Stick to basics.

maheswaran··on Showoff
my bad, internal references will be relative only (<link href="../Images/favicon/16x16.ico" rel="Shortcut Icon" /> ) so no need for translation. i dont know why i thought what i thought
maheswaran··on Showoff
i havent tried showoff.io and little curious about how about internal reference translations? for example css files?

does this <link rel="stylesheet" href="localhost:3000/mystyle.css"/> translates to <link rel="stylesheet" href="myserv.showoff.io/mystyle.css"/> ???