…for a Senior Developer . Trivia: click here to learn more., creator of Mongoid, works there, so you'll be in good company! —
or Django superstar for web+mobile startup -
Collectrium , a technology company focused on elegant tools for art collectors, galleries, and art fairs is looking for a Ruby on Rails or Python Django superstar for their + mobile startup — click here …
Let's see this modularity first hand by building up a CarrierWave uploader from scratch.
To begin with, we'll install CarrierWave: gem install carrierwave
Then, we can make the world's shortest uploader: require 'carrierwave'
class MyUploader …
…production database. I've accidentally basically dropped the production database (see my post on Mongoid and delete_all). If he will fuck up, so will you. Don't lie and make it seem like the problem wasn't your fault. Don't hide data that will prevent people from realizing that it's your fault. Don't wait 3 days to tell anyone because you're afraid of the consequences. Unless you knowingly did something outright malicious, you're not going to lose your …
Initially, I was logging the entire contents of the email, but that included attachments as well. So, now I'm just logging the body. I wonder if there's a better choice of what to log, though...
…developers may jump right into the warm embrace of the Active replacements Mongoid and , that often robs developers of a valuable learning experience.
The MongoDB Ruby driver is not only simple to use, but it will get you familiar with how queries look and how they operate. Armed with this knowledge, moving into an ORM becomes much easier. You'll not only be able to understand what is abstracted away, but you'll be able to spot bad …
What do you think the below code would do in Mongoid? 1 2 3 4 5 Post .where( :author_id => 8 ).delete_all
It would delete all the posts where the author ID is 8, right? Right? Riiight? WRONG ! FOOL! IT DELETES THE ENTIRE FUCKING POSTS COLLECTION . No joke.
Whereas in ActiveRecord Post.where(:author_id => 8).delete_all would delete ONLY THE POSTS WITH AUTHOR ID 8 , Mongoid decided to JUST REMOVE THE ENTIRE COLLECTION . AWESOME SURPRISE !!!!!!!
This leads to awesomeness and unicorns when done in production.
If you're using Mongoid and db_store.rb . You could even improve it and release it!, you might be able to use
Meanwhile, in Tokyo
I went to the Tokyo . Contrary to popular belief, I don't travel the world going to programmer meet-ups. It was actually my wife who arranged it — she's not a programmer, she worked with one of the organisers when translating Meetup Basecamp . It was a good event for her to attend, because the …
…-compliant(like , , or Mongoid), you will be able to use features like form_for, link_to and redirect_to with objects from those without any additional work.
This could in theory also be done for other3 compatible like Mongoid, but I haven't looked into that yet.
Hirb formats objects into pretty tables, as you can see in the picture above. It also provides some scrolling possibilities like the command line tools less and more. Very handy!
The first Wirble provides you with history and syntax highlighting.extension anyone uses.
While Wirble colorizes the output …