This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 123123123errr |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require Merb.root / 'app/models/document_blob/document_blob' | |
| require Merb.root / 'app/models/contribution/comment' | |
| require Merb.root / 'app/models/contribution/version' | |
| class Contribution | |
| class Version | |
| class Comment | |
| # | |
| # Behaviors |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| # This is a sample database file for the DataMapper ORM | |
| development: &defaults | |
| # These are the settings for repository :default | |
| adapter: postgresql | |
| database: orwik | |
| encoding: utf8 | |
| user: postgres | |
| test: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Problems that were never solved in previous Orwik design | |
| * Textile help | |
| We had them in forms, but they never felt like they are in the right place. | |
| * Flash messages | |
| They were implemented much time after the design was made. | |
| Problems: | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class Contributions < Application | |
| # | |
| # Behaviors | |
| # | |
| include ContributionHelpers | |
| include PersonHelpers | |
| include PersonalProfileHelpers | |
| include CommentHelpers |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| upstream orwik_local_app_servers { | |
| server 127.0.0.1:4000; | |
| } | |
| server { | |
| # | |
| # Server name | |
| # | |
| server_name orwik.local *.orwik.local orwik.home *.orwik.home; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| upstream orwik_local_app_servers { | |
| server 127.0.0.1:4000; | |
| } | |
| server { | |
| # | |
| # Server name | |
| # | |
| server_name orwik.local *.orwik.local orwik.home *.orwik.home; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| upstream orwik_local_app_servers { | |
| server 127.0.0.1:4000; | |
| } | |
| server { | |
| # | |
| # Server name | |
| # | |
| server_name orwik.local *.orwik.local orwik.home *.orwik.home; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| user invizko staff; | |
| worker_processes 1; | |
| error_log logs/error.log debug_http; | |
| pid logs/nginx.pid; | |
| events { | |
| worker_connections 64; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| merb : worker (port 4000) ~ Params: {"format"=>nil, "action"=>"edit", "id"=>"36", "controller"=>"Contributions"} | |
| ~ (0.000166) SET backslash_quote = off | |
| ~ (0.000091) SET standard_conforming_strings = on | |
| ~ (0.000112) SET client_min_messages = warning | |
| ~ (0.036105) SELECT "id", "created_at", "updated_at", "email", "first_name", "last_name", "middle_name", "name", "literary_initials", "inverted_literary_initials", "username", "remember_token", "remember_token_expires_at", "superuser", "random_token", "crypted_password", "salt", "activation_key", "activated" FROM "people" WHERE ("id" = 5) ORDER BY "id" LIMIT 1 | |
| ~ (0.000657) SELECT "author_id", "id", "created_at", "updated_at", "title", "public", "description", "html_description", "display_all_versions" FROM "contributions" WHERE ("id" = 36) ORDER BY "id" LIMIT 1 | |
| ~ MemCacheError (No connection to server (localhost:11211 DEAD (Errno::ECONNREFUSED: Connection refused - connect(2)), will retry at Thu Oct 08 20:20:51 +0700 2009)): No connection to server (localhost |