Ruby

  • Most Topular Stories

  • Link: run in with turbolinks

    Ruby-coloured glasses
    Taryn East
    30 Nov 2014 | 12:24 am
    A quick link today to an article on turbolinks. It includes a couple of different levels of work-around snippets when adding javascripty functionality to your own links so it's pretty useful. Rails 4: My First Run-in with Turbolinks
  • jekyll-planet gem - Add Articles, Blogs to Your Site via Web Feeds (and Planet Pluto)

    RubyFlow
    21 Dec 2014 | 7:48 am
    Hello, the jekyll-planet gem lets you generate Jekyll posts for your static site using the Planet Pluto machinery. Add articles or blog posts syndicated via web feed to your site in three steps: Step 1: Use a Planet Pluto configuration e.g. planet.ini to build your local planet.db SQLite feed cache. Step 2: Generate planet posts for Jekyll (from the planet.db cache) using the jekyll-planet Ruby script. Step 3: Use Jekyll as usual to build your site. That's it. Happy Planet. Cheers.
  • Security Fix and Concerns

    RubyFlow
    21 Dec 2014 | 8:54 pm
    ror_ecommerce had its first security announcement. Once this announcement became public, I have become very concerned about how to make these announcements and think the community needs to find a better way.
  • Review: Redis Applied Design Patterns

    Obie Fernandez
    Obie Fernandez
    1 Dec 2014 | 7:56 am
    Redis is one of the most popular NoSQL databases, and for good reason. Even though you wouldn't want to use it as your primary datastore, Redis is a high-performance complement for caching frequently used data and running certain types of calculations such as leaderboards. I'm far from a master of Redis, but my presentations about Redis are some of my most popular online content, getting thousands of views every month. In the Packt Publishing book, Redis Applied Design Patterns, author Arun Chinnachamy provides a concise guide to Redis for experienced developers wondering what Redis can do…
  • Working Effectively with Unit Tests Official Launch

    Jay Fields' Thoughts
    Jay Fields
    16 Dec 2014 | 10:00 pm
    Today marks the official release release of Working Effectively with Unit Tests. The book is available in various formats:DRM free pdf, epub, & mobi (Kindle) at http://leanpub.com/wewutSoftcover at http://amzn.com/1503242706Kindle edition at http://amzn.com/B00QS2HXUOI’m very happy with the final version. Michael Feathers wrote a great foreword. I incorporated feedback from dozens of people - some that have been friends for years, and some that I’d never previously met. I can’t say enough great things about http://leanpub.com, and I highly…
  • add this feed to my.Alltop

    RubyFlow

  • Security Fix and Concerns

    21 Dec 2014 | 8:54 pm
    ror_ecommerce had its first security announcement. Once this announcement became public, I have become very concerned about how to make these announcements and think the community needs to find a better way.
  • tty-progressbar v0.3.0 released

    21 Dec 2014 | 1:29 pm
    The newest tty-progressbar offers automatic resizing, optimisation of formatting tokens, easier configuration and ability to clear progress once finished. Please give it a whirl!
  • jekyll-planet gem - Add Articles, Blogs to Your Site via Web Feeds (and Planet Pluto)

    21 Dec 2014 | 7:48 am
    Hello, the jekyll-planet gem lets you generate Jekyll posts for your static site using the Planet Pluto machinery. Add articles or blog posts syndicated via web feed to your site in three steps: Step 1: Use a Planet Pluto configuration e.g. planet.ini to build your local planet.db SQLite feed cache. Step 2: Generate planet posts for Jekyll (from the planet.db cache) using the jekyll-planet Ruby script. Step 3: Use Jekyll as usual to build your site. That's it. Happy Planet. Cheers.
  • Any gem as standalone binary that works with any ruby -- rubinjam

    20 Dec 2014 | 8:07 pm
    Rubinjam any gem (w/o native ext) into a binary curl https://rubinjam.herokuapp.com/pack/rake > rake && chmod +x rake && ./rake --version
  • Testing logging in Ruby with StringIO and a few lines of code

    19 Dec 2014 | 7:41 am
    Testing logging in Ruby with StringIO
 
  • add this feed to my.Alltop

    Obie Fernandez

  • Review: Redis Applied Design Patterns

    Obie Fernandez
    1 Dec 2014 | 7:56 am
    Redis is one of the most popular NoSQL databases, and for good reason. Even though you wouldn't want to use it as your primary datastore, Redis is a high-performance complement for caching frequently used data and running certain types of calculations such as leaderboards. I'm far from a master of Redis, but my presentations about Redis are some of my most popular online content, getting thousands of views every month. In the Packt Publishing book, Redis Applied Design Patterns, author Arun Chinnachamy provides a concise guide to Redis for experienced developers wondering what Redis can do…
  • Africa Calling

    Obie Fernandez
    14 Oct 2014 | 12:09 pm
    Reposting from my Medium blog Africa Calling
  • Do. Or Do Not. There is No Try.

    Obie Fernandez
    14 Sep 2014 | 11:16 am
    A reminder that I come back to time and again.
  • Demo of QuickMVP

    Obie Fernandez
    12 Sep 2014 | 7:45 am
    The video features my partners at Javelin, Grace and Trevor, presenting QuickMVP to the NY Tech Meetup, one of the most prestigious in the world. I don't think our idea particular complicated or anything, but I'm proud of our execution on this one. QuickMVP is a landing page builder + easy creation of Google Ads to drive early adopter traffic + tool suite to be able to analyze results of your experiments in a way that's compatible with lean startup best practices. This video is actually one of the best demos of the software out there. Learn why this product is driving more and more recurring…
  • The Future of Consulting

    Obie Fernandez
    5 Aug 2014 | 11:12 am
    I am doing an online (live) panel discussion with special guests a little less than an hour from now. https://www.airpair.com/airconf2014/keynote/future-of-consulting Here is a brief list of topics that we hope to cover: - state of software consulting today. static? growing? - what are the external forces shaping change in the industry? - opportunities of ongoing engagement outside traditional project-based models - should firms be looking to unbundle services? - or additional bundling and/or co-promotion of educational and othe rservices (ala Thoughtbot) - what is the proper balance of…
  • add this feed to my.Alltop

    Jay Fields' Thoughts

  • Working Effectively with Unit Tests Official Launch

    Jay Fields
    16 Dec 2014 | 10:00 pm
    Today marks the official release release of Working Effectively with Unit Tests. The book is available in various formats:DRM free pdf, epub, & mobi (Kindle) at http://leanpub.com/wewutSoftcover at http://amzn.com/1503242706Kindle edition at http://amzn.com/B00QS2HXUOI’m very happy with the final version. Michael Feathers wrote a great foreword. I incorporated feedback from dozens of people - some that have been friends for years, and some that I’d never previously met. I can’t say enough great things about http://leanpub.com, and I highly…
  • The Case for Buying Technical Books

    Jay Fields
    25 Aug 2014 | 1:50 pm
    In the past few months I've seen more than a few articles encouraging programmers to write books. Each article provides at least a bit of good advice, and proceeds to conclude with the same idea:You should write a book to build your brand.I find this conclusion accurate and extremely disappointing. If the overwhelming reason to write a book is brand building, then the pool of potential authors is restricted to people who would benefit from brand building (and people who don't value their time).How Did We Get Here?The Internet, obviously. Practically everyone knows how to download any movie,…
  • Solitary Unit Test

    Jay Fields
    16 Jul 2014 | 12:55 pm
    Originally found in Working Effectively with Unit TestsIt’s common to unit test at the class level. The Foo class will have an associated FooTestsclass. Solitary Unit Tests follow two additional constraints: Never cross boundaries The Class Under Test should be the only concrete class found in a test. Never cross boundaries is a fairly simple, yet controversial piece of advice. In 2004, Bill Caputo wrote about this advice, and defined a boundary as: ”...a database, a queue, another system...”. The advice is simple: accessing a database, network, or file system significantly increases…
  • Working Effectively with Unit Tests Rough Draft Complete

    Jay Fields
    30 Jun 2014 | 5:48 pm
    I finally put the finishing touches on the rough draft of Working Effectively with Unit Tests. It's been an interesting journey thus far, and I'm hoping the attention to detail I've put into the rough draft will translate into an enjoyable read. What I did poorly: I'd written the book's sample before I ever put it on leanpub. Before a book is published you can collect contact and price information from those who are interested. However, once you publish and begin selling, you no longer have the ability to collect the previously mentioned information. I published and began selling my book…
  • Working Effectively with Unit Tests

    Jay Fields
    21 May 2014 | 4:29 am
    Unit Testing has moved from fringe to mainstream, which is a great thing. Unfortunately, as a side effect developers are creating mountains of unmaintainable tests. I've been fighting the maintenance battle pretty aggressively for years, and I've decided to write a book that captures what I believe is the most effective way to test. From the PrefaceOver a dozen years ago I read Refactoring for the first time; it immediately became my bible. While Refactoring isn’t about testing, it explicitly states: If you want to refactor, the essential precondition is having solid tests. At that time, if…
 
  • add this feed to my.Alltop

    slash7 with Amy Hoy

  • How to create a USEFUL feedback loop after launch

    Amy Hoy
    17 Dec 2014 | 2:06 pm
    With Just Fucking Ship, well, just fucking shipped, Amy and I have been focused on two main things: 1) Amy is finishing up the first pass of editing so we can send our customers a FINISHED copy of the book. As I write this email, she’s putting the last chapter through it’s paces! 2) I’m diligently reading through all of the feedback from those of you who bought a copy for yourself. And it’s been quite a pile to sift through: over 115 people replied to a couple of pointed questions that we asked…that means nearly 15% of the 850+ people who purchased a copy of JFS…
  • I’m about to JFS a price increase

    Amy Hoy
    12 Dec 2014 | 9:30 am
    Hello there! Just tuning in? I wrote the first version of a book in 24 hours, shipped it, and made $7,248 in sales so far in under 2 weeks. To catch up, read my recent 1-week later update. Just Fucking Ship, my 24-hour book, is getting verrrry close to its final version. OMG my life is editing. Editing editing editing editing. Looks like this: I’ve logged 7.5 hours editing this week so far — that doesn’t sound like a lot, but believe you me, structural editing is harder than writing the initial draft. All the hardest chapters to edit, bar one, are behind me now, so should be…
  • 24-hour book, 1 week later — sales, time, next steps

    Amy Hoy
    9 Dec 2014 | 6:06 pm
    OKAY LET’S REVIEW: Last week… Monday, 12:45pm — I decide to join my friend Nathan in his 24-hour product challenge. Started with a blog post, where I journaled my process/experience Next 24 hours: I put in some solid hours and write the first version of a book! While taking breaks & getting a full night’s sleep, cuz I’m so metal Tuesday, 1:15 – Shipped the first version of the book for sale ($12) Tuesday, later – Started hearing from the first happy customers… yessssss Wednesday – Finished the remaining chapters, which was pretty hard cuz I was…
  • I wrote an ebook in 24 hours. Now what?

    Amy Hoy
    4 Dec 2014 | 9:54 am
    On Monday, on a whim — with about 30 minutes’ notice — I joined my friend Nathan in his 24 Hour Product Challenge. (Want to read my own personal blow by blow? Here’s my diary from the day.) Result: Success! I wrote & launched v1 of an ebook in 24 hours and 15 minutes. (Calendar time — I actually took a lot of breaks and got a full night’s sleep. Cuz I’m efficient like that, as I explain in the book itself.) I’ve sold 165 copies for a gross of $1,968. As of 12 noon today (Thursday), or exactly 72 hours after the challenge began. Not too shabby! Total…
  • 24-Hour Product Challenge

    Amy Hoy
    1 Dec 2014 | 10:08 am
    Cuz who doesn’t love a challenge? I’m taking part in Nathan Barry’s 24-Hour Product Challenge. I’m committing to shipping a small product by 12 noon tomorrow. What product? Easy. As I wrote to Nathan for his updates: I’m committing to JFS my long-planned Just Fing Ship, a short ebook that focuses on the joy of finishing and how to just fing do it. It’s been something I’ve wanted to do for 2 years at least, but other, bigger projects have always eaten up the energy for it. Ironically. This challenge is going to be a lot of fun. I bleeped out…
  • add this feed to my.Alltop

    Polishing Ruby + Software Releases - zenspider.com

  • Updated iTunes Bedtime script

    ryan davis
    19 Dec 2014 | 12:00 am
    Minor changes this time. This works in iTunes v12, which is the latest release for Yosemite. The only real fixes centered around verbage changes to menu items. I wish it had applescript support that didn’t require UI scripting to do basic things like listen to a smart playlist or a particular band. This script starts up itunes and airfoil, sets the volumes of both, picks a specified playlist, and plays it. I fire this one up just before going to bed. I have another copy that sets up my programming playlist and another for cooking. They’re always available via the script menu by…
  • zenweb version 3.7.0 has been released!

    ryan davis
    12 Dec 2014 | 6:19 pm
    Zenweb is a set of classes/tools for organizing and formating a website. It is website oriented rather than webpage oriented, unlike most rendering tools. It is content oriented, rather than style oriented, unlike most rendering tools. It uses a rubygems plugin system to provide a very flexible, and powerful system. Zenweb 3 was inspired by jekyll. The filesystem layout is similar to jekyll’s layout, but zenweb isn’t focused on blogs. It can do any sort of website just fine. Zenweb uses rake to handle dependencies. As a result, scanning a website and regenerating incrementally is…
  • minitest-bisect version 1.2.1 has been released!

    ryan davis
    12 Dec 2014 | 6:05 pm
    Hunting down random test failures can be very very difficult, sometimes impossible, but minitest-bisect makes it easy. minitest-bisect helps you isolate and debug random test failures. If your tests only fail randomly, you can reproduce the error consistently by using --seed <num>, but what then? How do you figure out which combination of tests out of hundreds are responsible for the failure? You know which test is failing, but what others are causing it to fail or were helping it succeed in a different order? That’s what minitest-bisect does best. Changes: 1.2.1 / 2014-12-12 1…
  • minitest version 5.5.0 has been released!

    ryan davis
    12 Dec 2014 | 3:19 pm
    minitest provides a complete suite of testing facilities supporting TDD, BDD, mocking, and benchmarking. "I had a class with Jim Weirich on testing last week and we were allowed to choose our testing frameworks. Kirk Haines and I were paired up and we cracked open the code for a few test frameworks... I MUST say that minitest is *very* readable / understandable compared to the 'other two' options we looked at. Nicely done and thank you for helping us keep our mental sanity." -- Wayne E. Seguin minitest/unit is a small and incredibly fast unit testing framework. It provides a rich set of…
  • graph version 2.8.0 has been released!

    ryan davis
    9 Dec 2014 | 7:52 pm
    Graph is a type of hash that outputs in graphviz’s dot format. It comes with a command-line interface that is easily pluggable. It ships with plugins to graph dependencies and status of installed rubygems, rake tasks, homebrew ports, mac ports, and freebsd ports, coloring leaf nodes blue, outdated nodes red, and outdated leaf nodes purple (red+blue). OSX quick tip: % sudo gem install graph --development % sudo brew install graphviz % gem unpack graph % cd graph* % rake gallery % open gallery/*.png Changes: 2.8.0 / 2014-12-09 1 minor enhancement: Added Edge#decorate. (thagomizer) 1 bug…
 
  • add this feed to my.Alltop

    Saturn Flyer with Jim Gay

  • Preferring value objects or setters and arguments

    15 Dec 2014 | 4:00 pm
    The problem with programming can be that there are so many ways to solve a problem. For each solution there are arguments for it and arguments against it. In recent articles I’ve written about moving responsibilities into a template object and out of the objects which use them for display. When the template code first began, its use was extremely simple: class Address def display(template) template.display_address(self) end end By making changes to the template to allow for shared behavior among different types of templates, the way in which our Address class used it became a bit more…
  • Managing change using a common interface

    8 Dec 2014 | 4:00 pm
    In a previous article I showed a way to move display code into a template object to manage missing data. Here’s what the basic template code looked like: class Template def display_address(address) province_and_postal_code = [address.province, address.postal_code].compact.join(' ') province_and_postal_code = nil if province_and_postal_code.empty? city_province_postal_code = [address.city, province_and_postal_code].compact.join(', ') city_province_postal_code = nil if city_province_postal_code.empty? [address.street, city_province_postal_code].compact.join("\n") end end That’s…
  • Forwarding messages with Tell, Don't Ask

    2 Dec 2014 | 7:27 am
    My avid use of Forwardable helps me simplify my code to raise up the important parts. When things still end up too complicated, I can reach for null objects to ease my commands into place. class Person def initialize(address) @address = address end def address @address || DefaultAddress.new end end As we’ve seen in this code, any Person object will always have an address, but what I do with that Person or address is what can cause some problems in the future. Displaying an address can sometimes be a complicated matter. Asking for too much In the case of displaying the address for a…
  • Clean Ruby 1.0 is released!

    22 Nov 2014 | 9:52 am
    I’m excited to be able to call Clean Ruby “final”. The compliments to that work have been great. Here’s just a few comments I’ve received for Clean Ruby: “The current version of Clean Ruby is a great start on a critical topic. Learning how to keep code clear and understandable is useful for any kind of project. I’ve already applied a couple of ideas from the book to keep a project from mumbling in the shadows.” —David Richards “I have not come across such a revelatory approach to things since first learning OOP.” —Mike Pence…
  • Avoiding errors when forwarding to missing objects

    20 Nov 2014 | 4:00 pm
    The “final” update for Clean Ruby will be released soon. More on that below, but first here are some thoughts on what to do when you’ve got a missing object. The Ruby standard library Forwardable is really useful for raising up valuable information and hiding unimportant details. A single line of code can configure the relationship between two objects and the data they share. delegate [:street, :city, :state] => :address I’m often asked: what happens if that address is nil? In this case, you’ll see an error about an undefined method on nil: NoMethodError:…
  • add this feed to my.Alltop

    Vinsol - Ruby on Rails, iOS, Android Consulting and Development

  • Droidcon India 2014 Experience

    alok
    11 Dec 2014 | 7:51 am
    Last week we attended Droidcon 2014, held in Bengaluru. First thing we noticed was that we had underestimated it a lot. The event was humongous. With around 250-300 attendees, most of which were either cream Android devs or entrepreneurs. The content selection panel as well seemed to have done a great job. Topics ranged from core technical (hacking through Android source code) to all the way upto UI centric stuffs (delightful user experience). The speakers were highly experienced and most of them were either business owners or with hands-on experience in product development. Even the…
  • Tips for Designers: from a Developer

    alok
    20 Nov 2014 | 2:44 am
    Android is a versatile OS with more than 1000 device manufacturers and more than 18000 distinct devices. Screen size of android phones vary from 2.6” – 6” and the resolution of screen ranges from 240 X 320 to 1440 X 2560 px with screen density from 120 to 640 dpi (ldpi to xxxhdpi). It is difficult for designers to create such designs which work well on all these devices irrespective of the size, density and aspect ratio of device and still stay developer friendly. In this blogpost I will discuss some useful techniques that ease out the painful design implementation in Android…
  • Communication patterns for application components

    achin
    4 Nov 2014 | 5:34 am
    Activities, services, fragments, helper classes etc. are main components of Android applications but its tricky to establish communication between these components. It’s tricky when one cares about writing reusable code – loosely coupled, plug-n-play-able. The goal here is to avoid tight coupling. Tight coupling – Components keep references of each other and call methods on them directly. In the code below, we are keeping a reference of MagazineActivity inside MenuFragment. So, MenuFragment is tightly coupled with MagazineActivity i.e., it cannot function without MagazineActivity.
  • Fragment view state retention: A dirty solution

    achin
    22 Oct 2014 | 3:40 am
    This is the last part of this 6 part series about Fragment Oriented Architecture in Android applications. In the previous post I talked about managing sessions in fragment oriented application. In this post I am going to talk about retaining view hierarchy of a Fragment after removing it from container and then coming back to it by popping the backstack. (Sample application’s source code and README) When a fragment gets replaced by another fragment and the transaction is added to back stack, the expectation after a popBackStack() is to return to the previous fragment with its UI state…
  • Session Management

    achin
    22 Oct 2014 | 3:29 am
    This is the fifth part of a 6 posts series on Fragment oriented application architecture. In the previous post I talked about efficiently handling back button press inside fragment. In this part I am going to talk about session management in Fragment oriented application, by explaining integration of Facebook SDK. (Sample application’s source code and README) In a fragment oriented application, we can conveniently manage all session related code in the activity and all its fragments would utilise it. Facebook SDK is quite in sync with this approach. Implementation of Facebook session…
  • add this feed to my.Alltop

    Ruby-coloured glasses

  • Link: run in with turbolinks

    Taryn East
    30 Nov 2014 | 12:24 am
    A quick link today to an article on turbolinks. It includes a couple of different levels of work-around snippets when adding javascripty functionality to your own links so it's pretty useful. Rails 4: My First Run-in with Turbolinks
  • Generate a subset of pseudo-random permutations in non mega-huge time

    Taryn East
    23 Nov 2014 | 6:38 pm
    One of the neat things about sending packages via sendle is that you don't have to print out a label or even know the address of your recipient (this is done so the recipient can keep their address private if they want). Instead, we give the sender a pair of unique code-names to put onto the package. So instead of J Random Shop-assistant at EvilCorp getting your full address, instead you write something like "From: Golden Lion To: Red Tiger". It's fun, as well as effective - like secret-agent names. but it does present us with an interesting problem - how do we generate unique codenames for…
  • Link: Fundamental Guidelines Of E-Commerce Checkout Design

    Taryn East
    19 Nov 2014 | 11:03 pm
    "Here is the harsh reality of e-commerce websites: according to recent e-commerce studies, at least 59.8% of potential customers abandon their shopping cart (MarketingSherpa puts it at 59.8%, SeeWhy at 83% and MarketLive at 62.14%). The main question is why do customers abandon their shopping cart so often?" Fundamental Guidelines Of E-Commerce Checkout Design condenses a large study into usability into 11 really useful guidelines to make your checkout experience much more likely to convert. Here's a condensed, tl;dr version: But I totally recommend reading the whole thing - it's not that…
  • Link: Advisory locks in postgres

    Taryn East
    13 Nov 2014 | 4:44 pm
    Advisory locks in postgres "PostgreSQL provides various lock modes to control concurrent access to data in tables. Advisory locks provide a convenient way to obtain a lock from PostgreSQL that is completely application enforced, and will not block writes to the table." This is not like row-locking your tables, this is to help you ensure concurrency for certain parts of your application. eg that you only enter a complex, resource-intensive part of your codebase once across all your servers. Given that ruby basically isn't very threadsafe - this provides a mechanism for concurrency-locking that…
  • gotcha: redirecting through root-url fails to preserve anchor tag

    Taryn East
    7 Nov 2014 | 4:52 pm
    Interesting (and annoying). If you redirect to your root-path and pass it an anchor tag like "show-help" (in some controller) eg with redirect_to root_path(:anchor => 'show-help') It first redirects correctly to /#show-help but it then further redirects to your actual root url... and removes the anchor tag eg /my_dashboard My expectation would be that it would preserve the anchor tag... eg the final URL would be: /my_dashboard#show-help But of course, the browser doesn't actually send anchor tags to the server at all... which means that after the first request (to '/'), Rails never gets the…
 
  • add this feed to my.Alltop

    Ruby on Rails Blog

  • Face recognition in Ruby Using Kairos also Finding your celebrity-look-alike

    Shashank Singh
    19 Dec 2014 | 4:04 am
    Humans have an innate need to be identified with a group, that drives us to be an important part of something bigger than us. This implies a relationship that is greater than familiarity or acquaintances. “Facial structure” plays a big part in that identity, making online services like find-your-celebrity-look-alike a guaranteed success. Today, we are going to look under the figurative hood: How this technology works. We will be building a sample find-your-celebrity-look-alike application on Ruby using “Kairos”, a Third party face recognition api. With a simple example, we will…
  • Native Data-binding using JavaScript with observe

    Vinod Sobale
    17 Dec 2014 | 12:45 am
    We have always loved using MV* frameworks for data-binding. Well, we have our reasons. There was never an easy way to set event listeners on RAW objects and perform certain tasks. Thanks to the recent ECMASCRIPT’s (7.0) proposal, data-binding has never been so easy and best of all, without any help from any framework. Announcing Object/Array.observe Allow me to introduce you to a method that asynchronously keeps track of the changes to the data model or simply an array which allows you to perform certain tasks by providing a callback function every time it detects a change in your data…
  • 4 important concepts any front end developer should know

    Vinod Sobale
    20 Jul 2014 | 4:07 am
    Note: I picked these 4 concepts because I feel they would build a strong foundation of understanding for you and it is entirely my opinion and I also understand that every front end developer may not feel the same way. Also, the purpose of this article is to only briefly explain about these concepts so you can dig deeper when you know enough. Event Propagation Event Delegation Document Fragment CSS Specificity Let’s begin… Event Propagation Event dispatching in DOM tree – (image source – W3C) Event (event object) must determine the propagation path (refer to the…
  • Require.js with Rails

    Vinod Sobale
    15 Jul 2014 | 2:33 am
    If you know what require.js does and Ruby on Rails is your thing, then you have come to the right place. If not, I encourage you to read up on following topics: Modular approach to writing JavaScript AMD and JavaScript Dependency management, Module Loading and Lazy Loading Installation and Setup Add ‘requirejs-rails’ gem in the Gemfile of your project. It relieves you from some manual labour. Get rid of everything from your application.js which is located under /assets/javascripts/application.js Now locate your application layout under views/layouts/application.html.erb Replace your with…
  • Capacity: The biggest challenge for High Growth Companies

    Jinesh Parekh
    27 May 2014 | 1:08 am
    So you’ve just gotten 3M in funding. Is that good news? Here are the hypothetical terms of getting funding: You get your first 400K right now. That’s good news of course! You get  600K if you hit 100 paying customers in next 3 months and build 20 new features. This is bad news. You get other 1M if you hit your second milestone. Current Situation: Your team size is just three, two of you being the founders of the company. If you both sit and code then who will procure the 100 customers? Time to ramp up. And that is why it’s not so good news, but it’s bad news. As a…
Log in