Displaying 20 results from an estimated 6000 matches similar to: "The lone PC in Raleigh"
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 17
40
Convince me to buy TextMate!
I got a Powerbook recently and am debating buying TextMate. I installed
the trial and have checked it out, but don''t see what''s so great about
it. AFAICS it''s the Ruby and Rails macros for expansion and other stuff
that might be it. Other than that, TextMate seems like a pretty basic
editor. I currently use PSPad and Editplus, and I could probably
get/make macros
2004 Aug 06
2
Using Winamp for ogg streams/files
hello,
It appears that Winamp 3 has problems playing ogg streams/files. I can't
say exactly since I don't use Windows myself. I tried the very alpha
Winamp for Linux and it was quite useless.
This came from
http://forums.winamp.com/showthread.php?s=67fc68ecaec04349ad8bb66483c3cbd1&threadid=126800
on the shoutcast/winamp forum:
"Ogg files become corrupted by adding ID3 tags,
2006 Mar 28
3
coolest software ("coolest startups" re-asked)
Asked a little while back about "coolest startups" 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 Apr 22
2
put variable in session each time any controller runs?
Hi -- well, that''s what I''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
2008 Mar 01
5
rspec with continuations: very strange
I appear to have written code which travels backwards through time:
http://www.vimeo.com/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:
2006 Feb 15
36
Rubuntu Live CD for Rails
Friends-
I am almost finished with a custom live cd called Rubuntu ;-) This
is an ubuntu live cd variant that comes preloaded with ruby and rails
developers in mind. I already have it working with all the basics but
I was wondering what extras people would like to see on this distro.
What editors with what configurations?
What other tools do people really like for rails development on a
2006 Jul 16
3
pagination over custom-sorted collections?
I have a little web app where we need to paginate collections of
items. I''m trying to sort the collection and then pass it, sorted, to
a Paginator, and still be able to paginate through the collection,
across several pages, with the new sort order. The only thing I''m
doing differently from the regular scaffolding approach is this:
@order_pages = Paginator.new(self,
2008 Jan 04
7
best way to modify spec (the command-line tool)?
Hi all, where I work we''ve cooked up a kind of ghetto profiler for our
specs. It basically just does this:
time = Time.now
# run the spec
puts "woah! dude. long spec." if time > 1.second
I''m simplifying here. I think the threshold is actually 0.1 seconds,
and we use more precise language, and highlight the spec in red via
terminal colors, etc.
But the way it works
2006 Mar 06
4
rails internals?
Is there a list for discussing Rails internals or is that kind of one
of those jealously guarded secret things?
Also, I seem to be being a bit of a prat today, but if you read this closely:
http://www.rubyonrails.org/images/headlines/community.gif
Bit of a grammatical error there. (Sorry!)
Giles
2008 Jan 17
5
unusual challenges speccing external software
This is something I''ve come up against twice. First, I have an
interactive editor which calls vi, emacs, or TextMate (etc.) via Unix,
and then loads the file handed to the editor back into IRB after it''s
edited and saved. I guess that makes it a special case of a more
general question, which is how do you spec external processes, with a
slightly more complicated version of the
2006 Mar 06
11
coolest startup?
OK, general question for the community -- what''s the coolest startup
using Rails? I don''t think "37 Signals" is a fair answer. I''m curious
as to what kind of other developments are happening. Are there a lot
of startups using Rails in the first place? Or do most of you who are
lucky enough to do Rails for a living (I''m coding Java, bleah) work in
large
2006 Apr 27
10
OT -- billing and estimating, good resources?
OK, so for most of my career, I''ve done everything on an hourly rate.
Recently somebody kind of pointed out that if you bill by the
milestone you can work on multiple projects simultaneously without any
ethical problems, so you get increased efficiency. 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
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
2007 Jul 01
1
how many Mongrels?
Hi - I''ve got a pretty popular Rails app on a Mongrel cluster with
Apache and mod_proxy_balancer. How do I decide how many Mongrel
servers to put in the cluster?
I don''t have stats for the number of requests hitting the server yet,
but I should have that data soon. The server has 2GB of RAM and has to
do a lot of work with RMagick, including generating and storing lots
of
2006 Jul 27
1
form_tag vs form_remote_tag ----- the :condition option
form_remote_tag has a really useful little thingamob called
:condition. you give it a string which is then interpolated into the
form tag in such a way that the form is only submitted if :condition
evaluates in javascript to true.
so the logical thing to do is give it a JavaScript function
<%= form_remote_tag ( :condition => ''your_function_here()'',
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 27
4
widgets on rails?
Here''s my crazy question of the day.
Has anybody played around with using Rails to create Mac OS X Dashboard Widgets?
Or is that just sick and wrong?
Giles