Any more details about the project, or is it under wraps?
2,041 karma · joined November 29, 2010
Any more details about the project, or is it under wraps?
Use "if" and "present?" instead of "unless" and "blank?". It's much easier to parse mentally, especially for people who didn't write the code. :)
You don't need to use "self" to access latitude, longitude, updated_at, etc. You only need to use it for assignment.
You don't need to call #to_s on the captured exception. When you interpolate an object into a string, Ruby calls #to_s on the supplied object itself, e.g., "I am an #{Object}".
I'd probably also add a "has_posts" scope to Category and use that instead of the #where call in ApplicationController.
Eat 500 calories below your MBR + burn rate and you lose one pound per week.
You can do it while eating garbage food (fast food, heavily processed food products) or you could do it while eating a totally vegan diet. It doesn't matter for weight loss.
If you're just quasi-trolling/shitposting, please go back to Reddit.
A lot of their backend stuff is now Java, though.
# Equivalent of file_put_contents() in PHP
# This could also be used for appending if the correct mode is specified.
File.open("filename", "w") { |f| f.write("some data") }
# Equivalent of file_get_contents() in PHP
some_var = File.read("filename")It's also extremely depressing.
I'm not disputing that, and I totally agree with your points, however unrelated to my questions they are. I'm not even going to use Stripe (as I have nothing that could utilise it at present), but I keep seeing that line appear over and over on this site.
People are going to get tired of being led on at some point. Something as simple as "We're handling regulatory/bureaucratic issue X at present in country Y" would be tremendously transparent compared to their handling of the situation at present.
The Stripe team is failing on this point.
Something like Redis might've been sweet, too, but would require you to hold all that data in ram.
http://www.biblegateway.com/passage/?search=Matthew+22&v...
This is the best chapter in the entire Bible IMO. It's funny how many Christian couples think they'll still be married in Heaven.
We are working hard to make Stripe available outside the United States.
What does this even mean? You've been saying this for a long time now. Is there really no other status update besides this? Why not be a bit more transparent about the process to people who want to give you money?