December 16, 2015

Update for Ripsum

Tonight, I released version 0.1.2 of the Ripsum gem. This version adds a new feature to the gem, a configurable library of words. The user can now pass in their own choice of placeholder text. Hipster Ipsum. Zombie Ipsum. Harry Potter Ipsum. Whatever you choose.

This is done by adding an initializer file in your application. If you're using Rails, creating a new file in config/initializers/ directory, perhaps named ripsum_initializer.rb and adding a configuration block to the file like so:

Ripsum.configure do |config|
  config.library = "Your string of words here. You probably want a couple hundred words or more. Give yourself some variety."
end

Restart your server and boom, Ripsum is using your library of words to stress test your designs.

Categories
Web Development
Previous Post: Using && and || in Bash Scripts
Next Post: Ripsum
Kyle Shevlin's face, which is mostly a beard with eyes
Kyle Shevlin is a front end web developer and software engineer who specializes in JavaScript and React.

If you enjoyed reading this blog post and want more, consider signing up for my newsletter. Subscribers get advanced updates on things like blog posts, courses, apps, podcasts and other material that I create. Think you might like it.

Sign Up Now