Pat Maddox
2007-Mar-16 23:57 UTC
[PLUGIN] acts_as_twittertasticable - Twitter for your models!
The blog post: http://evang.eli.st/blog/2007/3/16/introducing-acts_as_twittertasticable 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 Maddox. 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. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Is this for real? With all due respect, this is a horrible plugin dude. Pat Maddox wrote:> The blog post: > http://evang.eli.st/blog/2007/3/16/introducing-acts_as_twittertasticable > > > > 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. >-- 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 post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Pat Maddox
2007-Mar-17 02:26 UTC
Re: [PLUGIN] acts_as_twittertasticable - Twitter for your mo
On 3/16/07, Mark <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> 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 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
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 Maddox wrote:> On 3/16/07, Mark <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> 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-- 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 post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Pat Maddox
2007-Mar-17 02:50 UTC
Re: [PLUGIN] acts_as_twittertasticable - Twitter for your mo
On 3/16/07, Mark <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> > 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. > > MarkWhat''s complicated about twitter_status? Pat --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
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 Maddox wrote:> On 3/16/07, Mark <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote: >> >> Mark > > What''s complicated about twitter_status? > > Pat-- 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 post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Pat Maddox
2007-Mar-17 03:02 UTC
Re: [PLUGIN] acts_as_twittertasticable - Twitter for your mo
On 3/16/07, Mark <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> 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 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Tyler MacDonald
2007-Mar-17 03:10 UTC
Re: [PLUGIN] acts_as_twittertasticable - Twitter for your mo
Mark <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> 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!!! - Tyler --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Pat Maddox
2007-Mar-20 04:36 UTC
Re: [PLUGIN] acts_as_twittertasticable - Twitter for your mo
On 3/16/07, Mark <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> 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 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
matthibcn
2007-Mar-20 09:09 UTC
Re: [PLUGIN] acts_as_twittertasticable - Twitter for your mo
Pat Maddox schrieb:> On 3/16/07, Mark <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> 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 >Is this for real? With all due respect, this is a horrible and unbelivable story matthi --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Pat Maddox
2007-Mar-20 09:25 UTC
Re: [PLUGIN] acts_as_twittertasticable - Twitter for your mo
On 3/20/07, matthibcn <matthibcn-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > Pat Maddox schrieb: > > On 3/16/07, Mark <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> 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 > > > > Is this for real? With all due respect, this is a horrible and unbelivable story > > 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 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Chris Gernon
2007-Mar-20 12:41 UTC
Re: [PLUGIN] acts_as_twittertasticable - Twitter for your mo
Pat Maddox wrote:> 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.<shrug> I laughed! -- 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 post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Chris Hall
2007-Mar-20 12:49 UTC
Re: [PLUGIN] acts_as_twittertasticable - Twitter for your mo
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. On 3/20/07, Pat Maddox <pergesu-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > On 3/20/07, matthibcn <matthibcn-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > Pat Maddox schrieb: > > > On 3/16/07, Mark <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> 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 > > > > > > > Is this for real? With all due respect, this is a horrible and unbelivable story > > > > 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 > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Luke Ivers
2007-Mar-20 20:17 UTC
Re: [PLUGIN] acts_as_twittertasticable - Twitter for your mo
Once I read what it was for, I thought it was hiarious. On 3/20/07, Pat Maddox <pergesu-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > > On 3/20/07, matthibcn <matthibcn-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > > > Pat Maddox schrieb: > > > On 3/16/07, Mark <rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> 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 > > > > > > > Is this for real? With all due respect, this is a horrible and > unbelivable story > > > > 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 > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---