Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Kartosana

  • Loading branch information...
commit 333273f067ca773ab8cab75aa4b5100620d64f25 1 parent ed748d4
@XeroCodeIT authored
Showing with 16 additions and 5,275 deletions.
  1. BIN  app/assets/images/forem/lock_icon.png
  2. BIN  app/assets/images/forem/pin_icon.png
  3. BIN  app/assets/images/rails.png
  4. +0 −64 app/assets/stylesheets/forem/base/iphone.css.scss.erb
  5. +0 −222 app/assets/stylesheets/forem/base/style.css.scss.erb
  6. +0 −11 app/assets/stylesheets/forem/base/variables.css.scss.erb
  7. BIN  app/assets/stylesheets/stylesheets.zip
  8. +0 −27 app/controllers/microposts_controller.rb
  9. +0 −17 app/controllers/relationships_controller.rb
  10. +0 −21 app/controllers/sessions_controller.rb
  11. +0 −55 app/helpers/sessions_helper.rb
  12. +0 −23 app/models/micropost.rb
  13. +0 −9 app/models/relationship.rb
  14. +1 −1  app/views/layouts/_header.html.erb
  15. +12 −2 app/views/layouts/application.html.erb
  16. +0 −11 app/views/microposts/_micropost.html.erb
  17. +0 −2  app/views/relationships/create.js.erb
  18. +0 −2  app/views/relationships/destroy.html.erb
  19. +0 −5 app/views/sessions/new.html.erb
  20. +0 −5 app/views/users/_follow.html.erb
  21. +0 −9 app/views/users/_follow_form.html.erb
  22. +0 −5 app/views/users/_unfollow.html.erb
  23. +0 −7 app/views/users/_user.html.erb
  24. +0 −27 app/views/users/edit.html.erb
  25. +0 −10 app/views/users/index.html.erb
  26. +0 −2  app/views/users/new.html.erb
  27. +0 −21 app/views/users/show.html.erb
  28. +0 −30 app/views/users/show_follow.html.erb
  29. +3 −67 config/routes.rb
  30. +0 −1,507 h.txt
  31. +0 −1,506 h2.txt
  32. +0 −1,507 heroku.txt
  33. +0 −100 heroku2.txt
View
BIN  app/assets/images/forem/lock_icon.png
Deleted file not rendered
View
BIN  app/assets/images/forem/pin_icon.png
Deleted file not rendered
View
BIN  app/assets/images/rails.png
Deleted file not rendered
View
64 app/assets/stylesheets/forem/base/iphone.css.scss.erb
@@ -1,64 +0,0 @@
-@import "variables";
-
-@media screen and (max-device-width: 480px){
-
- body{
- -webkit-text-size-adjust: none;
- padding: 5px;
- margin: 0 auto;
- }
-
- img{
- max-width: 100%;
- height: auto;
- }
-
- #forums{
- .views-count, .posts-count {
- display: none;
- }
- }
-
- // Individual forum topics listing
- .topics{
- .posts-count, .views-count{
- display: none;
- }
- }
-
- #topic, #forum{
- h2{
- font-size: 90%;
- }
- }
-
- #posts{
- .post{
- .user{
- display: block;
- width: auto;
- float: right;
- margin-left: 10px;
- }
-
- .contents{
- margin-left: 0;
- border-left: 0;
-
- .actions{
- display: block;
- margin-top: 20px;
- clear: both;
- position: inherit;
- right: 0;
-
- li {
- display: inline-block;
- }
- }
- }
- }
- }
-
-}
-
View
222 app/assets/stylesheets/forem/base/style.css.scss.erb
@@ -1,222 +0,0 @@
-@import "variables";
-
-body{
- font-family: GillSans, Calibri, Trebuchet, sans-serif;
- color: $default-text;
- margin-left: 20%;
- margin-right: 20%;
-}
-
-#forums {
- .title {
- font-size: 175%;
- }
-}
-
-#forum{
- position: relative;
- .secondary-nav{
- position: absolute;
- right: 0;
- top: 0;
- }
- .description{
- color: $lighter-text;
- font-style: oblique;
- }
- menu{
- padding-left: 0;
- a{
- background-color: $bar1-midbg;
- padding: .5em;
- display: inline-block;
- color: $default-text;
- text-decoration: none;
- &:hover{
- background-color: $bar1-bottombg;
- }
- margin: 0;
- }
- }
-}
-
-#topic, #forum {
- h2{
- padding: .5em;
- position: relative;
- background-color: $light-bg1;
- color: #232323;
- // margin: 0;
- a{
- text-decoration: none;
- color: #232323;
- &:hover{
- text-decoration: underline;
- }
- }
- a.reply{
- margin-right: 1em;
- font-weight: normal;
- position: absolute;
- right: 0;
- padding: .5em;
- background-color: #fff;
- font-size: .5em;
- text-decoration: none;
- &:hover{
- background-color: $light-bg1;
- }
- }
- }
-}
-
-#posts{
-
- .even{
- background-color: $light-bg1;
- }
- .odd{
- background-color: #cfcfcf;
- }
- .post{
- min-height: 75px;
- clear: both;
- position: relative;
- .user{
- float: left;
- font-size: .75em;
- width: 140px;
- display: inline-block;
- padding: .5em 1em;
- .username{
- font-weight: bold;
- }
- .icon{
- width: 50px;
- height: 50px;
- display: inline-block;
- }
- .member-for{
- width: 80px;
- display: inline-block;
- }
- }
- .contents{
- margin-left: 160px;
- min-height: 100px;
- border-left: 1px solid $mid-bg1;
- padding: .1em 1em;
-
- time{
- padding: 5px;
- color: $lighter-text;
- margin-bottom: 1em;
- font-size: .7em;
- line-height: 18px;
- }
- .text{
- margin-right: 100px;
- }
- &:hover .actions{
- display: block;
- }
- .actions{
- display: none;
- position: absolute;
- right: 10px;
- bottom: 0;
- list-style-type: none;
- li{
- a{
- text-align: center;
- display: block;
- text-decoration: none;
- padding: .25em;
- margin-bottom: .25em;
- color: $default-text;
- background-color: $mid-bg1;
- &:hover{
- background-color: $mid-bg1-highlight;
- }
- }
- }
- }
- }
- }
-}
-
-table.subdued{
- width: 100%;
- a{
- text-decoration: none;
- &:visited{
- color: $visited-text;
- }
- &:hover{
- text-decoration: underline;
- }
- }
- td, th{
- padding: .5em;
- }
- thead{
- th{
- background-color: $bar1-midbg;
- font-weight: normal;
- text-align: left;
- }
- }
- tbody{
- color: $lighter-text;
- .subject{
- }
- .started-by{
- font-size: .7em;
- color: $lighter-text;
- }
- .latest-post{
- font-size: .7em;
- width: 80px;
- a{
- text-decoration: none;
- &:hover{
- text-decoration: underline;
- }
- }
- }
- .posts-count, .views-count{
- font-size: .8em;
- width: 80px;
- }
- }
-}
-
-.pages{
- .page{
- display: inline-block;
- padding: .25em;
- &.current{
- background-color: $light-bg1;
- }
- }
- a{
- text-decoration: none;
- &:hover{
- text-decoration: underline;
- }
- }
-}
-
-.lock.icon{
- width: 24px;
- height: 24px;
- background: transparent url(<%= asset_path('forem/lock_icon.png') %>) 0 0;
- display: inline-block;
-}
-
-.pin.icon{
- width: 9px;
- height: 15px;
- background: transparent url(<%= asset_path('forem/pin_icon.png') %>) 0 0;
- display: inline-block;
-}
View
11 app/assets/stylesheets/forem/base/variables.css.scss.erb
@@ -1,11 +0,0 @@
-$light-bg1: #eee;
-$mid-bg1: #bbb;
-$mid-bg1-highlight: #aaa;
-$bar1-topbg: #eee;
-$bar1-midbg: #bbb;
-$bar1-bottombg: #aaa;
-$lighter-text: #777;
-$visited-text: #333;
-$default-text: #000;
-$darkbg: #333;
-$darkbg-highlight: #222;
View
BIN  app/assets/stylesheets/stylesheets.zip
Binary file not shown
View
27 app/controllers/microposts_controller.rb
@@ -1,27 +0,0 @@
-class MicropostsController < ApplicationController
- before_filter :signed_in_user
- before_filter :correct_user, only: :destroy
-
- def create
- @micropost = current_user.microposts.build(params[:micropost])
- if @micropost.save
- flash[:success] = "Micropost created!"
- redirect_to root_path
- else
- @feed_items = []
- render 'static_pages/home'
- end
- end
-
- def destroy
- @micropost.destroy
- redirect_back_or root_path
- end
-
- private
-
- def correct_user
- @micropost = current_user.microposts.find_by_id(params[:id])
- redirect_to root_path if @micropost.nil?
- end
-end
View
17 app/controllers/relationships_controller.rb
@@ -1,17 +0,0 @@
-class RelationshipsController < ApplicationController
- before_filter :signed_in_user
-
- respond_to :html, :js
-
- def create
- @user = User.find(params[:relationship][:followed_id])
- current_user.follow!(@user)
- respond_with @user
- end
-
- def destroy
- @user = Relationship.find(params[:id]).followed
- current_user.unfollow!(@user)
- respond_with @user
- end
-end
View
21 app/controllers/sessions_controller.rb
@@ -1,21 +0,0 @@
-class SessionsController < ApplicationController
-
- def new
- end
-
- def create
- user = User.find_by_email(params[:session][:email])
- if user && user.authenticate(params[:session][:password])
- sign_in user
- redirect_back_or user
- else
- flash.now[:error] = 'Invalid email/password combination'
- render 'new'
- end
- end
-
- def destroy
- sign_out
- redirect_to root_path
- end
-end
View
55 app/helpers/sessions_helper.rb
@@ -1,55 +0,0 @@
-module SessionsHelper
-
- def sign_in(user)
- cookies.permanent[:remember_token] = user.remember_token
- current_user = user
- end
-
- def signed_in?
- !current_user.nil?
- end
-
- def current_user=(user)
- @current_user = user
- end
-
- def current_user
- @current_user ||= user_from_remember_token
- end
-
- def current_user?(user)
- user == current_user
- end
-
- def signed_in_user
- unless signed_in?
- store_location
- redirect_to signin_path, notice: "Please sign in."
- end
- end
-
- def sign_out
- current_user = nil
- cookies.delete(:remember_token)
- end
-
- def redirect_back_or(default)
- redirect_to(session[:return_to] || default)
- clear_return_to
- end
-
- def store_location
- session[:return_to] = request.fullpath
- end
-
- private
-
- def user_from_remember_token
- remember_token = cookies[:remember_token]
- User.find_by_remember_token(remember_token) unless remember_token.nil?
- end
-
- def clear_return_to
- session.delete(:return_to)
- end
-end
View
23 app/models/micropost.rb
@@ -1,23 +0,0 @@
-class Micropost < ActiveRecord::Base
- attr_accessible :content
- belongs_to :user
-
- validates :content, presence: true, length: { maximum: 140 }
- validates :user_id, presence: true
-
- default_scope order: 'microposts.created_at DESC'
-
- # Returns microposts from the users being followed by the given user.
- scope :from_users_followed_by, lambda { |user| followed_by(user) }
-
- private
-
- # Returns an SQL condition for users followed by the given user.
- # We include the user's own id as well.
- def self.followed_by(user)
- followed_user_ids = %(SELECT followed_id FROM relationships
- WHERE follower_id = :user_id)
- where("user_id IN (#{followed_user_ids}) OR user_id = :user_id",
- { user_id: user })
- end
-end
View
9 app/models/relationship.rb
@@ -1,9 +0,0 @@
-class Relationship < ActiveRecord::Base
- attr_accessible :followed_id
-
- belongs_to :follower, class_name: "User"
- belongs_to :followed, class_name: "User"
-
- validates :follower_id, presence: true
- validates :followed_id, presence: true
-end
View
2  app/views/layouts/_header.html.erb
@@ -8,7 +8,7 @@
<li><%= link_to "Palīdzība", main_app.help_path %></li>
<li><%= link_to "Par CMS", main_app.about_path %></li>
<li><%= link_to "Kontakti", main_app.contact_path %></li>
- <li><%= link_to "Forums", main_app.forum_path %></li>
+ <li><%= link_to "Forums", "/forums" %></li>
<li><%= link_to "Čats", main_app.chat_path %></li>
<li><%= link_to "RSS", main_app.rss_path %></li>
View
14 app/views/layouts/application.html.erb
@@ -91,14 +91,18 @@ body{
*/
}
-a {
+/*
+a
+{
color:#369;
}
-a:hover {
+a:hover
+{
color:#fff;
background:#369;
text-decoration:none;
}
+*/
h1, h2, h3 {
margin:.8em 0 .2em 0;
padding:0;
@@ -373,6 +377,12 @@ input#message_content {
/* forem */
+div#middle div#forum
+{
+background-color: white;
+border: 1px solid black;
+}
+
#forums .title, .topics .title {
font-size: 175%; }
#forums thead tr th, .topics thead tr th {
View
11 app/views/microposts/_micropost.html.erb
@@ -1,11 +0,0 @@
-<li>
- <span class="content"><%= micropost.content %></span>
- <span class="timestamp">
- Posted <%= time_ago_in_words(micropost.created_at) %> ago.
- </span>
- <% if current_user?(micropost.user) %>
- <%= link_to "delete", micropost, method: :delete,
- confirm: "You sure?",
- title: micropost.content %>
- <% end %>
-</li>
View
2  app/views/relationships/create.js.erb
@@ -1,2 +0,0 @@
-$("#follow_form").html("<%= escape_javascript(render('users/unfollow')) %>")
-$("#followers").html('<%= @user.followers.count %>')
View
2  app/views/relationships/destroy.html.erb
@@ -1,2 +0,0 @@
-$("#follow_form").html("<%= escape_javascript(render('users/follow')) %>")
-$("#followers").html('<%= @user.followers.count %>')
View
5 app/views/sessions/new.html.erb
@@ -1,5 +0,0 @@
-<% provide(:title, "Sign in") %>
-
-<div class="row">
- <p>New user? <%= link_to "Sign up now!", signup_path %></p>
-</div>
View
5 app/views/users/_follow.html.erb
@@ -1,5 +0,0 @@
-<%= form_for(current_user.relationships.build(followed_id: @user.id),
- remote: true) do |f| %>
- <div><%= f.hidden_field :followed_id %></div>
- <%= f.submit "Follow", class: "btn btn-large btn-primary" %>
-<% end %>
View
9 app/views/users/_follow_form.html.erb
@@ -1,9 +0,0 @@
-<% unless current_user?(@user) %>
- <div id="follow_form">
- <% if current_user.following?(@user) %>
- <%= render 'unfollow' %>
- <% else %>
- <%= render 'follow' %>
- <% end %>
- </div>
-<% end %>
View
5 app/views/users/_unfollow.html.erb
@@ -1,5 +0,0 @@
-<%= form_for(current_user.relationships.find_by_followed_id(@user),
- html: { method: :delete },
- remote: true) do |f| %>
- <%= f.submit "Unfollow", class: "btn btn-large" %>
-<% end %>
View
7 app/views/users/_user.html.erb
@@ -1,7 +0,0 @@
-<li>
- <%= gravatar_for user, size: 52 %>
- <%= link_to user.name, user %>
- <% if current_user.admin? && !current_user?(user) %>
- | <%= link_to "delete", user, method: :delete, confirm: "You sure?" %>
- <% end %>
-</li>
View
27 app/views/users/edit.html.erb
@@ -1,27 +0,0 @@
-<% provide(:title, "Edit user") %>
-<h1>Update your profile</h1>
-
-<div class="row">
- <div class="span6 offset3">
- <%= form_for(@user) do |f| %>
- <%= render 'shared/error_messages', object: f.object %>
-
- <%= f.label :name %>
- <%= f.text_field :name %>
-
- <%= f.label :email %>
- <%= f.text_field :email %>
-
- <%= f.label :password %>
- <%= f.password_field :password %>
-
- <%= f.label :password_confirmation, "Confirm Password" %>
- <%= f.password_field :password_confirmation %>
-
- <%= f.submit "Save changes", class: "btn btn-large btn-primary" %>
- <% end %>
-
- <%= gravatar_for @user %>
- <a href="http://gravatar.com/emails">change</a>
- </div>
-</div>
View
10 app/views/users/index.html.erb
@@ -1,10 +0,0 @@
-<%= provide(:title, 'All users') %>
-<h1>All users</h1>
-
-<%= will_paginate %>
-
-<ul class="users">
- <%= render @users %>
-</ul>
-
-<%= will_paginate %>
View
2  app/views/users/new.html.erb
@@ -1,2 +0,0 @@
-<%= provide(:title, 'Sign up') %>
-<h1>Reģistrācija</h1>
View
21 app/views/users/show.html.erb
@@ -1,21 +0,0 @@
-<% provide(:title, @user.name) %>
-<div class="row">
- <aside class="span4">
- <section>
- <h1>
- <%= gravatar_for @user %>
- <%= @user.name %>
- </h1>
- </section>
- </aside>
- <div class="span8">
- <%= render 'follow_form' if signed_in? %>
- <% if @user.microposts.any? %>
- <h3>Microposts (<%= @user.microposts.count %>)</h3>
- <ol class="microposts">
- <%= render @microposts %>
- </ol>
- <%= will_paginate @microposts %>
- <% end %>
- </div>
-</div>
View
30 app/views/users/show_follow.html.erb
@@ -1,30 +0,0 @@
-<%= provide(:title, @title) %>
-<div class="row">
- <aside class="span4">
- <section>
- <%= gravatar_for @user %>
- <h1><%= @user.name %></h1>
- <span><%= link_to "view my profile", @user %></span>
- <span><b>Microposts:</b> <%= @user.microposts.count %></span>
- </section>
- <section>
- <%= render 'shared/stats' %>
- <% unless @users.empty? %>
- <div class="user_avatars">
- <% @users.each do |user| %>
- <%= link_to gravatar_for(user, size: 30), user %>
- <% end %>
- </div>
- <% end %>
- </section>
- </aside>
- <div class="span8">
- <h3><%= @title %></h3>
- <% if @users.any? %>
- <ul class="users">
- <%= render @users %>
- </ul>
- <%= will_paginate @users %>
- <% end %>
- </div>
-</div>
View
70 config/routes.rb
@@ -1,13 +1,11 @@
SampleApp::Application.routes.draw do
mount Forem::Engine, :at => "/forums"
- devise_for :users
- resources :devise
root to: 'static_pages#home'
- #match '/signup', to: 'users#new'
- #match '/signin', to: 'sessions#new'
- #match '/signout', to: 'sessions#destroy', via: :delete
+ devise_for :users
+ resources :devise
+ resources :messages
match '/help', to: 'static_pages#help'
match '/about', to: 'static_pages#about'
@@ -16,66 +14,4 @@
match '/chat', to: 'messages#index'
match '/rss', to: 'static_pages#rss'
-
- #match '/faye', to: '/faye'
- #match '/faye.js', to: 'faye.js'
- # faye
- resources :messages
-
- # The priority is based upon order of creation:
- # first created -> highest priority.
-
- # Sample of regular route:
- # match 'products/:id' => 'catalog#view'
- # Keep in mind you can as values other than :controller and :action
-
- # Sample of named route:
- # match 'products/:id/purchase' => 'catalog#purchase', :as => :purchase
- # This route can be invoked with purchase_url(:id => product.id)
-
- # Sample resource route (maps HTTP verbs to controller actions automatically):
- # resources :products
-
- # Sample resource route with options:
- # resources :products do
- # member do
- # get 'short'
- # post 'toggle'
- # end
- #
- # collection do
- # get 'sold'
- # end
- # end
-
- # Sample resource route with sub-resources:
- # resources :products do
- # resources :comments, :sales
- # resource :seller
- # end
-
- # Sample resource route with more complex sub-resources
- # resources :products do
- # resources :comments
- # resources :sales do
- # get 'recent', :on => :collection
- # end
- # end
-
- # Sample resource route within a namespace:
- # namespace :admin do
- # # Directs /admin/products/* to Admin::ProductsController
- # # (app/controllers/admin/products_controller.rb)
- # resources :products
- # end
-
- # You can have the root of your site routed with "root"
- # just remember to delete public/index.html.
- # root :to => 'welcome#index'
-
- # See how all your routes lay out with "rake routes"
-
- # This is a legacy wild controller route that's not recommended for RESTful applications.
- # Note: This route will make all actions in every controller accessible via GET requests.
- # match ':controller(/:action(/:id))(.:format)'
end
View
1,507 h.txt
0 additions, 1,507 deletions not shown
View
1,506 h2.txt
0 additions, 1,506 deletions not shown
View
1,507 heroku.txt
0 additions, 1,507 deletions not shown
View
100 heroku2.txt
@@ -1,100 +0,0 @@
-2012-05-01T14:08:16+00:00 app[web.1]:
-2012-05-01T14:08:16+00:00 app[web.1]:
-2012-05-01T14:08:16+00:00 app[web.1]: Started GET "/" for 92.49.21.15 at 2012-05-01 14:08:16 +0000
-2012-05-01T14:08:16+00:00 app[web.1]: Processing by StaticPagesController#home as HTML
-2012-05-01T14:08:16+00:00 app[web.1]: Rendered static_pages/home.html.erb within layouts/application (0.3ms)
-2012-05-01T14:08:16+00:00 app[web.1]: Completed 500 Internal Server Error in 3ms
-2012-05-01T14:08:16+00:00 app[web.1]:
-2012-05-01T14:08:16+00:00 app[web.1]: ActionView::Template::Error (rails.js isn't precompiled):
-2012-05-01T14:08:16+00:00 app[web.1]: 10: <%= javascript_include_tag "application" %>
-2012-05-01T14:08:16+00:00 app[web.1]: 9: <%= stylesheet_link_tag "application" %>
-2012-05-01T14:08:16+00:00 app[web.1]: 11: <%= javascript_include_tag 'rails' %>
-2012-05-01T14:08:16+00:00 app[web.1]: 8:
-2012-05-01T14:08:16+00:00 app[web.1]: 13: <%= javascript_include_tag "http://fayeredis.herokuapp.com/faye.js" %>
-2012-05-01T14:08:16+00:00 app[web.1]: 12:
-2012-05-01T14:08:16+00:00 app[web.1]: 14: <!--<%= javascript_include_tag "http://localhost:9292/faye.js" %>-->
-2012-05-01T14:08:16+00:00 app[web.1]: app/views/layouts/application.html.erb:11:in `_app_views_layouts_application_html_erb___3014021187121410881_58029780'
-2012-05-01T14:08:16+00:00 app[web.1]:
-2012-05-01T14:08:16+00:00 app[web.1]:
-2012-05-01T14:08:16+00:00 heroku[router]: GET fierce-winter-5661.herokuapp.com/ dyno=web.1 queue=0 wait=0ms service=10ms status=500 bytes=643
-2012-05-01T14:08:16+00:00 heroku[router]: GET fierce-winter-5661.herokuapp.com/favicon.ico dyno=web.1 queue=0 wait=0ms service=3ms status=304 bytes=0
-2012-05-01T14:08:18+00:00 heroku[api]: Deploy ef1abe6 by pmaldw@hotmail.com
-2012-05-01T14:08:18+00:00 heroku[api]: Release v52 created by pmaldw@hotmail.com
-2012-05-01T14:08:18+00:00 heroku[web.1]: State changed from up to bouncing
-2012-05-01T14:08:18+00:00 heroku[web.1]: State changed from bouncing to created
-2012-05-01T14:08:18+00:00 heroku[web.1]: State changed from created to starting
-2012-05-01T14:08:19+00:00 heroku[slugc]: Slug compilation finished
-2012-05-01T14:08:21+00:00 heroku[web.1]: Stopping process with SIGTERM
-2012-05-01T14:08:21+00:00 app[web.1]: Exiting
-2012-05-01T14:08:22+00:00 heroku[web.1]: Process exited with status 0
-2012-05-01T14:08:33+00:00 heroku[web.1]: Starting process with command `bundle exec rails server -p 42727`
-2012-05-01T14:08:39+00:00 app[web.1]: => Booting Thin
-2012-05-01T14:08:39+00:00 app[web.1]: => Rails 3.2.3 application starting in production on http://0.0.0.0:42727
-2012-05-01T14:08:39+00:00 app[web.1]: => Call with -d to detach
-2012-05-01T14:08:39+00:00 app[web.1]: => Ctrl-C to shutdown server
-2012-05-01T14:08:39+00:00 app[web.1]: DEPRECATION WARNING: You have Rails 2.3-style plugins in vendor/plugins! Support for these plugins will be removed in Rails 4.0. Move them out and bundle them in your Gemfile, or fold them in to your app as lib/myplugin/* and config/initializers/myplugin.rb. See the release notes for more on this: http://weblog.rubyonrails.org/2012/1/4/rails-3-2-0-rc2-has-been-released. (called from <top (required)> at /app/config/environment.rb:5)
-2012-05-01T14:08:39+00:00 app[web.1]: DEPRECATION WARNING: You have Rails 2.3-style plugins in vendor/plugins! Support for these plugins will be removed in Rails 4.0. Move them out and bundle them in your Gemfile, or fold them in to your app as lib/myplugin/* and config/initializers/myplugin.rb. See the release notes for more on this: http://weblog.rubyonrails.org/2012/1/4/rails-3-2-0-rc2-has-been-released. (called from <top (required)> at /app/config/environment.rb:5)
-2012-05-01T14:08:48+00:00 app[web.1]: >> Thin web server (v1.3.1 codename Triple Espresso)
-2012-05-01T14:08:48+00:00 app[web.1]: >> Maximum connections set to 1024
-2012-05-01T14:08:48+00:00 app[web.1]: >> Listening on 0.0.0.0:42727, CTRL+C to stop
-2012-05-01T14:08:49+00:00 heroku[web.1]: State changed from starting to up
-2012-05-01T14:08:51+00:00 app[web.1]:
-2012-05-01T14:08:51+00:00 app[web.1]:
-2012-05-01T14:08:51+00:00 app[web.1]: Started GET "/" for 92.49.21.15 at 2012-05-01 14:08:51 +0000
-2012-05-01T14:08:51+00:00 app[web.1]: Processing by StaticPagesController#home as HTML
-2012-05-01T14:08:51+00:00 app[web.1]: Rendered static_pages/home.html.erb within layouts/application (64.2ms)
-2012-05-01T14:08:51+00:00 app[web.1]: Completed 500 Internal Server Error in 252ms
-2012-05-01T14:08:51+00:00 app[web.1]:
-2012-05-01T14:08:51+00:00 app[web.1]: ActionView::Template::Error (rails.js isn't precompiled):
-2012-05-01T14:08:51+00:00 app[web.1]: 8:
-2012-05-01T14:08:51+00:00 app[web.1]: 9: <%= stylesheet_link_tag "application" %>
-2012-05-01T14:08:51+00:00 app[web.1]: 10: <%= javascript_include_tag "application" %>
-2012-05-01T14:08:51+00:00 app[web.1]: 11: <%= javascript_include_tag "rails.js" %>
-2012-05-01T14:08:51+00:00 app[web.1]: 12: <%= javascript_include_tag "jquery.js" %>
-2012-05-01T14:08:51+00:00 app[web.1]: 13:
-2012-05-01T14:08:51+00:00 app[web.1]: 14: <%= javascript_include_tag "http://fayeredis.herokuapp.com/faye.js" %>
-2012-05-01T14:08:51+00:00 app[web.1]: app/views/layouts/application.html.erb:11:in `_app_views_layouts_application_html_erb__2402086359623805752_47814060'
-2012-05-01T14:08:51+00:00 app[web.1]:
-2012-05-01T14:08:51+00:00 app[web.1]:
-2012-05-01T14:08:51+00:00 heroku[router]: GET fierce-winter-5661.herokuapp.com/ dyno=web.1 queue=0 wait=0ms service=420ms status=500 bytes=643
-2012-05-01T14:08:51+00:00 app[web.1]:
-2012-05-01T14:08:51+00:00 app[web.1]:
-2012-05-01T14:08:51+00:00 app[web.1]: Started GET "/chat" for 92.49.21.15 at 2012-05-01 14:08:51 +0000
-2012-05-01T14:08:51+00:00 app[web.1]: Processing by MessagesController#index as HTML
-2012-05-01T14:08:51+00:00 app[web.1]: Rendered messages/_message.html.erb (71.5ms)
-2012-05-01T14:08:51+00:00 app[web.1]: Rendered messages/index.html.erb within layouts/application (100.0ms)
-2012-05-01T14:08:51+00:00 app[web.1]: Completed 500 Internal Server Error in 160ms
-2012-05-01T14:08:51+00:00 app[web.1]:
-2012-05-01T14:08:51+00:00 app[web.1]: ActionView::Template::Error (rails.js isn't precompiled):
-2012-05-01T14:08:51+00:00 app[web.1]: 8:
-2012-05-01T14:08:51+00:00 app[web.1]: 9: <%= stylesheet_link_tag "application" %>
-2012-05-01T14:08:51+00:00 app[web.1]: 10: <%= javascript_include_tag "application" %>
-2012-05-01T14:08:51+00:00 app[web.1]: 11: <%= javascript_include_tag "rails.js" %>
-2012-05-01T14:08:51+00:00 app[web.1]: 12: <%= javascript_include_tag "jquery.js" %>
-2012-05-01T14:08:51+00:00 app[web.1]: 13:
-2012-05-01T14:08:51+00:00 app[web.1]: 14: <%= javascript_include_tag "http://fayeredis.herokuapp.com/faye.js" %>
-2012-05-01T14:08:51+00:00 app[web.1]: app/views/layouts/application.html.erb:11:in `_app_views_layouts_application_html_erb__2402086359623805752_47814060'
-2012-05-01T14:08:51+00:00 app[web.1]:
-2012-05-01T14:08:51+00:00 app[web.1]:
-2012-05-01T14:08:51+00:00 app[web.1]:
-2012-05-01T14:08:51+00:00 app[web.1]:
-2012-05-01T14:08:51+00:00 heroku[router]: GET fierce-winter-5661.herokuapp.com/chat dyno=web.1 queue=0 wait=0ms service=462ms status=500 bytes=643
-2012-05-01T14:08:51+00:00 app[web.1]: Started GET "/chat" for 92.49.21.15 at 2012-05-01 14:08:51 +0000
-2012-05-01T14:08:51+00:00 app[web.1]: Processing by MessagesController#index as HTML
-2012-05-01T14:08:51+00:00 app[web.1]: Rendered messages/_message.html.erb (7.1ms)
-2012-05-01T14:08:51+00:00 app[web.1]: Rendered messages/index.html.erb within layouts/application (8.8ms)
-2012-05-01T14:08:51+00:00 app[web.1]: Completed 500 Internal Server Error in 49ms
-2012-05-01T14:08:51+00:00 app[web.1]:
-2012-05-01T14:08:51+00:00 app[web.1]: ActionView::Template::Error (rails.js isn't precompiled):
-2012-05-01T14:08:51+00:00 app[web.1]: 8:
-2012-05-01T14:08:51+00:00 app[web.1]: 9: <%= stylesheet_link_tag "application" %>
-2012-05-01T14:08:51+00:00 app[web.1]: 10: <%= javascript_include_tag "application" %>
-2012-05-01T14:08:51+00:00 app[web.1]: 11: <%= javascript_include_tag "rails.js" %>
-2012-05-01T14:08:51+00:00 app[web.1]: 12: <%= javascript_include_tag "jquery.js" %>
-2012-05-01T14:08:51+00:00 app[web.1]: 13:
-2012-05-01T14:08:51+00:00 app[web.1]: 14: <%= javascript_include_tag "http://fayeredis.herokuapp.com/faye.js" %>
-2012-05-01T14:08:51+00:00 app[web.1]:
-2012-05-01T14:08:51+00:00 app[web.1]:
-2012-05-01T14:08:51+00:00 app[web.1]: app/views/layouts/application.html.erb:11:in `_app_views_layouts_application_html_erb__2402086359623805752_47814060'
-2012-05-01T14:08:51+00:00 heroku[router]: GET fierce-winter-5661.herokuapp.com/favicon.ico dyno=web.1 queue=0 wait=0ms service=21ms status=200 bytes=0
-2012-05-01T14:08:51+00:00 heroku[router]: GET fierce-winter-5661.herokuapp.com/chat dyno=web.1 queue=0 wait=0ms service=82ms status=500 bytes=643
Please sign in to comment.
Something went wrong with that request. Please try again.