search for: gilesgoatboy

Displaying 20 results from an estimated 49 matches for "gilesgoatboy".

2006 Apr 22
2
put variable in session each time any controller runs?
...9;m trying to do. Does anyone know what the best way to do it is? I have three controllers, each one has a hidden tag, and I want each one to salt its respective tag with the name of the action in effect, at the time that action runs, for every action in the controller. -- Giles Bowkett http://www.gilesgoatboy.org
2006 Mar 28
3
coolest software ("coolest startups" re-asked)
..." using Rails, I think it''d have been better had I asked "coolest software." Besides the obvious (37Signals, Typo, Yakima Herald, Odeo, Measure Map, etc.), I''m just curious about other developments where people are using it to make nifty stuff. -- Giles Bowkett www.gilesgoatboy.org
2006 Jul 16
3
pagination over custom-sorted collections?
...pages = Paginator.new(self, @orders.length, 10, (params[:page] ||= 1).to_i) It doesn''t work. @orders is sorted when I hand it to Paginator. Am I skipping a step? Does Paginator only work on run-of-the-mill SQL calls? I can''t seem to figure this out. -- Giles Bowkett http://www.gilesgoatboy.org
2006 Jul 27
1
form_tag vs form_remote_tag ----- the :condition option
...implement this feature? my JavaScript''s a bit rusty but I think you can probably just put it in a function, and then reference the function from the form tag in the HTML. if there''s anybody out there with fluent JavaScript -- does that sound right? -- Giles Bowkett http://www.gilesgoatboy.org
2007 Jul 01
1
how many Mongrels?
...agick, including generating and storing lots of images. My predecessors put all of the image storage on the filesystem, and I won''t be able to change that right away. Any & all help massively appreciated. -- Giles Bowkett Blog: http://gilesbowkett.blogspot.com Portfolio: http://www.gilesgoatboy.org
2008 Jan 17
5
unusual challenges speccing external software
...nstance, there are places where I check that a Generator subclass can do stuff, even though Generator itself isn''t fully specced.) I''m not quite sure though. -- Giles Bowkett Podcast: http://hollywoodgrit.blogspot.com Blog: http://gilesbowkett.blogspot.com Portfolio: http://www.gilesgoatboy.org Tumblelog: http://giles.tumblr.com
2008 Mar 01
5
rspec with continuations: very strange
...m/742590 This disturbs me immensely. If anyone can explain it, that would be cool. I think it''s an illusion brought about by how RSpec wraps the code it executes, and by the sheer weirdness of continuations. -- Giles Bowkett Blog: http://gilesbowkett.blogspot.com Portfolio: http://www.gilesgoatboy.org Tumblelog: http://giles.tumblr.com Podcast: http://hollywoodgrit.blogspot.com
2006 Apr 27
10
OT -- billing and estimating, good resources?
...iency. Does anyone have any good advice/URLs/books on how to do cost estimates on a project? I''ve really always kind of avoided the issue as one of those boring "business" details, but it''s looking as if I should really sort of figure it out. -- Giles Bowkett http://www.gilesgoatboy.org
2007 Dec 29
5
./script/story command
Below I''ve pasted a ./script/story command I''ve been using for about a week. It has three modes of operation: 1. ./script/story with no arguments will run all *.story files in the story path 2. ./script/story with a path or glob will run the specified stories 3. If input is passed in via STDIN, it runs that text as a story. This opens up story running via a simple interface
2008 Jan 04
7
best way to modify spec (the command-line tool)?
...y and exit for running individual specs that I can put the code around? It''s currently manually hacked onto each example group individually and it seems a bit untidy. -- Giles Bowkett Podcast: http://hollywoodgrit.blogspot.com Blog: http://gilesbowkett.blogspot.com Portfolio: http://www.gilesgoatboy.org Tumblelog: http://giles.tumblr.com
2008 Jan 11
2
guide to good mocking?
...translate that vague sense for other people without guiding them through the code line by line. Earlier today I caught a spec that took 50 seconds to run, which was just nuts. -- Giles Bowkett Podcast: http://hollywoodgrit.blogspot.com Blog: http://gilesbowkett.blogspot.com Portfolio: http://www.gilesgoatboy.org Tumblelog: http://giles.tumblr.com
2008 Jan 31
1
thoughtworks site down? / another tiny patch for Rails 2 compatibility
...as a value attribute which is a time interval. I''m still having issues running it under Rails 2, but this fix gets the builder loop working with ActiveSupport 2.0.2. -- Giles Bowkett Podcast: http://hollywoodgrit.blogspot.com Blog: http://gilesbowkett.blogspot.com Portfolio: http://www.gilesgoatboy.org Tumblelog: http://giles.tumblr.com
2006 May 04
5
I''m writing an article about Rails and I need help
Hi to everybody, I''m writing an article about Ruby on Rails and I need to gather some information about the project and the community of core developers. In particular I''d like to know something about the organization of the project (how are decisions taken, who decides what goes into the project, conflict resolution, contributions acceptance...) and something more technical
2008 Jan 26
6
UI Integration with RSpec?
Hi all, Is there any integration with testing tools such as RSpec or Test::Unit planned? I see that the cruise task is run correctly, but the tests show up underneath the build log. Ideally I''d like them to show up the same way that they do in ''java'' CruiseControl, in their own section of tests. Will.
2006 Apr 17
6
Is there anyway to make Rails NOT cache?
Is there anyway to make Rails NOT cache? I''m getting caching in the browser and the server. I have to restart Lighttpd after every view change to see the results. Thanks, phill
2006 Mar 30
25
TextMate for Rails development -- why?
Greetings, I am curious, I see quite a few references to using TextMate for rails development. I downloaded TextMate and used it for 30 days. I do not see what everyone is raving about. Snipplets are nice, but other editors do the same thing, some with much more power. Can anyone tell me what makes people draw to TextMate? Maybe I am missing the whole reason, I''d really like to
2006 Apr 22
7
Proper Database Design For A Newbie
Hi all, I am starting out learning Ruby on Rails (coming from a PHP background) and I have a question about proper database design. Let me give you a quick example of what I want to do: Database: CREATE TABLE `users` ( `id` int(11) NOT NULL auto_increment, `login` varchar(40) default NULL, `email` varchar(100) default NULL, `crypted_password` varchar(40) default NULL, `salt`
2006 Apr 28
35
what''s your rails wishlist?
I''ve been working with rails for a while now. Rails is the second web framework I''ve tried. It blows the doors off catalyst (perl''s best framework). I even just wrote my first plugin (broomstick). Ruby''s ability to meta-program blew me away with it''s ease of use. I''ve been so impressed with the helpers that rails uses to make a lot of
2006 Apr 28
19
Remember James McGovern?
Remember James McGovern and his articles about Rails and enterprise? Well... Check this one out where he "puts his money where his mouth is" http://duckdown.blogspot.com/2006/04/ruby-community-proved-mcgovern-wrong.html -- -------------- Jon Gretar Borgthorsson http://www.jongretar.net/
2006 Apr 17
18
The lone PC in Raleigh
Last week I had the pleasure of attending the Raleigh area Ruby users Meetup. It was very interesting and very informative. I did feel a bit out of place when we noticed that of the 11-12 people there, I was the only one with a PC laptop. The rest were shiny macs. Ah well, I need to replace this thing soon, and now that BootCamp is out, I really have no more excuses. This way I can test