Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Vanity.playground.establish_connection :development
- development:
- adapter: active_record
- active_record_adapter: mysql
- host: localhost
- database: database_name
- username: mysql_username
- password: mysql_password
- if participates_in?(:my_experiment, variation_id: :my_variation)
- # variation specific code
- else
- # normal code
- end
- if smoke_test?(:my_secret_test)
- # smoke test specific code
- else
- # normal code
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement