search for: hcatlin

Displaying 13 results from an estimated 13 matches for "hcatlin".

Did you mean: catlin
2006 Apr 07
3
List of all Models
Anyone know a pretty way to get a list of all Models? That is, a list of all classes which inherit from ActiveRecord:Base I can''t seem to figure it out! The best I''ve got is to list the /app/models directory... but, that is *dirty*. -hampton. -------------- next part -------------- An HTML attachment was scrubbed... URL:
2006 Apr 24
3
Regex in HTML
So, I''m trying to write a nice bit of regex to handle finding anchor tags in a bit of html. This is what I''ve got.... /<[aA][^>]*>[^<]*<\/[aA]>/ I''m planning on using this with a gsub!. Here is what it has to do.... <html><a href="http://stuff.com" class="link">Anything in here.</a></html> As you can
2006 May 16
5
Transactions in RoR
Hi, Does anyone knows how to manage transactions in RoR. Thanx
2006 Apr 22
6
Friendly Reminder (OT)
Today, I had a tragic hard drive crash. I hadn''t updated anything to SVN in two weeks. I''m posting this here as a reminder to my beloved Rails community. Everyone, right now..... make a backup of your rails work. Make sure its on two disks. Many of you already do that automatically, but just make sure its working. Two near-release rails plugins were lost in the tragic crash
2006 Apr 05
25
How to avoid bunch of <% %> ??
Hello, I would like to know is there is a way to avoid poluting the views with tons of <% %> ? Like this <%= start_form_tag() %> <%= text_field_tag(''category[title]'', category.title, {:size => 20, :maxlength => 128}) %> <% if not category.parent_id.nil? %> <%= select("category", "parent_id", Category.find(:all,
2007 Mar 16
1
Polymorphic find_or_create bug
Today I just spent 3 hours (and before a demo!) trying to figure out why my polymorphic association fields were breaking. Turns out someone else put in a patch for this 6 months ago. I''m not sure if its the same solution I''d use... I''d rather find_or_create attempt to use AssociationProxy#build if its available and only Base#new if we''re not on a proxy.
2007 May 26
1
make_resourceful 0.1.0 Release!
I am extremely proud to put the code up live for make_resourceful! I have been astonished by the positive feedback I''ve been receiving since our talk at this year''s RailsConf. So much pressure to get this thing out! If you haven''t heard about it... then check out my slides from railsconf http://www.hamptoncatlin.com/assets/2007/5/21/make_resourceful.pdf or listen to the
2006 Apr 13
8
DevTower Beta3 Release!
DevTower Beta3! (0.3) I''m proud to announce some major changes and improvements to DevTower in this beta release! First and foremost, DevTower is now a full plugin. Also, DevTower works (only) with Rails 1.1. ==== ABOUT ===== DevTower used to synchronize the development of Ruby On Rails applications with developers working simultaniously on multiple systems with Subversion. DevTower
2006 Apr 06
8
Fastest learning path to RoR
hi! with a 4GL background, wanting to learn RoR, what is the fastest learning path i should take? should i go grab a RoR tutorial, and learn Ruby along the way, or start with plain Ruby first? thanks for any inputs!
2006 Mar 25
14
Creating a symbolic link within a Rails application?
Hi, how does one create a symbolic link within a Rails application? At this time, I can perform this action at the command line but I''m not sure how to do it within Rails. BTW, I''m doing the following command in Mac OS X: ln -s $SITE_ROOT/common_directory/* $SITE_ROOT/new_directory Thanks in advance, -Conrad -------------- next part -------------- An HTML attachment was
2006 Aug 18
5
potential enterprise rails project
Hello Rubyists, I''m in the position of being given the job to design and build a mission-critical web facing application for a small but growing enterprise. It is to be used by customers as needed, numbering in the tens up to the hundreds. It will collect operational data, particularly in a table around 50 columns wide, and potentially millions of rows deep, most fields being numerical.
2006 Apr 15
0
Ticket #4140? observe_field issue.
Take these two basic bits of HTML. <input id="user_email" name="user[email]" size="30" type="text" value="" /> <script type="text/javascript"> //<![CDATA[ new Form.Element.EventObserver(''user_email'', function(element, value) {new Ajax.Request(''/account/validate_user_email/0'',
2006 Jul 02
3
Mongrel Randomly getting TERM
Has anyone ever experienced this problem? Every 12-24 hours *one of* my mongrel processes gets a TERM signal and quits. There is all I get in my mongrel log.. ** Mongrel available at 0.0.0.0:8003 ** TERM signal received. And my rails-log is silent too. No request starting. Just the end of a successful request and then nothingness. The other processes are doing just fine and stay up for good.