20 June 2013

The Ruby Reflector

Topic

Custom

  Source Favicon
By Mike Gunderloy of A Fresh Cup 4 months 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 Lee Atchison of New Relic 5 months ago.
Email

Creating a Custom Dashboard

Now that data is getting into New Relic, let's create a chart where we can view it. First, we'll create a new custom dashboard. From the Dashboards menu, click Create custom dashboard .

Enter a name for the new dashboard, choose a layout and click Create .

Next we'll create a new chart by filling in the following information in the chart configuration:

Make sure to add Custom/Visitor/BounceRate as the Metric , and select Average Value…

newrelic.com Read
  Source Favicon
By Nate Hunzaker of Viget.com Blogs 8 months 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 8 months 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 Bill Kayser of New Relic 9 months ago.
Email

…richer, useful metrics for DelayedJob workers, and the recently released Custom Dashboards allows you to to build a truly useful view for monitoring and troubleshooting your jobs.

Here's what it looks like:

This is a Custom Dashboard we built for our DelayedJobs workers running in production. Below, I'll show you the steps to create this in your own New Relic account. But first let me explain what we are looking at.

There are four graphs with data reported by …

newrelic.com Read
  Source Favicon
Email

…preparation, we are detailing these changes and, where appropriate, how you can override them using Custom Chef recipes.

As with any upgrade, these changes will not be applied to your environment until you select the upgrade option. Testing in Staging is always recommended prior to performing an Environment upgrade. If you have concerns with any of these changes please open a ticket with us so we can explore those with you. Unless otherwise mentioned these changes are planned for release …

engineyard.com Read
  Source Favicon
Email

…and drop, or instant copy an existing New Relic graph and boom — you've got a Custom Dashboard. This feature is only available to our Pro customers, so if you're not a Pro customer, sign up or upgrade today to get access to Custom Dashboards. Learn more about Custom Dashboards by reading this blog post .

Interested in more information on Engine Yard + New Relic? Check out our joint webcast: 6 Tips for Improving Ruby Application Performance …

engineyard.com Read
  Source Favicon
By Peter Cooper of Ruby Inside over 1 year ago.
Email

Factory Girl 2.5 Gets Custom Constructors

Media

RailsCasts: Upgrading to Rails 3.2

In the latest RailsCasts episode, Ryan Bates looks at the newly released Rails 3.2 and shows off some of its new features. Short and sweet in just 9 minutes.

Web Programming and Updating Frameworks with Yehuda Katz

The Ruby Rogues sit down with Yehuda Katz to discuss Web frameworks, JavaScript, Rails, Merb, Sinatra, Rack, and more. And just …

rubyinside.com Read
  Source Favicon
By José Valim of Plataformatec Blog over 1 year ago.
Email

4) Custom partial paths

In order to render a partial for a given model, Rails 3.0 retrieved the partial name by calling: model.class.model name.partial path . Grant Hutchins & Peter Jaros noticed that this was not very flexible because the class was responsible to define the partial path and therefore they decided to move this responsibility to the instance. In order to better understand how you can use this feature, let's consider the following practical example. …

blog.plataformatec.com.br Read