Articles

ActiveScaffold - Example of using Roles for security

Recently I was ask for examples of using rolerequirement with activescaffod,
so here is the examples.

For security, two areas to consider.

1. Manage what menus appear.
2. Verify access in controllers.

You can also control what columns appear, and what actions are available as well.  While I have done this all in one controller, to follow DRY, I find that having a adminspace controller, and a userspace controller a bit cleaner.

Introducing FlexibleCSV

Get FlexibleCSV from GitHub

Restore the deleted files with GIT

Today, it was a shock, that I have deleted few files without my knowledge. Fortunately, before deleting I had committed the files and so no much of tension. You can use the following commands to restore it.

View the list of deleted files:

1
git ls-files -d

This will list the deleted file and lets restore it now.

PayPal Integration

Meta Templates For Github Pages

Whether you know it or not, your Github pages, blog or project pages, get piped through Jekyll. Jekyll’s great at generating a site from templates. But what happens when you need to generate those templates from templates?

Original Author Name: 
Gabriel Horner

what git is not

There are obviously many reasons why Git is awesome (and why it sucks too), and there comes a point where it helps to dispel some of the rumors and issues surrounding Git. The following list attempts to show what Git is not. If you have your own reasons, feel free to contribute them to the comments and they may be added in.

Concept to customers: go go go -- 10 steps to svelte development

Two weeks ago [my team] had an idea. Today, we made money on it.

I’m super proud of how fast this went.

I know so many sites that spend over a year even in pre-beta, I don’t understand why.

Here’s how we did it.

Skip beta

We spent zero time in beta. We basically just setup the production site, then developed on that until we were ready to send out marketing e-mails. Because of this, we spent no time moving everything to a production site and getting it configured.

Rails wtf

I just realized there’s a Rails WTF

By far the biggest wtf is this post

Not the code, but the conversation / things said in reverse etc…

Other gems include:

Rails Envy Podcast - Episode #067: 02/18/2009

Episode 067. Awkward secrets.

Turning Off Webrat’s Automatic Browser Opening

If you’re using webrat for doing your integration testing with Rails and you’re on OS X you may notice that webrat opens an html version of the failing test every time you run it. This can be fairly annoying if you’re running autotest. I didn’t see how to turn it off in the documentation but I found on this page that you can turn it off by doing the following:

Jake Scruggs | Rails Fire

Jake Scruggs

Rails Envy Podcast - Episode #083: 06/17/2009

Episode 83. It's a double feature this week, folks! This week, Obie Fernandez from Hashrocket (check out that snazzy new site) joins me as a co-host. This is both the longest Rails Envy podcast ever and the most bleeped out. It's also full of the usual great Ruby and Rails news and gems.

Rails Envy Podcast – Episode #083: 06/17/2009

Episode 83. It’s a double feature this week, folks! This week, Obie Fernandez from Hashrocket (check out that snazzy new site) joins me as a co-host. This is both the longest Rails Envy podcast ever and the most bleeped out. It’s also full of the usual great Ruby and Rails news and gems.

RailsConf 2009 Day Two

Day Two got off to a good start. Engine Yard did a promotional pitch—the speakers could have been a bit more polished, but it was interesting stuff about their one-button-deployment, and overall not bad for an advertisement.

Syndicate content