1
2
3
4
def self.capture_system(*args)
  args = args.flatten.compact.collect { |arg| arg.to_s }
  return false if args.blank?
...

Ruby Silencing current output, b...

by k776, February 03, 2010 02:34, No refactoring, tagged with form, output, process, exec, system

Is there a shorter way to d...

74198b06bc9e68739debfe6c23e070d3 Talk
1
2
3
4
    $('login_email').observe('click', function(event){    
      element = event.element()
      element.value = '';
...

JavaScript Prototype form functions

by ttdavett.myopenid.com, March 27, 2009 00:12, 5 refactorings, tagged with prototype, form, login

I'm thinking there's gotta ...

F677fa685a2cfe8aff31f161062db3d3 Talk
1
2
3
4
class Asset < ActiveRecord::Base
	belongs_to :account
	belongs_to :asset_type
...

Ruby Advanced search form & ...

by Erez Ben Shoham, March 16, 2009 11:33, 3 refactorings, tagged with named_scope, search, form, model

I have an Asset model in a ...

30bcacccb1c7fa2b577b905a2128027f Talk
1
2
3
4
  // form fields  
  var address = $("#address");
  var zip = $("#zip");
...

JavaScript Perform AJAX request when t...

by Chris, February 16, 2009 06:49, 1 refactoring, tagged with jquery, form, ajax, validate

If three fields (address, z...

5d7c8b8f2de06c07b2bf0848d20ce71f Talk
1
2
3
4
   
  include Form::Elements

...

Ruby Closure scoping issue

by Tj Holowaychuk, January 09, 2009 20:14, 5 refactorings, tagged with form

Below is the syntax I would...

F1e3ab214a976a39cfd713bc93deb10f Talk
1
2
3
4
<?php
ob_start();
include_once "include/config.php";
...

PHP Login / Registration - be e...

by Memf, December 12, 2008 16:56, 1 refactoring, tagged with register, login, script, form, ajax, registration

be easier?

(login and Re...

71367d98df2bf14cbf704e7741eb402d Talk
1
2
3
//function that loops through the elements
function __validateForm(theform){
...

JavaScript Simple form validator with ...

by eljota, November 11, 2007 10:32, 5 refactorings, tagged with js, javascript, form, validation, regex

This is a real simple form ...

Avatar Talk