chloerei / writings Goto Github PK
View Code? Open in Web Editor NEW[Closed] Source code of writings.io
Home Page: http://chloerei.com/writings/
License: MIT License
[Closed] Source code of writings.io
Home Page: http://chloerei.com/writings/
License: MIT License
输入引号之后,必须在引号下有一行,否则输入的内容就会一直被引起来
test "should logout" do
login_as @user
delete :destroy, :format => :js
assert !logined?
如题
看来是我学业不精啊…………翻了3天源代码了愣是没找到有关用户注册的后台代码在哪里……………………求指教………………
我把app 用nginx跑起来后,hosts域名指向也设置了。但是进入首页的时候显示 Page not Found。
下面是后台打印的信息
ActionView::MissingTemplate (Missing template errors/500 with {:locale=>[:en, :"zh-CN", :zh], :formats=>[:png], :handlers=>[:erb, :builder, :raw, :ruby, :slim, :jbuilder, :coffee]}. Searched in:
render_500' app/middleware/conditional_ssl.rb:9:in
call'我的环境是ubuntu 12.04 server 是架在虚拟机上的。
另外nginx设置中 root指向的是public。
在局域网其他机器上访问出错:
Mongoid::Errors::DocumentNotFound in Site::ArticlesController#index
Problem: Document not found for class Space with attributes {:domain=>"192.168.56.1"}. Summary: When calling Space.find_by with a hash of attributes, all attributes provided must match a document in the database or this error will be raised. Resolution: Search for attributes that are in the database or set the Mongoid.raise_not_found_error configuration option to false, which will cause a nil to be returned instead of raising this error.
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.