Skip to content

Instantly share code, notes, and snippets.

View baldwindavid's full-sized avatar

David Baldwin baldwindavid

  • Indianapolis, IN
View GitHub Profile
@baldwindavid
baldwindavid / personal-to-org-account.md
Created December 12, 2011 21:35
How to turn a personal account into an org account

You can turn your personal account into an organization by going to Account Settings > Organizations, clicking "Turn into an organization", and following the instructions in the pop up dialog.

The history of the account and the repositories will be preserved.

I'll explain each point of the warning you'll get:

You will no longer be able to log into YOURACCOUNT (all administrative privileges will be bestowed upon the organization owners you choose)

This just means that you need to choose a new personal account(s) to add as the owner(s) of your new organization. You need to do that anyway, because you can't log in as an organization. You need to create at least one new personal account for you.

def index
# Queries are here for clarity purposes in this demo
# It's of course a better idea to create a method in your model
users = User.find(:all) do
# Neato!
if params[:_search] == "true"
pseudo =~ "%#{params[:pseudo]}%" if params[:pseudo].present?
firstname =~ "%#{params[:firstname]}%" if params[:firstname].present?
// Place your application-specific JavaScript functions and classes here
// This file is automatically included by javascript_include_tag :defaults
var $j = jQuery.noConflict();
jQuery(document).ready(function($){
var rowGuid = 0;
var $j = jQuery.noConflict();
jQuery(document).ready(function($){
$("#id_of_my_textarea").markItUp(nameOfSettings);
});
jQuery.ajaxSetup({
'beforeSend': function(xhr) {xhr.setRequestHeader("Accept",
irb(main):001:0> thing
NameError: undefined local variable or method `thing' for main:Object
from (irb):1
irb(main):002:0> defined? thing
=> nil
irb(main):003:0> thing = thing
=> nil
irb(main):004:0> thing
=> nil
irb(main):005:0> defined? thing