I have been successful in successfully creating a user using NanoStoreInMotion. I can query on this and see the object. For example, if there is a problem with me, data is exported:
User model:
class user & lt; NanoStore :: Model: first_name = & gt; "Jason": last_name = & gt; "Beam" user = user.find (: first_name = & gt; "jason") # returns this object [# & lt; Users: 0xab96ab0 & gt;] End With Ruby, I usually just call the user on a specific area to call. First_name throws an error, "undefined method for 'first_name' [#]: Array (noother error)
If I recall that an array is found in the right way so that you have to do something like a user [0] .first_name
Based on my experience, I will advise on Nano store emotion I will not leave my inability to use it correctly, but it was inappropriate for me slow
So I went away and I am very happy with it.
No comments:
Post a Comment