Skip to content

Commit

Permalink
Merge branch 'master' into 1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh Vickery committed Apr 2, 2009
2 parents f3ee03e + 627b66d commit c89b29c
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 9 deletions.
5 changes: 1 addition & 4 deletions .gitignore
Expand Up @@ -16,7 +16,4 @@ sample_rails_app/log/*.log
sample_rails_app/tmp/**/*
sample_rails_app/doc/api
sample_rails_app/doc/app
sample_rails_app/db/*.sqlite3



*.sqlite3
2 changes: 1 addition & 1 deletion Classes/DogViewController.h
Expand Up @@ -21,7 +21,7 @@
}

@property(nonatomic , retain) Person *owner;
@property(nonatomic , retain) NSArray *dogs;
@property(nonatomic , retain) NSMutableArray *dogs;
@property(nonatomic , retain) AddDogViewController *addController;
@property(nonatomic , retain) UITableView *tableView;

Expand Down
2 changes: 1 addition & 1 deletion Classes/DogViewController.m
Expand Up @@ -31,7 +31,7 @@ - (void) addDogButtonClicked {
}

- (void) loadDogs {
self.dogs = [owner findAllDogs];
self.dogs = [NSMutableArray arrayWithArray:[owner findAllDogs]];
[tableView reloadData];
}

Expand Down
2 changes: 1 addition & 1 deletion Classes/PeopleViewController.h
Expand Up @@ -15,7 +15,7 @@
IBOutlet UIBarButtonItem * addButton;
}

@property (nonatomic , retain) NSArray* people;
@property (nonatomic , retain) NSMutableArray* people;
-(IBAction) refreshButtonWasPressed;
-(IBAction) addButtonWasPressed;
@property(nonatomic , retain) UITableView *tableView;
Expand Down
2 changes: 1 addition & 1 deletion Classes/PeopleViewController.m
Expand Up @@ -26,7 +26,7 @@ - (void)viewWillAppear:(BOOL)animated {
}

- (void) loadPeople {
self.people = [Person findAllRemote];
self.people = [NSMutableArray arrayWithArray:[Person findAllRemote]];
[tableView reloadData];
}

Expand Down
2 changes: 1 addition & 1 deletion sample_rails_app/config/environment.rb
Expand Up @@ -5,7 +5,7 @@
# ENV['RAILS_ENV'] ||= 'production'

# Specifies gem version of Rails to use when vendor/rails is not present
RAILS_GEM_VERSION = '2.1.0' unless defined? RAILS_GEM_VERSION
# RAILS_GEM_VERSION = '2.1.0' unless defined? RAILS_GEM_VERSION

# Bootstrap the Rails environment, frameworks, and default configuration
require File.join(File.dirname(__FILE__), 'boot')
Expand Down

0 comments on commit c89b29c

Please sign in to comment.