« first day (1955 days earlier)      last day (1300 days later) » 

1:16 PM
@LogicalBranch don't use hash rockets anymore. The improved syntax is much like JSON. Do what @JohnDvorak suggested. You haven't had to use that syntax for years now.
It says my last message was deleted for some reason so I'll restate my point:

@LogicalBranch don't use hash rockets anymore. The improved syntax is much like JSON. Do what @JohnDvorak suggested. You haven't had to use that syntax for years now.
Also keep in mind that when you're doing key value pairs that the colons "kiss" each other like so:

`key: :value`
 
You need them if your key is anything but a symbol
... and I haven't used symbol values for quite some time
 
I use them often in rails.
for example when doing a has_many call and you want to destroy the dependent objects if the main one gets destroy you add this:

dependent: :destroy
a full example like this:
has_many :users, dependent: :destroy

like that
 
1:42 PM
@WayneConrad, @JohnDvorak, @DJTripleThreat Thanks for clearing that up.
@WayneConrad I actually ended up watching a crash course on YouTube.
 
2:32 PM
@LogicalBranch Cool!
 
 
5 hours later…
7:53 PM
@LogicalBranch glad to have helped!
Also rereading what @JohnDvorak had said about my message I misunderstood what he was trying to say because I forgot an important part of my message. The colon "kissing" is because the value is a symbol. I meant to say this in my message when I said "keep in mind". He's right. That form is if the value is a symbol.
 

« first day (1955 days earlier)      last day (1300 days later) »