1
0
mirror of https://github.com/fspc/BikeShed-1.git synced 2025-04-04 05:33:22 -04:00

345 Commits

Author SHA1 Message Date
Jason Denney
c98c53de76 Got logs working for users and bikes
Not my best work, but it works, need to add transactions, need to add edit/show actions
2012-12-14 00:03:11 -05:00
Jason Denney
b2eefd8163 actsasloggable transaction actions fixtures, resources, controller, and views 2012-12-09 18:11:18 -05:00
Jason Denney
139f5ccf9b ActsAsLoggable User Actions fixtures, resources, controller, and views 2012-12-09 18:06:04 -05:00
Jason Denney
7e0f43b271 Added BikeConditions resources, controller, and views 2012-12-09 17:53:06 -05:00
Jason Denney
ca8b945e03 Updating doesn't work on bike_actions 2012-12-09 16:28:05 -05:00
Jason Denney
a27c898ddb Add acts_as_loggable/bike_actions resources, controller, and views
-Note that updating doesn't work due to expose gem perhaps?  Need to fix
2012-12-09 16:27:38 -05:00
Jason Denney
b4f2abf05f Rename models to singular 2012-12-09 16:26:12 -05:00
Jason Denney
4e6abf4a52 Needed some to_s 2012-12-09 14:27:07 -05:00
Jason Denney
d3c466761e Add bike routes, controller, and views. Update model. 2012-12-09 14:26:58 -05:00
Jason Denney
885caefaf7 Create factory for seeding db with fake bikes, update seeds.rb 2012-12-09 14:26:31 -05:00
Jason Denney
e41426ea7b Added bike styles routes, controller and views 2012-12-09 13:29:20 -05:00
Jason Denney
1c203d86f5 Fix instance variables to locals 2012-12-09 13:16:26 -05:00
Jason Denney
4ae03fc563 expose is awesome 2012-12-09 13:15:57 -05:00
Jason Denney
8d488c86a0 Added Bike Status routes, Controller and views 2012-12-09 13:15:38 -05:00
Jason Denney
747b8d9c4b Added bike models controller and views 2012-12-08 16:56:50 -05:00
Jason Denney
62c70f4388 edit brand show.html 2012-12-08 16:56:30 -05:00
Jason Denney
2876a20148 Edit to brand and model models 2012-12-08 16:56:16 -05:00
Jason Denney
29af72787b Add Bike Style model and defaults 2012-12-08 16:36:29 -05:00
Jason Denney
01923723ff Add Bike Brand Controller and Views 2012-12-08 16:36:04 -05:00
Jason Denney
128cf32bfa set per_page for bike brand 2012-12-08 16:35:13 -05:00
Jason Denney
0d5b93b0b1 fix if in seeds.rb 2012-12-08 16:34:39 -05:00
Jason Denney
3ce2cef2f6 Add extra default condition 2012-12-08 16:27:53 -05:00
Jason Denney
ff640580be Add BikeBrand and BikeModel models 2012-12-08 15:00:43 -05:00
Jason Denney
a307d5f6d5 Load bike brands and models into sqlite3, This will work for now 2012-12-08 15:00:24 -05:00
Jason Denney
7bf4c4d601 Added bike_brands and bike_models sql data
-Update some migrations to match source schema, will need to add timestamps back eventually
2012-12-08 14:59:49 -05:00
Jason Denney
6937cc3146 Added sql for bike brands and their models 2012-12-08 14:22:43 -05:00
Jason Denney
609870c264 removing puts, and fixing File.join 2012-12-08 09:44:02 -05:00
Jason Denney
7ba1ef6225 move test/fixtures to db/seed/fixtures since they are only used for seeding, not testing. 2012-12-08 09:43:46 -05:00
Jason Denney
c99d1e5f55 Can now seed via rake db:seed
Only using fixtures for seeding, using factories for testing.  
-For some reason, module fixtures won't auto create dates, must include updated_at and created_at dates in fixture.
2012-12-07 10:39:13 -05:00
Jason Denney
718b04e7c0 Remove set_fixture_class, that's not how it's used 2012-12-07 10:34:49 -05:00
Jason Denney
b08197256f Bike seed data in fixtures 2012-12-06 17:14:42 -05:00
Jason Denney
351f303532 Adding some actsasloggable models (to be included by gem eventually) 2012-12-06 17:14:05 -05:00
Jason Denney
575651a325 Adding some Bike models 2012-12-06 17:13:39 -05:00
Jason Denney
f7d36328a5 First start at Bike Model 2012-12-05 09:25:26 -05:00
Jason Denney
56da361bca Edit migration to allow a user to own a bike 2012-12-05 09:25:14 -05:00
Jason Denney
70b7b33909 Adding transaction migration 2012-12-05 00:07:04 -05:00
Jason Denney
34c13a7717 Make sure some columns are never null. 2012-12-04 23:36:50 -05:00
Jason Denney
312fa7d787 Adding bike attribute tables migrations 2012-12-04 23:15:34 -05:00
Jason Denney
2ac1b7dcd9 formatting 2012-12-04 23:14:53 -05:00
Jason Denney
8f276b6ffc Added bike_statuses. 2012-12-04 21:53:05 -05:00
Jason Denney
d6622b1bbd Add User Profile migration 2012-12-04 20:51:34 -05:00
Jason Denney
219d7616c6 Add bike migration 2012-12-04 17:35:02 -05:00
Jason Denney
ea8dd6842c Adding acts_as_loggable migrations 2012-12-04 17:08:18 -05:00
Jason Denney
f5be9ca6ff Add acts_as_loggable gem 2012-12-04 17:07:43 -05:00
Jason Denney
aa3ed3d43b git init 2012-12-04 00:46:15 -05:00