Look what I made! Link up with me using those. Also Digg if you aren't too lazy. Tanks!
I know, I know. Evertything is trouble with this kid. Can't he code a damn thing right?
Ayo, I'm still learning.
'gem install scrubyt' got me 0.4.06. Huh, you too? Now go over to rubyforge.
What? You see 0.4.1. Not a big deal, right I'll just update the gem. WRONG.
Uninstall 0.4.06. Then gem install scrubyt -v=0.4.11
You're welcome.
Helloes.
RubyInside lured me into reading a blog post (http://akitaonrails.com/2009/1/13/the-best-environment-for-rails-on-windows) on all the best practices setting up a Ruby on Rails development environment on windows. Fuck all that.
Tweak the @from field in the mailer model to contain a full email.
Instead of
@from = 'myusername', make it
@from = username@domain.com'
Net::SMTPSyntaxError (501 : sender address must contain a domain
):
/usr/lib/ruby/1.8/net/smtp.rb:930:in `check_response'
/usr/lib/ruby/1.8/net/smtp.rb:899:in `getok'
/usr/lib/ruby/1.8/net/smtp.rb:828:in `mailfrom'
Anybody want to guess what the problem was?
Reserved database name of 'notify'.
If not for the amazing documentation in the rails community, I'd be ripping my hair out right about now.
Reference for all the bad words NOT TO be used in rails:
This is great.
I found a pretty new font to use on my project. Super happy, I ran into my supervisor's office and immediately told him to point his browser to our development box.
Old fonts. Huh? Hit F5.
Old fonts. What the ...? Clear cache?
Nope. Old fonts. Well #$%*! That Century Gothic looked hot.
Too bad it wasn't locally on his Leopard Mac OS X.
CSS. Do it. I command you.
CSS is the THE only way to be. No way around it, everyone has to admit this and learn to do it. No, not with dreamweaver. Learn to do it and do it the right way, handcrafting it in Notepad++ or something similar. Code-highlighting and that's it!