-
Go to postgresql console
`sudo -u postgres psql postgres`
Create user `rails_dev`
`create role rails_dev with createdb login password 'aqwe123';`
Drop database
`drop database blog_development…
-
I enjoyed
- [Agile Web Development with Rails 4](http://www.amazon.com/Agile-Development-Rails-Facets-Ruby/dp/1937785564)
- [The Rails 4 Way](http://www.amazon.com/gp/product/0321944275/ref=pd_lpo_sbs…
-
The following error is thrown when `bundle exec guard` is executed.
```
18:27:17 - INFO - Run 'gem install win32console' to use color on Windows
# terminated with exception (report_on_exception is…
-
We've explained kstat a few times to stakeholders; a video would be helpful to cut down on having meetings to explain what kalastatic is.
Later, we will be looking for a series of shorter, topical …
-
Guys, what are you brewing over there with myclimate.github.io? :-)
-
在下面請按照此格式提供本日進度報告:
```
## 昨天
- 寫作業 hw2-1
- 練習 JavaScript 迴圈使用
## 今天
- 研究什麼是 callback
- 寫作業 hw2-1(繼續)
```
-
- [x] `article = Article.find(params[:id])` дублюється в трьох місцях. Для уникнення цього в RoR є можливість створення колбек-методу та його виклику за допомогою фільтрів в контролерах.
Почитайте де…
-
Summary of request: Add a new organization to ROR
Add record:
Name of organization: DOHS Cares Foundation
Website: https://dohscares.org
Link to publications: https://www.unomaha.edu/college-of-…
-
I run dawn on a Rails 4 project and got this
```
09:28:58 [$] dawn: Description: To set a header value, simply access the response.headers object as a hash inside your controller (often in a before/a…
-
Summary of request: Modify the information in an existing ROR record
Update record:
Name of organization: European Research University
ROR ID: https://ror.org/00hjhrf26
Which part of the record …