The blog post:
The RDoc:
Twitter is all the rage these days, and I only have one question
Why do people get to have ALL THE FUN?!
It’s time for Higher Order Models™(r)(c). Models that tell the world
what they’re up to using Twitter, just like normal people.
ActsAsTwittertasticable fills this void and brings Twitter directly to
your AR models. It’s super duper simple.
First off install the plugin:
ruby script/plugin install
svn://evang.eli.st/public/plugins/acts_as_twittertasticable
Set up your Twitter authentication in environment.rb:
TwitterAuth.username = “my_twitter_username”
TwitterAuth.password = “my_twitter_password”
Then twitterize your model:
class Movie < ActiveRecord::Base
go_twitterize!
end
That’s it! Unfortunately the default status message is informational,
not fun. I assume that you’re more fun than me, so feel free to define
the status however you want. Again, super duper simple:
class Movie < ActiveRecord::Base
go_twitterize!
def twitter_status
“I’m watching #{title} starring #{star}!!”
end
end
Written by Pat M… Released under the MIT License.
svn://evang.eli.st/public/plugins/acts_as_twittertasticable
Mad props to my homie BJ Clark for telling me about Twitter. Yeah, I
really didn’t know what it was.
Is this for real? With all due respect, this is a horrible plugin dude.
Pat M. wrote:
The blog post:
eli.st
The RDoc:
Twitter is all the rage these days, and I only have one question
Why do people get to have ALL THE FUN?!
It’s time for Higher Order Models�(r)(c). Models that tell the world
what they’re up to using Twitter, just like normal people.
On 3/16/07, Mark [email protected] wrote:
Is this for real? With all due respect, this is a horrible plugin dude.
Wait what’s wrong with it? Did you have trouble installing or using it?
Pat
Alright, you want to know what’s wrong with it?
- The name is horrible, too long and complicated, sounds like
“twist_your_testicles”
- Your methods and callbacks are too complicated to remember
Dude, really, take this as a positive criticism, change the name to
something like “acts_as_twitter” and easier to remember names on your
methods and callbacks.
Mark
Pat M. wrote:
On 3/16/07, Mark [email protected] wrote:
Is this for real? With all due respect, this is a horrible plugin dude.
Wait what’s wrong with it? Did you have trouble installing or using it?
Pat
On 3/16/07, Mark [email protected] wrote:
Mark
What’s complicated about twitter_status?
Pat
On 3/16/07, Mark [email protected] wrote:
Nah, never mind, you don’t seem to get it, or you’re too proud to admit
the naming choice was a bad idea… But hey, go_twitterize!
I’m sorry, it’s just that you said the callbacks were too
complicated…but there’s only one callback! and I thought it’s pretty
descriptive. Anyway, sorry this plugin doesn’t suit you
Pat
Nah, never mind, you don’t seem to get it, or you’re too proud to admit
the naming choice was a bad idea… But hey, go_twitterize!
Pat M. wrote:
On 3/16/07, Mark [email protected] wrote:
Mark
What’s complicated about twitter_status?
Pat
Mark [email protected] wrote:
- The name is horrible, too long and complicated, sounds like
“twist_your_testicles”
YES!!! We need a twist_your_testicles plugin too!!! It could randomly
transpose your columns in your models… and occasionally if you twist
it
tight enough, one of your columns could BURST!!!
On 3/16/07, Mark [email protected] wrote:
Is this for real? With all due respect, this is a horrible plugin dude.
Well nobody else really responded, so…
this was just a joke plugin. My friend asked me if I knew what
Twitter was, I said no, he showed me, I thought it was the dumbest
thing in the world. So I spent 15 minutes writing a plugin that
posted to Twitter whenever a record was saved.
I hoped that the idea was retarded and the names absurd enough that
people would realize it.
Pat
Pat M. schrieb:
posted to Twitter whenever a record was saved.
I hoped that the idea was retarded and the names absurd enough that
people would realize it.
Pat
Is this for real? With all due respect, this is a horrible and
unbelivable story
matthi
On 3/20/07, matthibcn [email protected] wrote:
Twitter was, I said no, he showed me, I thought it was the dumbest
matthi
Yes it’s for real. I was sitting in a coffee shop hyped off of three
cappuccinos on a Friday afternoon and decided to do something funny.
It’s okay if you guys don’t have a sense of humor.
Pat
I looked at the code and thought “What the hell is this good for?”.
Figured it couldn’t be something serious, especially after looking at
‘twitter’.
Didn’t really see the humor in it tho, other than Mark’s side of the
conversation, which seemed a bit over the top (I have a sneaking
suspicion that all that was made up as well).
Sorry.
Once I read what it was for, I thought it was hiarious.