public
Description: A sample Hobo app - similar to meetup.com
Clone URL: git://github.com/drnic/hobo-meeting-app.git
Search Repo:
fixed creatable for meeting attendance
drnic (author)
Sat May 17 03:50:31 -0700 2008
commit  982c26f0d6d39fe933d535672ab7af4eb0ef5bd8
tree    287b7944e50f922999cfd12d7f24c00eceed0166
parent  412de69916e23c185072af4b0e1407bda85a1421
...
13
14
15
16
 
17
18
19
...
13
14
15
 
16
17
18
19
0
@@ -13,7 +13,7 @@
0
   # --- Hobo Permissions --- #
0
 
0
   def creatable_by?(user)
0
- !guest? #user.administrator?
0
+ !user.guest? #user.administrator?
0
   end
0
 
0
   def updatable_by?(user, new)
...
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
0
@@ -1 +1,30 @@
0
+ SQL (0.000750)  SELECT name
0
+ FROM sqlite_master
0
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
0
+
0
+
0
+
0
+Processing MeetingsController#show (for 127.0.0.1 at 2008-05-17 20:50:01) [GET]
0
+ Session ID: BAh7CToMY3NyZl9pZCIlNjhiMWUyYjExZTMzODQ3ZDAzZDc5MGUwYzUwN2Y0%0AZmE6CXVzZXIiC3VzZXJfMToOcmV0dXJuX3RvMCIKZmxhc2hJQzonQWN0aW9u%0AQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA%3D%3D--d4d420d43daa1d17a1eba4d150f49ae8a05b0e3d
0
+ Parameters: {"action"=>"show", "id"=>"1", "controller"=>"meetings"}
0
+ SQL (0.000568)  SELECT name
0
+ FROM sqlite_master
0
+ WHERE type = 'table' AND NOT name = 'sqlite_sequence'
0
+
0
+ User Load (0.000353) SELECT * FROM users WHERE (users."id" = 1) 
0
+ Meeting Load (0.000259) SELECT * FROM meetings WHERE (meetings."id" = 1) 
0
+ DRYML: Compiled /Library/Ruby/Gems/1.8/gems/hobo-0.7.5/lib/../taglibs/core.dryml in 0.01s
0
+ DRYML: Compiled /Library/Ruby/Gems/1.8/gems/hobo-0.7.5/lib/../taglibs/rapid_support.dryml in 0.02s
0
+ DRYML: Compiled /Library/Ruby/Gems/1.8/gems/hobo-0.7.5/lib/../taglibs/rapid_document_tags.dryml in 0.07s
0
+ DRYML: Compiled /Library/Ruby/Gems/1.8/gems/hobo-0.7.5/lib/../taglibs/rapid_pages.dryml in 0.62s
0
+ DRYML: Compiled /Library/Ruby/Gems/1.8/gems/hobo-0.7.5/lib/../taglibs/rapid_editing.dryml in 0.07s
0
+ DRYML: Compiled /Library/Ruby/Gems/1.8/gems/hobo-0.7.5/lib/../taglibs/rapid_forms.dryml in 0.27s
0
+ DRYML: Compiled /Library/Ruby/Gems/1.8/gems/hobo-0.7.5/lib/../taglibs/rapid_navigation.dryml in 0.06s
0
+ DRYML: Compiled /Library/Ruby/Gems/1.8/gems/hobo-0.7.5/lib/../taglibs/rapid_plus.dryml in 0.11s
0
+ DRYML: Compiled /Library/Ruby/Gems/1.8/gems/hobo-0.7.5/lib/../taglibs/rapid_generics.dryml in 0.10s
0
+ DRYML: Compiled /Library/Ruby/Gems/1.8/gems/hobo-0.7.5/lib/../taglibs/rapid.dryml in 1.59s
0
+ DRYML: Compiled (from cache) /app/views/taglibs/themes/clean/clean.dryml in 0.01s
0
+ DRYML: Compiled (from cache) /app/views/taglibs/application.dryml in 1.60s
0
+ DRYML: Compiled meetings/[tag-page] in 1.61s
0
+Completed in 1.82138 (0 reqs/sec) | Rendering: 1.77538 (97%) | DB: 0.00118 (0%) | 200 OK [http://localhost/meetings/1]

Comments

    No one has commented yet.