I’ve been looking for icons for ruby files and other rails related files. Since I couldn’t find any, thought of making few myself using few available stuff.
Right click and save the files.
I’ve been looking for icons for ruby files and other rails related files. Since I couldn’t find any, thought of making few myself using few available stuff.
Right click and save the files.
Sometimes we might need to implement controller inheritance; to have a DRYer code, a logical way to organize our project using or let it be purely the personal preference. It would be especially helpful for an admin area of a website (which I wanted to implement as well as shown in the example of Justin French)
Admin Lounge Controller:
class Admin::ProductsController
This has been well explained here and it helped me to fix few things which I’ve been struggling to do and also convinced me i was doing something meaningful.
then if we need to use restful routing for these and if you dont know how to create the route similar to admin_products_url or edit_admin_product_url. routes.rb got an example how to get it done. However you can find a better example here.
Controller Inheritance
http://justinfrench.com/index.php?id=122
RESTful routes for Controller Inheritance
http://railstips.org/2007/4/28/namespaces-added-to-routes
Great RESTful RAILS tutorial
http://www.b-simple.de/download/restful_rails_en.pdf
STILETTOS can be good for a woman’s sex life, says a study which claims wearing them “directly works the pleasure muscles linked to orgasm”. Experts found the high heels toned women’s legs and strengthened pelvic muscles.
In tests, Dr Maria Cerruto, of the University of Verona, Italy, discovered that wearing a pair of ‘‘moderately high heeled shoes’’ had beneficial effects for a woman’s sex life.
Note the word “moderate” in above sentence :)
‘‘Heels work the pelvic muscles and reduce the need to exercise them. ‘‘Wearing heels during daily activity may reduce the need for the pelvic floor exercises necessary to keep that part of a woman’s anatomy toned and elastic,’’ Cerruto said. She asked 66 women under 50 about their sex lives, exercise regime and shoes. In tests, their pelvic muscles were more relaxed in higher heels, increasing their strength and ability to contract.
‘‘Women often have difficulty in carrying out the right exercises for the pelvic zone and wearing heels could prove to be the solution,’’ Cerruto said. Manolo Blahnik, whose shoes are worn by Sex and the City’s Carrie Bradshaw, said: ‘‘This is wonderful news. I’ve been hounded for years about how bad it is for posture, but . . . when you put on a high heel it makes life more exciting. For women, it’s a way to appeal to the male species.
‘‘There’s a limit. Anything over 11.5cm, you can’t walk properly; it’s no longer elegant” (this 11.5cm depends on your height and size of the feet as well i guess)
And, there are enough horror stories and embarrassing moments (some, i’ve seen myself) of too-high-heels so don’t over do it trying to rev up your sex life and end up in miserable ankle sprains or life threatening accidents
Taken from http://www.news.com.au/couriermail/story/0,23739,23157982-5013016,00.html and added few noteworthy points myself in bold text
Effects of high heels on your posture > http://feministing.com/archives/006992.html
