search for: szymczykowski

Displaying 17 results from an estimated 17 matches for "szymczykowski".

2006 Feb 10
4
before_save gotcha
Is it will known and accepted that before_save triggers should return true? I didn''t notice this before but now I see it in the documentation. Here is what I''m doing in my model: def before_save if self.has_album? self.visible = self.album.visible? end end That results in the expected result when album.visible? is true - but not when it is false. To make it
2006 Jan 23
6
Ruby at O''Reilly Rough Cuts
Not sure if this is old news or not, but it would appear that both the Ruby Cookbook and a Rails book are now available for purchase at O''Reilly Rough Cuts (something akin to PragProg''s beta book program): http://rubyurl.com/nHz http://my.safaribooksonline.com/?mode=roughcuts&srchtext=ROUGHCUTS I haven''t tried them yet, but it definitely seems worth checking out.
2006 Mar 03
5
Rails Site: VegasLists.com
Just wanted to drop a note about a new Rails site that we''re testing in the wild, http://www.vegaslists.com. The site allows users to create lists about anything Las Vegas related and then lets other users comment on those lists. It was a project that went from concept to completed in about 2 weeks, working on it after the ''real job'' for fun. It''s very simple
2006 Mar 02
2
List controllers?
Hi Raileans, I''m wondering if there''s any way to get a list of all of the valid controllers in my application. Specifically, I''m doing some funny dynamic stuff in my routes.rb and wanted to make sure that valid controllers will always get mapped while things that are not controllers will go to my other map. I think it would look something like this in my mind''s
2006 Feb 11
4
Helpful resources for averyone
Hi all - just a quick one - Ive been reading through a lot of these posts and notice a lot of people looking for resouces ie Tutorials etc, well I have recently signed up for the new Rubyforums.co.uk which promises to be a great source of info for us all, they already have some neat stuff on there which I have used myself and am very happy with so i just thought it the good thing to do by
2006 Jan 13
9
form_remote_tag breaks inside table
i guess its better form to keep form tags outside of table tags anyways, but it took a lot of trial and error to figure out thats why @params were no longer showing up after switching form_tag to form_remote_tag. not sure if this is a prototype ''bug'' or ''feature'' or what. but my next step was to switch to a seperate form tag for each row to reduce needless
2006 May 30
2
ActiveMerchant
Is anyone using ActiveMerchant currently? I''ve seen it recommended on this list several times, but it seems kind of buggy and incomplete and I''m having trouble getting it to work. >From the example at http://home.leetsoft.com/am/, I''ve tried: gateway = ActiveMerchant::Base.gateway(:authorized_net) response = gateway.capture(1000, creditcard) ..but it
2005 Dec 15
2
HABTM being tricky
I''ve just been bodyslammed by a problem with has_and_belongs_to_many - as far as I can tell, if it doesn''t appear at the top of other relationship definitions it doesn''t seem to work right. For example: class Artist < ActiveRecord::Base has_and_belongs_to_many :genres has_many :albums has_many :videos has_many :cds has_many :collections end ..works fine
2005 Sep 12
10
RailsPlayground Beta Launch - Free Rails Hosting
I have launched a free Ruby on Rails hosting site as my gift back to the rails community. For details visit http://www.railsplayground.com. -- Joe Clarke www.clarkeweb.com
2006 Jun 30
50
Time To Pick the Mongrel BUGS Mascot!
Bradley Taylor shot me this *goldmine* of ugly ugly ugly dogs: http://www.sonoma-marinfair.org/uglydogvote.shtml I *have* to use one of these for the Mongrel BUGS Mascot. He''ll go on our bug list page and replace the little beetles on the left. Pick the dog you think best represents a lovable but defective pooch and reply to this with your +1. Let the voting begin! -- Zed A. Shaw
2006 Jun 30
0
Fwd: Mongrel-users Digest, Vol 5, Issue 22
....org Message-ID: <64e1f5070606300019h3d4ecc86n80031b626fd564db at mail.gmail.com> Content-Type: text/plain; charset="iso-8859-1" +1 ELWOOD he definitely looks sick On 6/30/06, Zed Shaw <zedshaw at zedshaw.com> wrote: > > On Thu, 2006-06-29 at 23:43 -0700, Pawel Szymczykowski wrote: > > On 6/29/06, Zed Shaw <zedshaw at zedshaw.com> wrote: > > What about this one? > > > > http://samugliestdog.com/ > > > > It''s true that he''s passed away now, but he was quite the internet > > meme a couple of years ago. He...
2006 May 27
36
Might be buying a Mac
I might be buying a Mac tomorrow. I checked out the new 13.3in MacBook at the new Apple Store on 5th ave in NYC. I''m torn between the smaller MacBook and the MacBook Pro. We have a pro at work and I''m not that thrilled with the way it feels. I like the keyboard much better on the 13inch. However, I think doing development on that small of a screen could get frustrating. Any
2006 Mar 06
46
Capistrano 1.1
Capistrano is a utility for executing tasks in parallel across multiple remote hosts. It was formerly known as SwitchTower. Installation: gem install capistrano Manual: http://manuals.rubyonrails.org/read/book/17 Version 1.1 introduces a few changes: * Renamed! Due to the trademark infringement debacle of last week, we had to change the name. Moving forward it will be known as
2006 Aug 11
0
Byte Order Mark in layouts
Hi all, I had a rails project ported from a java app that was perplexing me. Everything was running fine, except that it wouldn''t validate with the W3C HTML validator - it kept saying that there was a invalid character in there and failing. Up until a few days ago, I had no idea what a BOM or Byte Order Mark was. Apparently, many editors write a few bytes at the beginning of a
2006 Aug 14
0
MediumText with Rails Migrations
Hi, I''m trying to figure out how to reliably define a column as mediumtext type through a migration. First I tried this: change_column( :entries, :lines, :text, :limit => 2.megabytes ) It worked fine for my development box on MySQL 5.0, but when I tried it on my production box with MySQL 4.0, it gave the following error: MysqlError: You have an error in your SQL syntax. Check the
2006 Mar 23
0
Porting from Struts to Rails
Hi all, I''ve been put into the unique position of having to port a J2EE app using Struts and Hibernate over to RoR. The good news is that it''s not a terribly complicated application. The bad news is that I know next to nothing about Struts. I took some Java classes in my university days and have had the opportunity to work with a couple Java developers in the past, so
2006 Jan 08
0
USPS Shipping API
I need to do USPS shipping from within my Rails app. Before I reinvent the wheel, is there anything out there already? I''m familiar with the Shipping gem that has support for Fedex and UPS so far, and came across a post on Robby on Rails'' blog that he might be adding USPS support to it back in April. Does anyone know if that or anything similar has ever came to fruition?