Thoughtbot, Ruby development shop, creators of Hoptoad, and purveyor of fine open sources have just released Copycopter, a nifty way you can offload copy changes to your clients. Copycopter piggy-backs off of Rails il8n to let you refer to text by key in your app and update that text live via a web interface.
… and run
bundle install as usual.
Next, create a Rails initializer at
config/initializers/copycopter.rb with the following:
CopycopterClient.configure do |config| config.api_key = "YOUR API KEY HERE" end
Now you can start referencing text by key with the built-in
# view <%= t(".tagline", :default => "Open Source moves fast. Keep up.") %> # controller def index flash[:success] = t("giant.greeting", :default => "Fee fi fo fum") end
Be sure and check out the Readme for more usage.