# general

**URL:** https://discourse.hanakai.org/c/general/1.md?page=1

[Latest](https://discourse.hanakai.org/latest.md) · [Categories](https://discourse.hanakai.org/categories.md)

**Page:** 2

---

## [What is a proper way to handle a uniqueness constraint?](https://discourse.hanakai.org/t/what-is-a-proper-way-to-handle-a-uniqueness-constraint/351)

<div class="topic-metadata">

**Author:** [@radanskoric](https://discourse.hanakai.org/u/radanskoric)\
**Replies:** 4\
**Last updated:** [March 28, 2018, 7:10am UTC](https://discourse.hanakai.org/t/what-is-a-proper-way-to-handle-a-uniqueness-constraint/351 "2018-03-28T07:10:56Z")

</div>

On my user model I have a name and an email field and I want both to be unique. I have read this https://github.com/hanami/validations#uniqueness-validation and while it makes perfect sense it still doesn't help me im…

---

## [Test with PostgreSQL warning](https://discourse.hanakai.org/t/test-with-postgresql-warning/392)

<div class="topic-metadata">

**Author:** [@taab84](https://discourse.hanakai.org/u/taab84)\
**Replies:** 0\
**Last updated:** [August 8, 2017, 8:25am UTC](https://discourse.hanakai.org/t/test-with-postgresql-warning/392 "2017-08-08T08:25:56Z")

</div>

Hi. i’m new to Hanami (and Ruby also), i post here for an issue, i followed the guide (bookshelf exemple) but using PostgreSQL but when i run the test for the first page i had this warning ( warning: constant Sequel:…

---

## [Systematically migrating projects from Rails - Ideas](https://discourse.hanakai.org/t/systematically-migrating-projects-from-rails-ideas/347)

<div class="topic-metadata">

**Author:** [@yjukaku](https://discourse.hanakai.org/u/yjukaku)\
**Replies:** 1\
**Last updated:** [May 7, 2017, 8:11am UTC](https://discourse.hanakai.org/t/systematically-migrating-projects-from-rails-ideas/347 "2017-05-07T08:11:00Z")

</div>

Hey everyone! Thanks for your awesome work on this framework. I have an idea that has been floating around in my head for quite some time, and I'd like to get some experienced Hanami devs opinions on it. As a Rails de…

---

## [\[SOLVED\] Hanami routes helper don't work in templates](https://discourse.hanakai.org/t/solved-hanami-routes-helper-dont-work-in-templates/333)

<div class="topic-metadata">

**Author:** [@milovidov](https://discourse.hanakai.org/u/milovidov)\
**Replies:** 3\
**Last updated:** [April 21, 2017, 7:24am UTC](https://discourse.hanakai.org/t/solved-hanami-routes-helper-dont-work-in-templates/333 "2017-04-21T07:24:29Z")

</div>

I have hanami application version 1.0.0 I have next routes.rb file: get '/games', to: 'games#index' root to: 'home#index' I read docs and tried to use \<%= routes.games\_path %\> in application.html.erb template, but r…

---

## [\[SOLVED\] How can I add my fonts to hanami app?](https://discourse.hanakai.org/t/solved-how-can-i-add-my-fonts-to-hanami-app/330)

<div class="topic-metadata">

**Author:** [@milovidov](https://discourse.hanakai.org/u/milovidov)\
**Replies:** 4\
**Last updated:** [April 18, 2017, 2:01pm UTC](https://discourse.hanakai.org/t/solved-how-can-i-add-my-fonts-to-hanami-app/330 "2017-04-18T14:01:41Z")

</div>

I added “selawkl.ttf” font into apps/web/assets/fonts folder. But, I recieved next error after page load: HTTP/1.1 GET 404 127.0.0.1 /fonts/selawkl.ttf How can I add “selawkl” font to Hanami app?

---

## [A newbie's journey with Hanami](https://discourse.hanakai.org/t/a-newbies-journey-with-hanami/317)

<div class="topic-metadata">

**Author:** [@billiam](https://discourse.hanakai.org/u/billiam)\
**Replies:** 7\
**Last updated:** [April 16, 2017, 10:24am UTC](https://discourse.hanakai.org/t/a-newbies-journey-with-hanami/317 "2017-04-16T10:24:42Z")

</div>

Hey everyone, thought I'd make an introduction, and can certainly use your guidance and suggestions :slight\_smile: We (another jr dev and I) are rebuilding a node-express, jquery, firebase prototype with pg, hanami, jw…

---

## [Turbolinks 5 and Hanami](https://discourse.hanakai.org/t/turbolinks-5-and-hanami/302)

<div class="topic-metadata">

**Author:** [@seanfcarroll](https://discourse.hanakai.org/u/seanfcarroll)\
**Replies:** 2\
**Last updated:** [February 21, 2017, 9:06pm UTC](https://discourse.hanakai.org/t/turbolinks-5-and-hanami/302 "2017-02-21T21:06:17Z")

</div>

Any thoughts on if Turbolinks 5 would work with Hanami. At first glance I think it might, but interested in other opinions.

---

## [Is it possible to deploy Hanami with Dokku?](https://discourse.hanakai.org/t/is-it-possible-to-deploy-hanami-with-dokku/299)

<div class="topic-metadata">

**Author:** [@batuwil](https://discourse.hanakai.org/u/batuwil)\
**Replies:** 3\
**Last updated:** [February 16, 2017, 9:33pm UTC](https://discourse.hanakai.org/t/is-it-possible-to-deploy-hanami-with-dokku/299 "2017-02-16T21:33:21Z")

</div>

Hello people ! I'm Ruby on Rails developer and been following Hanami for a while. Finally I decided to built my personal website with Hanami to give it a try. My question is, how can I manage to deploy Hanami with Do…

---

## [Is there a "Built With Hanami" list?](https://discourse.hanakai.org/t/is-there-a-built-with-hanami-list/292)

<div class="topic-metadata">

**Author:** [@yjukaku](https://discourse.hanakai.org/u/yjukaku)\
**Replies:** 1\
**Last updated:** [December 4, 2016, 9:54am UTC](https://discourse.hanakai.org/t/is-there-a-built-with-hanami-list/292 "2016-12-04T09:54:04Z")

</div>

Hi everyone! I'm a pretty experienced Ruby/Rails dev, and am interested in Hanami... but I couldn't find any lists of Hanami-built apps. I'd like to see how any more complex projects are built using Hanami (obviously o…

---

## [Initial thoughts from Hanami newbie](https://discourse.hanakai.org/t/initial-thoughts-from-hanami-newbie/264)

<div class="topic-metadata">

**Author:** [@pbreit](https://discourse.hanakai.org/u/pbreit)\
**Replies:** 2\
**Last updated:** [October 18, 2016, 6:40pm UTC](https://discourse.hanakai.org/t/initial-thoughts-from-hanami-newbie/264 "2016-10-18T18:40:35Z")

</div>

I'm both new to Hanami and a novice developer so my comments may not be very well informed. The Hanami pitch resonated with me because I was looking for something lighter and more approachable than Rails. So I really…

---

## [How can I make the same in Hanami](https://discourse.hanakai.org/t/how-can-i-make-the-same-in-hanami/247)

<div class="topic-metadata">

**Author:** [@rwobben](https://discourse.hanakai.org/u/rwobben)\
**Replies:** 3\
**Last updated:** [June 8, 2016, 12:55pm UTC](https://discourse.hanakai.org/t/how-can-i-make-the-same-in-hanami/247 "2016-06-08T12:55:34Z")

</div>

Hello, I made a app with Rails where I have to display 10 paintings on the index page and the details on a detail page. I have solved in in Rails and I wonder if I can do it again with Hanami What I have used is o…

---

## [Multiple adapters per mapper](https://discourse.hanakai.org/t/multiple-adapters-per-mapper/97)

<div class="topic-metadata">

**Author:** [@taylorfinnell](https://discourse.hanakai.org/u/taylorfinnell)\
**Replies:** 3\
**Last updated:** [November 26, 2015, 2:56am UTC](https://discourse.hanakai.org/t/multiple-adapters-per-mapper/97 "2015-11-26T02:56:01Z")

</div>

I have a need for multiple adapters per mapper for my project and wanted to chat about it a bit here. I see it was already mentioned here https://github.com/lotus/model/issues/33 but apparently there are a few issues bef…

---

## [Lotus-assets-publisher just published](https://discourse.hanakai.org/t/lotus-assets-publisher-just-published/162)

<div class="topic-metadata">

**Author:** [@martinrubi](https://discourse.hanakai.org/u/martinrubi)\
**Replies:** 0\
**Last updated:** [October 12, 2015, 5:06am UTC](https://discourse.hanakai.org/t/lotus-assets-publisher-just-published/162 "2015-10-12T05:06:41Z")

</div>

Hi, I'm using Lotus since a few weeks and I like it very much. I've done a small framework to manage bundles of assets from Lotus, just wanted to let you know. Feel free to comment on it. Regards, Martin

---

## [Shotgun Loader Boot Error](https://discourse.hanakai.org/t/shotgun-loader-boot-error/66)

<div class="topic-metadata">

**Author:** [@mlaco](https://discourse.hanakai.org/u/mlaco)\
**Replies:** 1\
**Last updated:** [April 2, 2015, 9:12am UTC](https://discourse.hanakai.org/t/shotgun-loader-boot-error/66 "2015-04-02T09:12:22Z")

</div>

I am completely new to Lotus, and I’m following this example to create a simple Lotus app. When I start it up and view it in my browser, I receive the following: Boot Error Something went wrong while loading /Users/…

[Previous page](https://discourse.hanakai.org/c/general/1.md)
