19 April 2014

The Ruby Reflector

Topic

Custom

  Source Favicon
By Patrick of Kalzumeus Software 15 days ago.
Email

Priority support Onboarding consultation Onboarding consultation Custom legal / compliance documentation POs & etc

That's the offering at a glance. What changed?

We're de-emphasizing "count your bytes" as a segmentation engine. I picked 10 GB for Tarsnap Professional because it feels like it is suitably generous for most backup needs but could plausibly be exceeded for larger "we want our entire infrastructure to be Tarsnapped" deployments. Importantly, …

kalzumeus.com Read
  Source Favicon
By Marcus of New Relic 25 days ago.
Email
  Source Favicon
By Christine Sotelo of New Relic 1 month ago.
Email

Adding a chart to a Custom Dashboard from anywhere in New Relic is super easy. See a chart you like on your mobile app, server or plugin overview page? Simply hover over the chart and click Add to dashboard , and - voilà! - the chart is now on your Custom Dashboard.

Custom Dashboards are available to all New Relic users except Lite customers. So if you're currently a Lite customer, upgrade today to join in on the fun!

The post Track Trends Faster and Easier With …

newrelic.com Read
  Source Favicon
By Courtney of Transcending Frontiers 2 months ago.
Email

…the examples of how ivars are used to link the controller and template look like this: def show @ customer = find_customer end

def update @ customer = find_customer # more stuff down here end

I suspect that the abuse of before_filter started, or at least became popular when gems like CanCan started to emerge. For those unfamiliar, CanCan provides a method called load_and_authorize_resouce which does pretty much exactly what it says it does. It loads a resource then authorizes …

thefrontiergroup.com.au Read
  Source Favicon
By Paul Gross of Paul Gross's Blog 7 months ago.
Email

class CustomerController < ApplicationController def show @ customer = Customer. where ( :token => params [ :token ] ) . first end end

This innocuous looking code has a big problem. If the token in the URL is for the wrong merchant, the code will happily show it to the end user. The simple fix is to use something like this instead (assuming we've already looked up the user's merchant):

@ customer = @ merchant . customers . where ( :token => params [ :token ] ) …

pgrs.net Read
  Source Favicon
By Todd Hoff of High Scalability 7 months ago.
Email

…: Netflix streams 114,000 years of video every month; Custom build Netflix boxes for its content-delivery network that contain between 100 and 150 terabytes of storage apiece; Netflix accounts for 35 percent of all web traffic; An unnamed social network recently purchased 85 petabytes of storage from EMC; Blogging platform WordPress now underpins nearly 20 percent of the world's blogs; Felix Baumgartner's record-breaking jump last year generated 8 million …

highscalability.com Read
  Source Favicon
By Mike Gunderloy of A Fresh Cup 1 year ago.
Email

Comix I/O - Custom editor for xkcd-like comics with HTML markup.

Did Rails Have a Major Security Flaw Today? - Cute response to the recent spate of upgrades.

bundler-audit - Utility to check your gemfile for known bad versions.

Mousetrap-Rails - Javascript keyboard shortcuts in the asset pipeline.

afreshcup.com Read
  Source Favicon
Email

Custom Builds and Platform Support - Sometimes MySQL or Percona Server is not available for the platform you're using. Other times you need a custom build with special compile time settings. Using Percona MySQL Server Development Services to do this work will ensure you get an optimal and tested build. We have seen many cases when compilation would be either done with settings for poor performance (such as debugging code enabled) or going overboard with unsafe optimization and not …

mysqlperformanceblog.com Read
  Source Favicon
By Nate Hunzaker of Viget.com Blogs over 1 year ago.
Email

The Custom Reporter

Now that tests have been created a method of communicating the results back to PhantomJS need to be added. With Mocha this is done through reporters , which listen to activities that occur during the testing process and provide feedback to the tester.

Reporters involve a lot of framework specific code that isn't completely relevent to this article so I've included this reporter in the following Github Gist . For those of you interested …

viget.com Read
  Source Favicon
By Nate Hunzaker of Viget.com Blogs over 1 year ago.
Email

The Custom Reporter

Now that tests have been created a method of communicating the results back to PhantomJS need to be added. With Mocha this is done through reporters , which listen to activities that occur during the testing process and provide feedback to the tester.

Reporters involve a lot of framework specific code that isn't completely relevent to this article so I've included this reporter in the following Github Gist . For those of you interested …

viget.com Read