Is it possible to inlude a form input field that is not part of a model?

work_dammit

wow now that is bizarrefor the record i am now running rails 1.2.3 on a host that's only up to 1.1.6 (by freezing it) and everything seems to work fineand the issue that i was having (certain links were not showing up) seems to have been fixed by the freezeexplain THATjeremydurham: thanks for that link i am buying it now!

jeremydurham

work_dammit: :)

scrooloose

yo, im trying to use an after_initialize callback. If i define it like "def after_initialize ... end" then it works fine, if i try to use the macro like "after_initialize do .... end" then it never fires :-/anyone encountered this b4?

jeremydurham

after_initialize takes a block?well I'll be

scrooloose

evidently not...ahh --> "Unlike all the other callbacks, after_find and after_initialize will only be run if an explicit implementation is defined (def after_find)."

Ookblah

aroarioajefcan somebody please help meloli'm trying to get the rest_auth to work, and I'm posting the signup for to /users....how does it know to trigger 'create' and not attempt to call a non-existant "index"which is what it's doing right nowi can of course manually make it post to users/create, but apparently it's supposed to "know"?lol

anathematic

how do i limited how many characters i print out from my model? (ie. <% event.location %> i only want to show the first 5 lettersnever mind got it lol

Ookblah

freakin why do my resources paths not work adjs;fTHERE SHOULD BE NO INDEX ACTION

guy, i'd like to change the :class-value of a text_field_tag in rjs...this doesn't work: page[:tag].class = "enabled"can anyone point me out how to change that value?hm...i hate looking at the clock and getting scared by reading 4:37am :)

Ookblah

loli think either something is wrong with my version of rails, or i'm not reading this api right..=(