Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ~ INSERT INTO `operators` (`name`, `updated_at`, `code`, `use_sms_billing`, `created_at`) VALUES ('Vodafone-UK', '2008-10-16 13:02:35', 'vu', TRUE, '2008-10-16 13:02:35')
- ~ INSERT INTO `operators` (`name`, `updated_at`, `code`, `use_sms_billing`, `created_at`) VALUES ('Jersey-Telecom-UK', '2008-10-16 13:02:35', 'ju', FALSE, '2008-10-16 13:02:35')
- ~ INSERT INTO `operators` (`name`, `updated_at`, `code`, `use_sms_billing`, `created_at`) VALUES ('Three-IE', '2008-10-16 13:02:35', 'hi', FALSE, '2008-10-16 13:02:35')
- ~ INSERT INTO `operators` (`name`, `updated_at`, `code`, `use_sms_billing`, `created_at`) VALUES ('T-Mobile-UK', '2008-10-16 13:02:35', 'tu', TRUE, '2008-10-16 13:02:35')
- ~ INSERT INTO `operators` (`name`, `updated_at`, `code`, `use_sms_billing`, `created_at`) VALUES ('Three-UK', '2008-10-16 13:02:35', 'hu', TRUE, '2008-10-16 13:02:35')
- ~ INSERT INTO `operators` (`name`, `updated_at`, `code`, `use_sms_billing`, `created_at`) VALUES ('Meteor-IE', '2008-10-16 13:02:35', 'mei', FALSE, '2008-10-16 13:02:35')
- ~ INSERT INTO `operators` (`name`, `updated_at`, `code`, `use_sms_billing`, `created_at`) VALUES ('O2-IE', '2008-10-16 13:02:35', 'xi', TRUE, '2008-10-16 13:02:35')
- ~ INSERT INTO `operators` (`name`, `updated_at`, `code`, `use_sms_billing`, `created_at`) VALUES ('Orange-UK', '2008-10-16 13:02:35', 'ou', TRUE, '2008-10-16 13:02:35')
- ~ INSERT INTO `operators` (`name`, `updated_at`, `code`, `use_sms_billing`, `created_at`) VALUES ('O2-UK', '2008-10-16 13:02:35', 'xu', TRUE, '2008-10-16 13:02:35')
- ~ INSERT INTO `operators` (`name`, `updated_at`, `code`, `use_sms_billing`, `created_at`) VALUES ('Vodafone-IE', '2008-10-16 13:02:35', 'vi', TRUE, '2008-10-16 13:02:35')
- ~ INSERT INTO `operators` (`name`, `updated_at`, `code`, `use_sms_billing`, `created_at`) VALUES ('TynTec-Manx-UK', '2008-10-16 13:02:35', 'mu', TRUE, '2008-10-16 13:02:35')
- ~ INSERT INTO `operators` (`name`, `updated_at`, `code`, `use_sms_billing`, `created_at`) VALUES ('Vodafone-UK', '2008-10-16 13:02:35', 'vu', TRUE, '2008-10-16 13:02:35')
- => true
- >> Operator.get nil
- ~ SELECT `id`, `name`, `code`, `use_sms_billing`, `created_at`, `updated_at` FROM `operators` WHERE (`id` IS NULL) ORDER BY `id` LIMIT 1
- => #<Operator id=12 name="Vodafone-UK" code="vu" use_sms_billing=true created_at=#<DateTime: 42418183711/17280,1/24,2299161> updated_at=#<DateTime: 42418183711/17280,1/24,2299161>>
- >> Operator.get nil
- ~ SELECT `id`, `name`, `code`, `use_sms_billing`, `created_at`, `updated_at` FROM `operators` WHERE (`id` IS NULL) ORDER BY `id` LIMIT 1
- => nil
Add Comment
Please, Sign In to add comment