This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-07-26
Channels
- # bangalore-clj (1)
- # beginners (12)
- # boot (48)
- # cider (56)
- # clara (1)
- # cljs-dev (15)
- # clojure (455)
- # clojure-austin (2)
- # clojure-dev (33)
- # clojure-italy (26)
- # clojure-nl (6)
- # clojure-poland (10)
- # clojure-russia (23)
- # clojure-spec (33)
- # clojure-uk (62)
- # clojurescript (37)
- # code-art (2)
- # cursive (12)
- # datomic (48)
- # funcool (1)
- # juxt (16)
- # leiningen (13)
- # off-topic (12)
- # om (23)
- # onyx (16)
- # other-lisps (5)
- # parinfer (2)
- # pedestal (28)
- # re-frame (60)
- # reagent (8)
- # ring (1)
- # ring-swagger (15)
- # spacemacs (5)
- # specter (53)
- # test-check (2)
- # unrepl (8)
- # vim (14)
@joshkh Wait, you said you were using both rum & reagent. So I am confused :thinking_face:
oh no, i'm just using reagent. i think there was some small crosstalk in the previous conversation
speaking of which, does anyone know why lein with-profile +dev uberjar
doesn't pull in the config/dev/config.edn
file, but lein with-profile +dev run
does? I'm using [yogthos/config] https://github.com/joshkh/bluegenes/blob/mymine/project.clj
manually passing in the config file, however, does work java -Dconfig="config/dev/config.edn" -jar target/bluegenes.jar
Hey folks --- can someone tell me what stupid thing I'm doing here? I'm just testing out a database connection in a luminus app using postgre and hugsql, and when I try to enter multiple rows in a (do)
, only one gets added. i.e., sql via hugsql:
-- :name create-document! :! :n
-- :doc creates a new document
INSERT INTO documents (document)
VALUES (:document)
and clojure:
(defn add-stub-docs []
(do
(db/create-document! {:document "this is the first document"})
(db/create-document! {:document "this is the second document"})))
but when I read from the database after running that, only the first document is in there...