README.md in swiss_db-0.3.4 vs README.md in swiss_db-0.3.5
- old
+ new
@@ -37,9 +37,22 @@
set_primary_key "primary_key_name"
end
```
+Don't forget to set $app_context in your bluepotion_application.rb. Don't panic. This won't be a global in the next release.
+
+```ruby
+class BluePotionApplication < PMApplication
+
+ home_screen HomeScreen
+
+ def on_create
+ $app_context = self
+ end
+end
+```
+
That's it! #all, #last, #first, #count, #save, #update_attributes and the usual are now available!
## Development
After checking out the repo, run `bin/setup` to install dependencies.