-
# 概要
- カウントアプリで数字を表示させるために、コードを追加したのですが、数字が表示されず、以下のエラー画面が出ます。
# エラー画面やターミナルのスクリーンショット
- エラー画面
[![Image from Gyazo](https://i.gyazo.com/ea6d5f968a67cbefc0198a705c944dd0.png)](https://gyazo.com/ea6…
-
``` ruby
get '/', provides: 'text/event-stream' do
sse_stream &:close
end
```
Just doing this and running this about 10 times shows an increase in mem usage.
``` shell
httperf --server=local…
-
Perhaps I am missing something, but I am unable to iterate over an ActiveRecord query result. I wrote a few helpers to integrate mustache into Sinatra allowing it to be invoked much like erb ([all the…
-
I think it should be pointed out that where there is a particular dependency it's be to look for a lighter alternative that still accomplishes the same goal but without imposing particular design patt…
-
As it stands, we only support the Rails™-way:
``` rb
let(:user_params) { params.require(:user).permit :email, :password }
```
This seems less useful to APIs, though I don't know if we need to remove…
-
If TWURLRequest is set to POST then OAuth will fail. I think it is something with how the parameters are being encoded. The signature appears to be correct, but it still fails.
-
Just tryingto use it.
But why this error:
RuntimeError: Unknown media type: ".mustache"
-
We need some content to cover dependency management:
Here I am thinking that we point people at the documentation and a video before sending them to an exercise.
lashd updated
9 years ago
-
Hello,
thank you very much for this little tool!
I'm trying to make this work, I can install and launch the application.
When I enter anything in the key input I get a 500 Error. By opening the c…
-
We can create the same path in different HTTP request type. For example:
GET /posts/:id
PUT /posts/:id
when we add before('/posts/:id') { ... } before filter will be work for both routes.