-
Notifications
You must be signed in to change notification settings - Fork 342
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sign Up Error: Name can't be blank #164
Comments
Thanks for the report! I'll look into it. |
Add user name to Devise permitted attributes. Fixes #164.
Fixed! Please pull latest code and try again. |
Thanks. I just tried to sign up at http://ohana-api-demo.herokuapp.com/users/sign_up. When I clicked "sign up" it sent me to this page http://ohana-api-demo.herokuapp.com/users and gave me the following message:
|
Sorry about that. I should have checked the demo site. It's fixed for real now. I just verified on the demo site. |
Great thanks. Worked for me as well. Now I have to figure out how this thing works. :) |
I took a look at your instance and it looks like you've just deployed with the sample data that the API comes with — which is a great first step which shows the code and deployment instructions are working — but I'm assuming that you'll want to use NYC data at some point, right? Also, the home page of the API (where you've been trying to sign up) is a developer portal for people who will want to build apps using NYC data. The idea is that once you've deployed an instance of the API with NYC data that's in a state that's ready to be consumed by other developers who want to build useful things with the data, then you would let them know about the API site and ask them to sign up. Does that make sense? The most important step in the process of deploying your own instance of the API is to populate the database with your own data. The installation instructions go through everything step by step. Let me know what's not clear or what it is you're trying to figure out about how this works. |
On Sat, May 31, 2014 at 8:05 PM, Moncef Belyamani [email protected]
Yep. That data is currently here:
Yep. And the ruby wrapper is one such app - right.
I converted a csv of my data intio json using The difference between how my file looks and how your sample dataset looks Thanks for the help.
Devin Balkind |
Also - here's a link to our JSON file that was converted from our CSV spreadsheet: https://drive.google.com/file/d/0B7hSktWsQi1VUVJxUU1mSUNFcXc/edit?usp=sharing |
Converting a flat CSV file to JSON using a tool like csv-to-json will not work. You'll either have to create separate CSV files to define the various relationships, as described in the OpenReferral specification, or you'll have to write your own custom script that will parse your CSV file and output JSON that conforms with the format that Ohana API expects. We don't have script templates for converting data to JSON because every case is different. However, I believe @spara was working on templates for CSV files to show you how you would organize your data into separate spreadsheets. |
Also, our Ruby wrapper is not an example of an app that can be built on top of the data. The wrapper itself does not consume any data. It's a tool that makes it easier to write Ruby applications that communicate with the API. Examples of such Ruby applications are our Web Search, and our Admin Interface. |
Our spreadsheet lines up very closely to the OR spec so tweaking it to fit with what's outlined at the page you linked to is very possible for us - but of course there are some questions pertaining to how to do that:
I'm sure I'll come up with more questions throughout the process. Should I move this questions to another thread? Also - @spara spreadsheet templates would be immensely helpful for us. Please let me know if you have anything like that. Thanks. |
Yes, please open one or more new issues with these questions on the OpenReferral repo. Thanks! |
Thanks. |
See issue 164 in upstream repo: codeforamerica#164
See issue 164 in upstream repo: codeforamerica#164
We've deployed an instance of the Ohana API at http://services.nycprepared.org:8080/
When I try to sign up as a user I receive the following error:
I receive the same error when attempting to register for the demo site at http://ohana-api-demo.herokuapp.com
I've tried using names that with are a single word, multiple words, with capitalized first letters and without.
Thanks.
The text was updated successfully, but these errors were encountered: