tsaleh

Tammer Saleh
Thoughtbot, Inc.
Boston, MA
23
12
Mar 03, 2008

Following

Public Activity  feed

tsaleh created gist: 138254 Tue Jun 30 09:27:01 -0700 2009
# avoids mass-assignment restriction for protected attributes def update_from_hash!(params) ...
tsaleh created gist: 132244 Thu Jun 18 15:23:14 -0700 2009
ActionView::TemplateError (You have a nil object when you didn't expect it! The error occurred wh...
tsaleh created gist: 128346 Thu Jun 11 17:32:49 -0700 2009
tsaleh@mommysgaragesale:/home/mgs_production/sites/mgs/releases$ ls 20081010085631 20081010155749...
tsaleh created gist: 127518 Wed Jun 10 14:39:36 -0700 2009
def cookies return {} unless @env["HTTP_COOKIE"]
tsaleh created gist: 127504 Wed Jun 10 14:24:15 -0700 2009
{:one => 1, :two => 2}.select {|k,v| k == :one} #=> [[:one, 1]]
tsaleh created gist: 127404 Wed Jun 10 11:32:01 -0700 2009
def publish(feed_story_or_action) session.post(Facebooker::Feed::METHODS[feed_story_or_...
tsaleh created gist: 127403 Wed Jun 10 11:30:38 -0700 2009
def post_form_with_net_http(url,params) Net::HTTP.post_form(url, params) end
tsaleh created gist: 127397 Wed Jun 10 11:30:07 -0700 2009
def fb_cookie_prefix Facebooker.api_key+"_" end
tsaleh created gist: 123739 Thu Jun 04 10:49:43 -0700 2009
module Tenant mattr_accessor :tenant_id, :locale,
tsaleh pushed to master at tsaleh/tammersaleh Tue Jun 02 15:04:47 -0700 2009
HEAD is 0a3815d6e54d812c03613a602a4ce7f561306881
tsaleh created gist: 122282 Tue Jun 02 08:10:09 -0700 2009
before_filter :check_authentication, :except => [:index, :images, :browse_by_category, :click_d...
tsaleh created gist: 121859 Mon Jun 01 16:04:27 -0700 2009
describe ".preregister_pending_with_facebook" do before(:each) do @user1 = ApiFixture...
tsaleh created gist: 121857 Mon Jun 01 15:58:27 -0700 2009
def self.user @@user ||= User.new(@tyler) end
tsaleh created gist: 121808 Mon Jun 01 14:24:58 -0700 2009
it "returns user with the fb_email_hash on #find_by_fb_email_hash" do @user.fb_email_hash =...
tsaleh created gist: 121807 Mon Jun 01 14:24:39 -0700 2009
Warning: libmemcached 0.26 suggested; you have 0.25. ........F............
tsaleh created gist: 121630 Mon Jun 01 11:02:10 -0700 2009
class ItemStatus < ActiveRecord::Base has_many :users has_many :products
tsaleh created gist: 121626 Mon Jun 01 10:59:19 -0700 2009
def self.find_active() ItemStatus.find(1) end
tsaleh pushed to master at tsaleh/iphonedevbook Sun May 31 11:19:20 -0700 2009
HEAD is f0a14488dd11b56ff8e92b04c0265ee9dfbb537f

4 commits »

tsaleh pushed to master at tsaleh/iphonedevbook Sat May 30 17:07:33 -0700 2009
tsaleh pushed to master at tsaleh/iphonedevbook Sat May 30 16:48:34 -0700 2009
tsaleh created branch master at tsaleh/iphonedevbook Fri May 29 18:41:32 -0700 2009
tsaleh created repository iphonedevbook Fri May 29 18:40:37 -0700 2009
New repository is at tsaleh/iphonedevbook
tsaleh created gist: 120120 Fri May 29 11:25:28 -0700 2009
def is_admin? retval = false for role in roles do
tsaleh created gist: 120119 Fri May 29 11:25:10 -0700 2009
# def is_admin? # retval = false # for role in roles do
tsaleh created gist: 120041 Fri May 29 09:21:59 -0700 2009
> egrep -R 'find\([0-9]+\)' app/ app/controllers/main_controller.rb: @shipping_address.count...
tsaleh created gist: 120001 Fri May 29 08:21:09 -0700 2009
def email_validate_confirmation_required? (self.email.blank? && !self.email_confirmation.bl...
tsaleh updated gist: 118199 Tue May 26 11:27:54 -0700 2009
Account Create (0.3ms) INSERT INTO `accounts` (`name`, `updated_at`, `deleted_at`, `pending_d...
tsaleh created gist: 118199 Tue May 26 11:17:37 -0700 2009
[tsaleh@tardis:~/code/liveworld-seattle multitenant ∴ ] panel_reset * About to connect() to loca...
tsaleh pushed to production at tsaleh/tammersaleh Sun May 17 09:23:16 -0700 2009
HEAD is d5582f9edfe295a082e14c8a343ec9bffa341b70
  • tsaleh committed d5582f9e:
    Added google hosted service verification file
tsaleh pushed to staging at tsaleh/tammersaleh Sun May 17 09:20:54 -0700 2009
HEAD is d5582f9edfe295a082e14c8a343ec9bffa341b70
  • tsaleh committed d5582f9e:
    Added google hosted service verification file
tsaleh pushed to master at tsaleh/tammersaleh Sun May 17 09:20:43 -0700 2009
HEAD is d5582f9edfe295a082e14c8a343ec9bffa341b70
  • tsaleh committed d5582f9e:
    Added google hosted service verification file
tsaleh created gist: 112517 Fri May 15 17:27:43 -0700 2009
[tsaleh@tardis:~/code/liveworld-seattle multitenant ∴ ] cat WEB-INF/jiveHome/jive_startup.xml <de...
tsaleh created gist: 112511 Fri May 15 17:14:28 -0700 2009
mysql> show tables; +---------------------------------------+ | Tables_in_everett_multitenant_def...
tsaleh created gist: 112497 Fri May 15 16:51:49 -0700 2009
[tsaleh@tardis:~/code/liveworld-seattle multitenant ∴ ] ./clear_cache.sh * About to connect() to...