Hi Friends,
Not sure what I am doing wrong here, any ideas? I have tried playing around with lots of parameter variations but to no avail!

class Message
@@messages_sent = 0
def initialize(from, to)
@from = from
@to = to
@@messages_sent += 1
my_messgae = Message.new(@from, @to)

Looks like a simple misspelling error on your last line there bud.

change “my_messgae” to “my_message” and your code should past. details are a pain sometimes but you gotta focus on everything. and notice the smallest and slightest details.

also you might want to change @to and @from to a string that you want to pass through the class