Site Search
171–180 of 193 results for ruby on rails
-
Thoughts on Remix
December 19, 2023 - Reflections on Remix by seasoned React developers. TL;DR: it good.
-
Blocking Spam in Rails Applications
November 1, 2006 - Whenever you accept user-generated content, you run the risk of opening your system up to spammers. This is most well-known as a problem for blogs that allow comments; but, every relatively open site faces this challenge. There are many potential solutions to this problem -- you…
-
DC’s Startup Weekend This Weekend
October 24, 2007 - In early July, about 70 people got together to try to launch a web business in one weekend. VoSnap didn't launch on time, but those involved deemed Startup Weekend a big success, so Andrew Hyde decided to take the show on the road. I was fortunate to meet Andrew in Colorado and…
-
All New Viget.com and Blogging Strategy
March 6, 2008 - We last redesigned viget.com almost two years ago. As part of that effort, we launched the FourLabs blog, dedicated to sharing "insights and commentary reflecting the four key aspects of our work: strategic consulting, interactive design, application development, and online…
-
Testing for HTML Tags in Rails Plugins
June 4, 2008 - When creating Rails plugins that add ActionView helpers, we often test to ensure they produce specific tags with specific attributes. When testing this type of assertion within controller tests, we have the very useful assert_tag and assert_select; but in plugin tests and…
-
Introducing ActsAsMarkup: A Markdown, Textile, Wikitext, and RDoc Plugin for ActiveRecord
August 12, 2008 - On a project I’ve been working on recently, I wanted to be able to enter in Markdown text to a field and convert it into HTML in a view. Having read about BlueCloth’s performance problems though, I didn’t want to use the built in markdown helper in ActionView.…
-
Multi-line Memoization
January 5, 2009 - Here’s a quick tip that came out of a code review we did last week. One easy way to add caching to your Ruby app is to memoize the results of computationally expensive methods: def foo @foo ||= expensive_method end The first time the method is called, @foo will be nil, so…
-
A Gaggle Of Git Tips
January 11, 2009 - Almost a year ago, our first post about Git hit this blog. Since then, our posts about Git have been popular with you, our readers. Clinton’s overview of git-svn, for example, remains one of our most popular posts, months after he first wrote it. Like much of the Ruby and…
-
Simple Features that Set Emacs Apart
January 19, 2009 - I started using Emacs as my primary text editor about three years ago. After two weeks, it quit being a difficult experience. When I joined Viget and started programming in Ruby again after a stint in PHP, I shifted to TextMate, but that didn't last long. There are features in…
-
Advice, Trends, and Resources for People Entering Web Careers in 2009
May 11, 2009 - Many have us have spoken to people who will soon be entering careers in web design related fields this year, and this led us to have discussions with each other about what we thought was important for those people to know. Each of us had different advice to share based on each…