I apologize for presenting you with a moving target. That was
definitely not my attention.
I should have realized I messed up the content of the files but
unfortunately had no clue what all these exceptions meant.
Therefore I really appreciate your detailed description of the
conclusion you draw
Hi,
On 20 Okt., 14:04, Stefan Rohlfing wrote:
> I really learned at lot about dealing with namespaces today.
I hope you also learned a bit about error messages. ;)
"No such var: user/create": That means you get past the namespace
declaration. Hence they load fine. But in the user namespace the
You were right again. I left a code snippet from the book in
charge.clj and forgot to remove it later.
Now everything seems to work fine, even when importing the active-
record.user namespace as 'user':
(ns active-record.program.cor
Hi,
On 20 Okt., 11:35, Stefan Rohlfing wrote:
> Evaluating your suggested declaration:
>
> (ns active-record.program.core
> (:require [active-record.user :as u])
> (:require [active-record.charge :as charge]))
>
> I get the following error message:
>
> ;; Unable to resolve symbol: user=>
Evaluating your suggested declaration:
(ns active-record.program.core
(:require [active-record.user :as u])
(:require [active-record.charge :as charge]))
I get the following error message:
;; Unable to resolve symbol: user=> in this context
;; [Thrown class java.lang.Exception]
The sam
Hi,
On 20 Okt., 11:09, Stefan Rohlfing wrote:
> Yes, I also tried charge/create. The error message is different, but
> it still does not work:
More evidence for a problem with the user alias. Try a different one
like (:require [active-record.user :as u]).
Sincerely
Meikel
--
You received thi
Yes, I also tried charge/create. The error message is different, but
it still does not work:
;; No such namespace: charge
;; [Thrown class java.lang.Exception]
On Oct 20, 5:03 pm, Meikel Brandmeyer wrote:
> Hi,
>
> On 20 Okt., 10:46, Stefan Rohlfing wrote:
>
> > You are right, there was a syn
Hi,
On 20 Okt., 10:46, Stefan Rohlfing wrote:
> You are right, there was a syntax error in charge.clj. However, after
> correcting the error I get the same error message as with the other
> namespace declaration:
Did you try the same with charge/create? Examples in books are not
necessarily cor
You are right, there was a syntax error in charge.clj. However, after
correcting the error I get the same error message as with the other
namespace declaration:
;; No such var: user/create
;; [Thrown class java.lang.Exception]
On Oct 20, 4:37 pm, Meikel Brandmeyer wrote:
> Hi,
>
> On 20 Okt.,
Hi,
On 20 Okt., 10:09, Stefan Rohlfing wrote:
> ;; EOF while reading
> ;; [Thrown class java.lang.Exception]
Are you sure, that you don't have some syntax error somewhere?
Sincerely
Meikel
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post
The name 'user' is taken from an example in the book. The author
executes the code at the REPL like this:
(require '(active-record [user :as user]))
user=> (user/create {:login "rob"
:first_name "Robert"
:last_name "Berger"
On 20 October 2010 10:09, Stefan Rohlfing wrote:
> Dear Clojure group,
>
> I am currently reading chapter 9.1 MySQL & clj-record of 'Clojure in
> Action'.
>
> clj-record seems pretty awesome, but I once again got lost in
> namespace jungle.
>
> Here is a concrete example:
>
> -
On Tue, Sep 1, 2009 at 4:43 PM, Luc
Prefontaine wrote:
> Hi John,
>
> Clj-record will make its way into production in a couple of weeks.
>
> It's been working flawlessly in high volume tests here.
Hi Luc,
That's great to hear. I recently set up a Google Group for clj-record,
so you may want to si
13 matches
Mail list logo