[Rails] Re: Change 'nil' using literal notation?

2013-03-20 Thread Todd Hartsfield
ahh the Conditional Assignment Operator, thanks :) -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To unsubscribe from this group and stop receiving emails from it, send an email to

[Rails] Re: Change 'nil' using literal notation?

2013-03-20 Thread Todd Hartsfield
umm as long as a variable does not have special characters or a space in it, as far as I am aware I thought variables are case sensitive, but should work. The example above I see a variable needs to be ALL_CAPS or all_lowercase, you cannot HaVe_bOtH. Is that correct? -- Posted via

[Rails] Re: Change 'nil' using literal notation?

2013-03-20 Thread Todd Hartsfield
I didn't know that, thank you! -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To unsubscribe from this group and stop receiving emails from it, send an email to

[Rails] Change 'nil' using literal notation?

2013-03-19 Thread Todd Hartsfield
Does anybody know can you change the output 'nil' to a different string using literal notation? Besides constructor? Hash_Name = Hash.new(Anything other than nil!) Hash_name = { key = value }(Anything other than nil!) New at this, just wondering. Thanks in advance -- Posted via