Posted by kev
Mon, 08 May 2006 20:05:00 GMT
Chris Van Pelt of sd.rb has released Ajax Spy a great debugging tool for RJS templates.
It only requires adding two files to your project and a bit of javascript_include_tag lovin in your layout. Go check it out.
Posted in Web Dev, Rails, Ruby, sd.rb
Posted by kev
Tue, 21 Mar 2006 21:57:00 GMT
Finals are done! In celebration, I’ve finished my guide to Rails for designers.
This is for designers who are going to be working with Rails and is intended to give them a good starting point to jump into work with a Rails developer. This is all introductory material. As such, I cover some basics (MVC, locations of files) and move from there to a code example and more advanced topics (partials, ActionView helpers).
Update: If there are other things people think I should cover, feel free to leave comments and I’ll do a follow up article.
Update #2: If you liked the article, digg it!
Update #Again: Marcel Molina (Jr) of the core team notes that yield is prefered to @content_for_layout when creating layouts, so I’ve updated my examples.
Read more...
Posted in Web Dev, Rails, Ruby | 22 comments
Posted by kev
Tue, 07 Feb 2006 01:32:00 GMT
Last week I accepted a job with Mingle.com. The work is exciting (all Rails) and the team is excellent.
Because Rails is a young framework, I thought it would be helpful to write up what I consider best practices when coding with it both for my new coworkers and the web at large. Here’s my current draft. Feel free to critique and comment. I’m very open to suggestions.
Read more...
Posted in Web Dev, Coding, Rails, Ruby | 17 comments | 3 trackbacks
Posted by kev
Mon, 28 Nov 2005 18:36:59 GMT
It’s official, RailsConf will happen and it will take place in Chicago. DHH and Dave Thomas of the Pragmatic Programmers are already lined up to keynote. At ~$400, the price is a little steep, but I’ll see you there!
Posted in Web Dev, Rails | no comments | 1 trackback
Posted by kev
Wed, 09 Nov 2005 01:41:00 GMT
So, if you’re one of the lucky few who have gotten into the MeasureMap private alpha here’s how you can easily add support into typo. MeasureMap is really way cool. I’ve only had it a few hours, so I’ll be posting some impressions as soon as I have gathered my thoughts.
Read more...
Posted in Web Dev | 1 trackback
Posted by kev
Thu, 03 Nov 2005 03:27:00 GMT
From the site:
moo.fx is a superlightweight, ultratiny, megasmall javascript effects library, written with prototype.js.
moo.fx is not a replacement for script.aculo.us or other effects libraries. It’s just a little alternative for people (like me) that do not need more than just simple, basic effects (and want to keep their filesize small).
This thing weighs in at only 3kb. May be worth a look.
Posted in Web Dev | no comments | 1 trackback
Posted by kev
Sun, 16 Oct 2005 23:03:17 GMT
Aslak Hellesoy - ThoughtWorks
About Me
- I work for ThoughtWorks
- I have a former Java life
- “I also have a former life in the Java Community.”
- PicoContainer
- XDoclet
- Ruby OSS
Agenda
- Background
- Continuous Integration
- Show of hands for people who have used it: about 1/4 of audience
- Architecture
- Plans for the future
Continuous Integration
You can think of continuous integration as another member of your team.
- Will detect when there’s updated source code in your repository.
- Will check out the changes, rebuild.
- Will report to team whether or not the build was successful (including results of tests).
RSCM
OK
KO
- Perforce
- Monotone
- StarTeam
- Darcs
Issue Tracking
OK
- RubyForge
- JIRA
- SourceForge
- Trac
KO
- Collaboa
- Scarab
- Bugzilla
- FogBugz
Distribution (No Gem)
- Ruby
- Rails
- SQLite binaries
- SQLite db
- DamageControl
Architecture
- Users connect to SCM.
- SCM passes to Builder which connects to DB and slave.
- DB connects to Webapp.
Database Schema
- projeccts, revisions, revsionfiles, buildexecutions, builds, artifacts
Short Term Future
- Move from Codehaus to TextDrive
- Use Collaboa
- Visual identity (website and UI)
- Fix the worst bugs
Longer term future
- More SCMs(RSCM)
- Distributed builds
- More SCMs
Source
- http://hieraki.lavalamp.ca/
- http://jira.codehaus.org/browse/DC
…
Gotchas
- SQLite - Database Busy
- Missing dll on windows
Q: Say you have CruiseControl running, whats the switching time?
A: Hopefully very little.
Q: Do you support multiple build configurations? Like building against different versions of ruby. Do you support multiple branches?
A: No, we don’t support multiple build configs. You can work around with multiple projects. We don’t support multiple branches in cvs but do in svn.
Posted in Web Dev, Coding, Rails, Ruby | no comments | 3 trackbacks
Posted by kev
Sat, 15 Oct 2005 22:38:16 GMT
Hi guys. You may have noticed that my blog has been down or doing odd things today. This is because I was helping to test a bugfix for a ticket I turned in a while back. Good news, its fixed and will be part of the Release Candidate later tonight.
What this means: those of us on textdrive or other reverse proxied systems can use named routes without fear of the port number showing up. Huzzah or something similar.
Posted in Web Dev, Coding, Rails, Ruby | no comments | no trackbacks
Posted by kev
Fri, 14 Oct 2005 20:55:58 GMT
Ok, I’m sitting in the basement of the RubyConf hotel. I’ll be giving you play by play as I can. Things should start in a few minutes.
Posted in Web Dev, Coding, Rails, Ruby | no comments | no trackbacks
Posted by kev
Fri, 09 Sep 2005 21:37:00 GMT
So remember when I told you about my patch to add svn support to the automatic code generators in rails? Well, as of this morning in changeset 2174 its in the trunk. Go forth and use generators with excellent version control!
Posted in Web Dev, Coding, Rails, Ruby, Hacks | no comments | 1 trackback