Dr. Strangelove
Dr. Strangelove - If you have not seen it then you are actually missing a lot…quite hilarious and satirical…
Really worth watching….
Pure coincidence is I read this article in the morning….
Dr. Strangelove - If you have not seen it then you are actually missing a lot…quite hilarious and satirical…
Really worth watching….
Pure coincidence is I read this article in the morning….
I spent last whole week trying to figure out what was wrong with the e-mail code I wrote in Ruby on Rails because I followed he book closely and was expecting to run it without any issues…but anyways… here are few things you must know before you embark on this task:
1. Ask your host how the server has been configured…after several days and exchange of several emails I discovered that mine has been set up as “POP before SMTP” due to which I was getting a bizarre error.
2. If it is SMTP then I guess it is straight forward (as in the book or tutorials on the web or whatever reference you are following) but if it is “POP before SMTP” then go here. As you will see the link will take you to another page which has two separate code snippets …the first one need to go in the environment.rb and the second one need to go in the ActionMailer’s base.rb class.
Since you will be amending the rails code base I will suggest to perform a freeze and then do it on the rails code local to the project. You can find the base.rb class at the following location:
**rails_project_directory/vendor/rails/actionmailer/lib/action_mailer/base.rb **
I hope it will resolve the issues for you.
Last nite I changed the urls from “this_is_my_new” to read “this-is-my-new” apparently latter is a better way for search engine optimization…it was a bit of a pain though…but I managed it somehow…
Some four letter words around fitness….
Hate - Flab - Body
Then - Plan - Good - Diet - Love - Body
(Do you hate your flabby body then plan a good diet and start loving your body)
I noticed CSS’s bizzare behaviour yesterday…discussed below.
Situation: I have a nested unordered list so something like:
begin ul
begin li
end li
begin ul
begin li
end li
end ul
end ul
Rule that worked in both IE7 and Firefox:
ul ul li {
} //which makes perfect sense
But for some reason IE7 behaves in the same manner if I amend the above rule as below which is incorrect.
ul li ul li {
} // I discovered this one accidently
I thought IE7 treated CSS properly…I guess it is still not as good as Firefox…