Show HN: My first RoR project. Domain appraisal engine
This is my first Show HN: post. Domain Mongrel calculates the worth of a website/domain name based on different factors like popularity, length, search volume, dictionary, etc.
(
45 comments
| 17 points
| on HN
)
NoMethodError in SearchController#search
undefined method `[]' for nil:NilClass
http://www.domainmongrel.com/search?utf8=%E2%9C%93&domai...
My sympathies to the author. This stuff is hard. Don't get dispirited by it.
Also, you are running an outdated version of Rails that needs a security patch.
Great look for a first Rails project though, keep plugging away! Remember that most people aren't lucky enough to have popularity break their app ;)
Edit for code sample:
Redeploy, then: Second edit for Google API advice:From what I remember the GDATA APIs have not-entirely-documented rate limits. One naive solution I wrote in the past merely waited one second between sequential requests. This will obviously impact your app's responsiveness, so you'll want to figure out another strategy once you get it back up. Also, once you implement your rate limiting you still might have to wait ten minutes or so before Google lets you back in.
Edit: You got muted down to the 4th page, at #130 something down from the top 30. Probably the victim of some flagging or a moderator. Sorry.
- Validation on the input form
- HTML looks like it's been generated in some WYSIWYG editor... Have a read over this: http://learn.shayhowe.com/advanced-html-css/
Looking forward to see the code on github, thanks for sharing.
The UTF-8 "check" in the URL was pretty cool.
http://stackoverflow.com/questions/4104474/rails-3-utf-8-que...
> "The Domain google.com is valued at: $2,009,961,449.08"