acmucsb / acm Goto Github PK
View Code? Open in Web Editor NEWThe ACM website project.
The ACM website project.
Occured when running: $rails server
lane@lane-UL30A:~/workspace/acm/acm$ rails s /home/lane/.rvm/gems/ruby-1.9.2-p290@acm/gems/rest-client-1.6.7/lib/restclient.rb:9:in `rescue in ': no such file to load -- net/https. Try running apt-get install libopenssl-ruby (LoadError) from /home/lane/.rvm/gems/ruby-1.9.2-p290@acm/gems/rest-client-1.6.7/lib/restclient.rb:5:in `' from /home/lane/.rvm/gems/ruby-1.9.2-p290@acm/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:240:in `require' from /home/lane/.rvm/gems/ruby-1.9.2-p290@acm/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:240:in `block in require' from /home/lane/.rvm/gems/ruby-1.9.2-p290@acm/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:223:in `block in load_dependency' from /home/lane/.rvm/gems/ruby-1.9.2-p290@acm/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:640:in `new_constants_in' from /home/lane/.rvm/gems/ruby-1.9.2-p290@acm/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:223:in `load_dependency' from /home/lane/.rvm/gems/ruby-1.9.2-p290@acm/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:240:in `require' from /home/lane/.rvm/gems/ruby-1.9.2-p290@acm/gems/rest-client-1.6.7/lib/rest_client.rb:2:in `' from /home/lane/.rvm/gems/ruby-1.9.2-p290@acm/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:240:in `require' from /home/lane/.rvm/gems/ruby-1.9.2-p290@acm/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:240:in `block in require' from /home/lane/.rvm/gems/ruby-1.9.2-p290@acm/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:223:in `block in load_dependency' from /home/lane/.rvm/gems/ruby-1.9.2-p290@acm/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:640:in `new_constants_in' from /home/lane/.rvm/gems/ruby-1.9.2-p290@acm/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:223:in `load_dependency' from /home/lane/.rvm/gems/ruby-1.9.2-p290@acm/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:240:in `require' from /home/lane/.rvm/gems/ruby-1.9.2-p290@acm/gems/heroku-2.14.0/lib/heroku/client.rb:2:in `' from /home/lane/.rvm/gems/ruby-1.9.2-p290@acm/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:240:in `require' from /home/lane/.rvm/gems/ruby-1.9.2-p290@acm/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:240:in `block in require' from /home/lane/.rvm/gems/ruby-1.9.2-p290@acm/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:223:in `block in load_dependency' from /home/lane/.rvm/gems/ruby-1.9.2-p290@acm/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:640:in `new_constants_in' from /home/lane/.rvm/gems/ruby-1.9.2-p290@acm/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:223:in `load_dependency' from /home/lane/.rvm/gems/ruby-1.9.2-p290@acm/gems/activesupport-3.1.1/lib/active_support/dependencies.rb:240:in `require' from /home/lane/.rvm/gems/ruby-1.9.2-p290@acm/gems/heroku-2.14.0/lib/heroku.rb:6:in `' from /home/lane/.rvm/gems/ruby-1.9.2-p290@global/gems/bundler-1.0.21/lib/bundler/runtime.rb:68:in `require' from /home/lane/.rvm/gems/ruby-1.9.2-p290@global/gems/bundler-1.0.21/lib/bundler/runtime.rb:68:in `block (2 levels) in require' from /home/lane/.rvm/gems/ruby-1.9.2-p290@global/gems/bundler-1.0.21/lib/bundler/runtime.rb:66:in `each' from /home/lane/.rvm/gems/ruby-1.9.2-p290@global/gems/bundler-1.0.21/lib/bundler/runtime.rb:66:in `block in require' from /home/lane/.rvm/gems/ruby-1.9.2-p290@global/gems/bundler-1.0.21/lib/bundler/runtime.rb:55:in `each' from /home/lane/.rvm/gems/ruby-1.9.2-p290@global/gems/bundler-1.0.21/lib/bundler/runtime.rb:55:in `require' from /home/lane/.rvm/gems/ruby-1.9.2-p290@global/gems/bundler-1.0.21/lib/bundler.rb:122:in `require' from /home/lane/workspace/acm/acm/config/application.rb:7:in `' from /home/lane/.rvm/gems/ruby-1.9.2-p290@acm/gems/railties-3.1.1/lib/rails/commands.rb:52:in `require' from /home/lane/.rvm/gems/ruby-1.9.2-p290@acm/gems/railties-3.1.1/lib/rails/commands.rb:52:in `block in ' from /home/lane/.rvm/gems/ruby-1.9.2-p290@acm/gems/railties-3.1.1/lib/rails/commands.rb:49:in `tap' from /home/lane/.rvm/gems/ruby-1.9.2-p290@acm/gems/railties-3.1.1/lib/rails/commands.rb:49:in `' from script/rails:6:in `require' from script/rails:6:in `'
Called id for nil, which would mistakenly be 4 -- if you really wanted the id of nil, use object_id
**
Happened when I tried to create a post on the forum.
scmetallica@scmetallica:~/acm$ rake db:migrate
rake aborted!
FATAL: Peer authentication failed for user "acmucsb"
Tasks: TOP => db:migrate
(See full trace by running task with --trace)
rake db:migrate
Lane brought up an issue where anonymous (not logged in) users are allowed to see the create new post form, which will throw up an error on submit due to the line @post.user_id = @current_user.id
. A solution would be to modify app/models/ability.rb
so that only logged in users can create posts, whereas everybody can read them. I put in a method skeleton for user.logged_in? but wasn't able to implement it.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.