Eric Goodwin
2006-Mar-25 06:04 UTC
[Rails] [ANN] Firefox ''Rails Mailing List'' search engine plugin
Hi all, If you''re like me you probably spend a lot of time search the Rails mailing list. To make life a little bit easier I''ve created a nice little plugin for firefox ( A whopping 15 lines of markup ). The plugin uses nabble.com to search the mailing list. Anyways, I thought I''d share. If you want to install it the manual way, here''s the code. <search version="1.0" name="Rails" description="Search Rails Mailing List" action="http://www.nabble.com/forum/Search.jtp" searchForm="http://www.nabble.com" method="GET" > <input name="sourceid" value="Mozilla-search"> <input name="forum" value="13830"> <input name="local" value="y"> <input name="query" user=""> </search> If you want the auto install with the icon. http://blog.ericgoodwin.com/articles/2006/03/25/firefox-rails-search-plugin Happy Seaching! -Eric
Frank
2006-Mar-25 06:23 UTC
[Rails] [ANN] Firefox ''Rails Mailing List'' search engine plugin
Thanks Eric. Very nice. Frank -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060325/8b5c2016/attachment.html
Sébastien Gruhier
2006-Mar-25 16:21 UTC
[Rails] [ANN] Firefox ''Rails Mailing List'' search engine plugin
Kooool Le 25 mars 06 ? 07:23, Frank a ?crit :> Thanks Eric. > > Very nice. > > Frank > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails
David Andrew Thompson
2006-Mar-25 18:35 UTC
[Rails] [ANN] Firefox ''Rails Mailing List'' search engine plugin
Thank you for the contribution, Eric! Great extension! -Dave On 3/25/06, S?bastien Gruhier <seb@itseb.com> wrote:> Kooool > > Le 25 mars 06 ? 07:23, Frank a ?crit : > > > Thanks Eric. > > > > Very nice. > > > > Frank > > _______________________________________________ > > Rails mailing list > > Rails@lists.rubyonrails.org > > http://lists.rubyonrails.org/mailman/listinfo/rails > > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-- ~~~~~~~~~~~~~~~~~~~ David Andrew Thompson http://dathompson.blogspot.com
Eric Goodwin
2006-Mar-27 16:49 UTC
[Rails] [ANN] Firefox ''Rails Mailing List'' search engine plugin
Hi, Glad you guys found it useful! With the amount of posts on the rails list each day now, I find I''m having to use a search more and more even to find things that were posted a day ago. It''s cool to see the community expanding so quickly! I am reminded of a post on Amy Hoy''s blog, though. Hopefully making searching easy will help alleviate some of the troubles that are associated with such a quick growth within a community. Happy Searching! -Eric ericgoodwin.com http://blog.ericgoodwin.com/articles/2006/03/25/firefox-rails-search-plugin David Andrew Thompson wrote:> Thank you for the contribution, Eric! Great extension! -Dave > > On 3/25/06, S?bastien Gruhier <seb@itseb.com> wrote: > >> Kooool >> >> Le 25 mars 06 ? 07:23, Frank a ?crit : >> >> >>> Thanks Eric. >>> >>> Very nice. >>> >>> Frank >>> _______________________________________________ >>> Rails mailing list >>> Rails@lists.rubyonrails.org >>> http://lists.rubyonrails.org/mailman/listinfo/rails >>> >> _______________________________________________ >> Rails mailing list >> Rails@lists.rubyonrails.org >> http://lists.rubyonrails.org/mailman/listinfo/rails >> >> > > > -- > ~~~~~~~~~~~~~~~~~~~ > David Andrew Thompson > http://dathompson.blogspot.com > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >
Charlie Bowman
2006-Mar-27 17:10 UTC
[Rails] [ANN] Firefox ''Rails Mailing List'' search engine plugin
Thanks for the great search engine. I might be able to delete the last years worth of emails now! Now for something completely off topic. Are you refering to Amy Hoy''s post about help vampires? I found that post to be extremely elitist and derogatory. I think it''s attitudes like hers which are the death of a community. You never know who''s asking the questions. It could be a 10 year old for all you know and I would hate to see anyone put someone else down for asking a question......even if they should of googled it first. On Mon, 2006-03-27 at 08:51 -0800, Eric Goodwin wrote:> Hi, > > Glad you guys found it useful! > With the amount of posts on the rails list each day now, I find I''m > having to use a search more and more even to find things that were > posted a day ago. > It''s cool to see the community expanding so quickly! I am reminded of a > post on Amy Hoy''s blog, though. Hopefully making searching easy will > help alleviate some of the troubles that are associated with such a > quick growth within a community. > Happy Searching! > > -Eric > ericgoodwin.com > http://blog.ericgoodwin.com/articles/2006/03/25/firefox-rails-search-plugin > > David Andrew Thompson wrote: > > Thank you for the contribution, Eric! Great extension! -Dave > > > > On 3/25/06, S?bastien Gruhier <seb@itseb.com> wrote: > > > >> Kooool > >> > >> Le 25 mars 06 ? 07:23, Frank a ?crit : > >> > >> > >>> Thanks Eric. > >>> > >>> Very nice. > >>> > >>> Frank > >>> _______________________________________________ > >>> Rails mailing list > >>> Rails@lists.rubyonrails.org > >>> http://lists.rubyonrails.org/mailman/listinfo/rails > >>> > >> _______________________________________________ > >> Rails mailing list > >> Rails@lists.rubyonrails.org > >> http://lists.rubyonrails.org/mailman/listinfo/rails > >> > >> > > > > > > -- > > ~~~~~~~~~~~~~~~~~~~ > > David Andrew Thompson > > http://dathompson.blogspot.com > > _______________________________________________ > > Rails mailing list > > Rails@lists.rubyonrails.org > > http://lists.rubyonrails.org/mailman/listinfo/rails > > > > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >Charlie Bowman Programmer Castle Branch Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060327/59503279/attachment-0001.html
Bill Walton
2006-Mar-27 17:38 UTC
[Rails] [ANN] Firefox ''Rails Mailing List'' search engine plugin
Charlie Bowman wrote:> I would hate to see anyone put someone else down > for asking a question......even if they should of googled it first.+1
Doug Dupory
2006-Mar-27 18:47 UTC
[Rails] Re: [ANN] Firefox ''Rails Mailing List'' search engine plugin
It''s great for newbies... thanks! Eric Goodwin wrote:> Hi all, > If you''re like me you probably spend a lot of time search the Rails > mailing list. To make life a little bit easier I''ve created a nice > little plugin for firefox ( A whopping 15 lines of markup ). The plugin > uses nabble.com to search the mailing list. > Anyways, I thought I''d share. > If you want to install it the manual way, here''s the code. >-- Posted via http://www.ruby-forum.com/.
Eric Goodwin
2006-Mar-27 19:04 UTC
[Rails] [ANN] [OT]Firefox ''Rails Mailing List'' search engine plugin
Hi, Glad you like the plugin. As for the Amy Hoy post, you are correct in your assumption, I was referring to her vampires post. I think I read her post a bit differently than you did though. First off, I didn''t read anything about her advocating "putting down someone for asking a question, even if they should have googled it first". She does mention that "not googling" may be one of the many different short sights that all together could lead to a "vampirish" post. Quite opposite of a put down, she reminds everyone to "/be nice!/" and to "foster thinking" within the community. If someone was to ask a "vampirish" question, instead of answering it outright, point them to the right page on the rails wiki, or another mailing list post, or a blog. I don''t think it is "attitudes like hers which are the death of a community", although I do agree that the post could sound a bit elitist. Every once in a while you need a post like hers to stir up a bit of thinking. As members of this community it is our job to drive it in a direction that we see fit. I believe this is what she is trying to do. Her post was more of an outcry, voicing concern about a community which she deeply loves, but has been a annoyed with lately. I, myself am no veteran, but I don''t quite see myself as a newbie anymore. After reading the post it got me thinking. Now, before I post anything, I ask myself a few questions. Have I searched the mailing list? Have I googled it? Have I checked the wiki? Is my question written so that it is easy to understand? Have I given enough information about my dev environment? Sometimes I might miss one of these pre-post questions, and that''s ok. Just asking myself one or two of them will help out a lot. I have, most likely, posted "vampire" posts in the past, but after reading her post I now know a bit better about how to avoid it. -Eric ericgoodwin.com Charlie Bowman wrote:> Thanks for the great search engine. I might be able to delete the > last years worth of emails now! > Now for something completely off topic. Are you refering to Amy Hoy''s > post about help vampires? > I found that post to be extremely elitist and derogatory. I think > it''s attitudes like hers which are the death of a community. You > never know who''s asking the questions. It could be a 10 year old for > all you know and I would hate to see anyone put someone else down for > asking a question......even if they should of googled it first. > > > On Mon, 2006-03-27 at 08:51 -0800, Eric Goodwin wrote: >> Hi, >> >> Glad you guys found it useful! >> With the amount of posts on the rails list each day now, I find I''m >> having to use a search more and more even to find things that were >> posted a day ago. >> It''s cool to see the community expanding so quickly! I am reminded of a >> post on Amy Hoy''s blog, though. Hopefully making searching easy will >> help alleviate some of the troubles that are associated with such a >> quick growth within a community. >> Happy Searching! >> >> -Eric >> ericgoodwin.com >> http://blog.ericgoodwin.com/articles/2006/03/25/firefox-rails-search-plugin >> >> David Andrew Thompson wrote: >> > Thank you for the contribution, Eric! Great extension! -Dave >> > >> > On 3/25/06, S?bastien Gruhier <seb@itseb.com <mailto:seb@itseb.com>> wrote: >> > >> >> Kooool >> >> >> >> Le 25 mars 06 ? 07:23, Frank a ?crit : >> >> >> >> >> >>> Thanks Eric. >> >>> >> >>> Very nice. >> >>> >> >>> Frank >> >>> _______________________________________________ >> >>> Rails mailing list >> >>> Rails@lists.rubyonrails.org <mailto:Rails@lists.rubyonrails.org> >> >>> http://lists.rubyonrails.org/mailman/listinfo/rails >> >>> >> >> _______________________________________________ >> >> Rails mailing list >> >> Rails@lists.rubyonrails.org <mailto:Rails@lists.rubyonrails.org> >> >> http://lists.rubyonrails.org/mailman/listinfo/rails >> >> >> >> >> > >> > >> > -- >> > ~~~~~~~~~~~~~~~~~~~ >> > David Andrew Thompson >> > http://dathompson.blogspot.com >> > _______________________________________________ >> > Rails mailing list >> > Rails@lists.rubyonrails.org <mailto:Rails@lists.rubyonrails.org> >> > http://lists.rubyonrails.org/mailman/listinfo/rails >> > >> >> _______________________________________________ >> Rails mailing list >> Rails@lists.rubyonrails.org <mailto:Rails@lists.rubyonrails.org> >> http://lists.rubyonrails.org/mailman/listinfo/rails >> >> > Charlie Bowman > Programmer > Castle Branch Inc. > > ------------------------------------------------------------------------ > > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-- Eric Goodwin http://www.ericgoodwin.com
Charlie Bowman
2006-Mar-27 19:16 UTC
[Rails] [ANN] [OT]Firefox ''Rails Mailing List'' search engine plugin
In hindsight, I think I was a little harsh on her. She is trying to help. Her post just seemed to seperate the community into the "all knowing" and the rest of us. I by no means am an expert either and I guess I just took her post a little personally. I definitely ask more questions than I answer, but I don''t consider myself a vampire. On Mon, 2006-03-27 at 11:05 -0800, Eric Goodwin wrote:> I don''t think it is "attitudes like hers which are the death of a > community", although I do agree that the post could sound a bit > elitist. > Every once in a while you need a post like hers to stir up a bit of > thinking. As members of this community it is our job to drive it in a > direction that we see fit.Charlie Bowman http://www.recentrambles.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060327/708eacb3/attachment.html
OK, I know I''m gonna get the smack down for asking this but... Lets say I have a Customer model (table) with customer.ship_To customer.ship_City customer.ship_State customer.bill_To customer.bill_City... and so on... There are 20 or so ''preference'' fields for a customer... Is there a simple way to migrate this into my Order model / table with the same field names? i.e. Every order can have it''s own billto/shipto but it''s a pull from the customers preferences... I know I read something on this somewhere but I just can''t find it again. Yeah, I already manually coded it -- works great... But, I will refactor it when I figure out the right way... Thanks! -c
Carl Brown wrote: <snip>> There are 20 or so ''preference'' fields for a customer... > > Is there a simple way to migrate this into my Order model / table with > the same field names? > > i.e. Every order can have it''s own billto/shipto but it''s a pull from > the customers preferences... > > I know I read something on this somewhere but I just can''t find it again.I don''t know of a direct way off the top of my head, but something along these lines should work: for column in Customer.content_columns assign_method = (column.name + ''='').to_sym if @order.respond_to? assign_method @order.send(assign_method, @user.send(column.name.to_sym)) end end I''d suggest doing it via send() rather than accessing the properties directly so that you''re not stuck later if you want to change fields in either model. -- Alex