サクサク読めて、アプリ限定の機能も多数!
トップへ戻る
アメリカ大統領選
www.alfajango.com
A special thanks to Andy Lindeman for proofreading this article (and of course, for putting these together in his presentation. Check out Andy's book, Upgrading to Rails 4 for more Rails 4 goodness. Rails 4 is on the horizon, and there's lot's of new stuff to be excited about. Andy Lindeman has a great presentation called, "Rails 4 Whirlwind Tour" on Vimeo. But not everyone has 40 minutes to spare
AJAX file uploads, how do they work?! Well, they kinda don't. Browsers don't allow file uploads via XMLHttpRequest (aka XHR) for security reasons. If we try to submit a form remotely via XHR, it will work, except with the file field stripped out of the request parameters. This sort of partial, silent failure can lead to unicorn black-eyes. (I punch unicorns in the face when I'm frustrated.) This i
Heading 1 This is the content of the first tab. Select second tab Select third panel by ID
The Difference Between jQuery's .bind(), .live(), and .delegate() The difference between .bind(), .live(), and .delegate() is not always apparent. Having a clear understanding of all the differences, though, will help us write more concise code and prevent bugs from popping up in our interactive applications. The jQuery team have announced in v1.7 a new method for binding events called on. This me
Rails 3 Remote Links and Forms Part 2: Data-type (with jQuery) Continued from Rails 3 Remote Links and Forms: A Definitive Guide. Since writing the Rails 3 Remote Links & Forms Definitive Guide, one question keeps coming up: How can we make our remote links and forms retrieve JS.ERB, instead of an HTML partial? In the last article, we requested an HTML partial to be inserted into the page by our A
Also see Rails 3 Remote Links and Forms Part 2: Data-type (with jQuery). Spoiler Alert: If you like magic, stop reading. The Rails 3 UJS driver (rails.js), which powers the remote links, forms, and inputs, is not very magical when you know how it works. This article uses the jQuery UJS driver, though the Prototype UJS driver does the same thing. UJS, by the way, stands for "Unobtrusive JavaScript"
[caption id="attachment_70" align="alignleft" width="300" caption=" "][/caption] Munin is a great tool to monitor resources on your server, showing graphs over time, so that you can analyze resource trends to find what's killing your server before it causes major problems. It is also very configurable and can be made to profile and graph just about anything via plugins. And with a couple tricks, y
Rails, Prototype, and JQuery in Harmony (or how to replace Prototype with JQuery) It has become common practice to use JQuery as the javascript library of choice for Ruby on Rails applications. If you have a Rails app already using Prototype, it usually isn't feasible to replace it in one swoop. And sometimes, you just simply need both to work at the same time. Whether you want to use both in unis
Phusion Passenger (aka mod_rails) allows for easy and scalable deployment of Ruby on Rails applications on Apache or Nginx servers. Part of what makes it so easy is that it comes with suitable default settings right out of the box, so that you don't need to concern yourself with any of the details when deploying your application to production. However, once you've launched your application and peo
このページを最初にブックマークしてみませんか?
『Alfa Jango - Building Startups in Ann Arbor with Ruby and JavaScript』の新着エントリーを見る
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く