Skip to content

Instantly share code, notes, and snippets.

View stayhero's full-sized avatar

Christian Szardenings stayhero

  • Düsseldorf, Germany
View GitHub Profile
@stayhero
stayhero / simple_form_possible_bug_sample
Created December 5, 2011 16:04
Simple Form (Master): :input_html class option gets added to container
After upgrading simple_form to current master, my design slightly broke because a class defined
in :input_html options gets added to surrounding container. Is that desired behaviour? I'm using
the wrapper sample options for Twitter Bootstrap:
https://github.com/rafaelfranca/simple_form-bootstrap/blob/master/config/initializers/simple_form.rb
Example (haml):
= simple_form_for @company_profile, wrapper: :inline, url: company_profile_path
= f.input :zipcode, label: t('common.zipcode'), input_html: {class: 'span2', 'data-xxx' => true}
@stayhero
stayhero / make.log
Created October 31, 2011 17:23
$HOME/.rvm/log/ruby-1.9.3-p0/make.log
[2011-10-31 18:14:59] make
CC = gcc-4.2
LD = ld
LDSHARED = gcc-4.2 -dynamiclib
CFLAGS = -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Werror=pointer-arith -Werror=write-strings -Werror=declaration-after-statement -Werror=shorten-64-to-32 -Werror=implicit-function-declaration -fno-common -pipe
XCFLAGS = -include ruby/config.h -include ruby/missing.h -fvisibility=hidden -DRUBY_EXPORT
CPPFLAGS = -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -I. -I.ext/include/x86_64-darwin11.2.0 -I./include -I.
DLDFLAGS = -Wl,-undefined,dynamic_lookup -Wl,-multiply_defined,suppress -Wl,-flat_namespace -install_name /Users/christian/.rvm/rubies/ruby-1.9.3-p0/lib/libruby.1.9.1.dylib -current_version 1.9.1 -compatibility_version 1.9.1 -Wl,-unexported_symbol,_Init_* -Wl,-unexported_symbol,*_threadptr_* -Wl,-u,_objc_msgSend
SOLIBS =
compiling main.c