wtf we up 2
postd by lukeon thursday... may 22

my stak uv bookz 4 tumblon.
- tag= tumblon
- 4 comment
published= mms2r peepcode n advanced railz recipez
postd by lukeon friday... may 16
two bookz that i wurked on r now shippin!!??!!

wit daemon usin fetcha. chek out recipe 46 on page 257. jon also wrote recipe bout background processin wit railz... which he wil b speakin bout at railsconf. i don’t get dime frm salez uv thiz book... but autographed copiez r available 4 modes fee. ;-)
mms2r= makin
useful iz now available frm peepcode. i wurked on thiz wit creator uv mms2r... mike mondragon n wit helpful editin uv geoffrey grosenbach. thiz 60 page pdf iz most comprehensiv documentation available on creatin ruby application that interact wit
... n iz onli $$$9. so buy copy... n buy copy 4 ur friend!!??!!
- tag= mms2r
- 0 comment
minnebar 2008
postd by lukeon thursday... may 08
minnebar logo
minnebar – 1 uv larges barcamp in world – iz bein held thiz saturday at universitee uv minnesota.
several folkz frm rail spikez/slantwise/tumblon orbit wil b presentin.
- jon wil b speakin bout consultin 4 fun n profit based on hiz experience wit slantwise as well as demoin tumblon.
- norm wil b sittin on desine codin panel as well as leadin session on css framewurkz
- dan grigsby (rail spikez alum) wil b sittin on state uv state= technology in minnesota panel n givin talk called screw u lamp. plus virtualization.
me??! i’ll b helpin run thin n maybe givin demo.
there 360+ people signed up alreddy. if u in area... u should definiteli come. it goin 2 b awesum.
- tag= minnebar
- 0 comment
railz get more mature
postd by lukeon friday... may 02
railz 2.1 iz rite around corna. i been followin
featurez in edge railz n eagerli lookin forward 2 thiz release. railz 2.1 includez numba uv featurez that wil make developa’ livez easier. here few uv my favoritez.
necessary directoriez creatd if they don’t exist
neitha mercurial nor git trak emptee directoriez. thiz iz pain wit railz... coz u has 2 create file in log directory 2 make sure it get creatd when u chek out code... otherwise railz not start. thiz iz no longa needed... coz railz wil create necessary directoriez if they don’t exist.
tiem zone support
tiem zonez r huge pain in any application... in any language coz they r just plain confusin. but ya gotta do it. in railz... solution used 2 b usin tztime n tzinfotimezone pluginz. railz 2.1 add support 4 trackin tiem object wit their tiem zone. thiz iz goin 2 make everyonez’ livez lot easier. chek out geoff buesin in-depth tutorial.
parshl updatez n “dirtee” trackin
two featurez that i knew n loved in our hoem-brew orm frm my forma life as java developa has made it in2 railz.
wit dirtee object u can know if u need 2 persist object... n which attributez has changed... n wtf attribute previous value wuz. thiz wil b grate 4 usa messagez n validationz!!??!!
in railz 2.1... activerecord can
onli attributez which has changed. thiz can (sumtimez) put ur object in2 inconsistent state... but parshl updatez improve performance... especialli when u has big txt or blob attributez that haven’t changed. use optimistic lockin 2 prevent usa frm stompin on each otha’ changez.
timestamped migrationz
wit all thiz distributd scm goin on... classic problem uv messed up migrationz get way worse. i talked bout solutionz 2 thiz in my talk at acts_as_conference... 1 uv which wuz timestamped migrationz. timestamped migrationz allow interleaved migrationz. as long as those migrationz don’t conflict wit each otha... they can b applied in any orda. thiz haz been added 2 railz. nice!!??!!
betta gem dependency n unpackin
i iz big fan uv vendor everythin approach 2 gemz coz i got burned way 2 many timez by missin gemz.
but it don’t always wurk (4 example... gemz which must b nativeli compiled r problem)... n u has 2 install 1 uv various vendor everythin pluginz—n everyone seemz 2 use different 1. in railz 2.1... gem unpackin iz built in wit rake gemz=unpak gem=gemname. (more info)
n 4 those gemz that don’t wurk... u can list them as dependency. ur app wil fail 2 start if gem iz not installed. fail earli... fail often!!??!!
txt helpa usable outside view
u can now use helpa without includin them in2 ur class. hurray!!??!!
- tag= railz
- 7 comment
rubyfringe keep rollin
postd by lukeon thursday... may 01

it also onli conference out there that i know uv that haz activitiez 4 ur non-technical girlfriend/boyfriend/wife/husband/whateva. that iz such grate idea.
juli 18-20 in toronto... ontario (aka accordion citee). registration end june 11. get on it.
- tag= rubyfringe rubyfringe
- 2 comment
quik tip= store_location wit subdomainz
postd by jonon thursday... may 01
both restful_authentication n olda acts_as_authenticatd has handy method called store_location. thiz method storez url in session variable 4 future reference. obvious use case involvez login. 4 example... if u browsin product anonymousli n want 2 wriet review... u’ll need 2 sine in first. so if u clik link on that product page that requirez u 2 b logged in... n thiz send u through login process... u’ll idealli want 2 b returned rite
2 where u wuz before u logged in. store_location enablez thiz... along wit redirect_back_or_default()... also provided by rik olson authentication pluginz.
u store location like thiz=
1 2 3 4 5 6 7def private_action unless logged_in??! store_location redirect_to login_path end end