Ruby, Ruby on Rails, Ember, Elm, Phoenix, Elixir, React, Vue
-
Ruby on Rails and Phoenix Ecto Sharing A Database
I found a curious problem recently where I built what for the sake of argument we’ll call an “admin control panel” application in Ruby on Rails. The application was originally designed as an internal tool for a company. Eventually the company decided...
-
Code smell – Double dipping Ruby on Rails controller actions
Something that I’ve encountered on some Rails projects that I have inherited, or done work on is single controller actions that serve multiple request types – for example, a /contact route that handles both initially displaying a contact form, via...
-
Simplifying vendored JavaScript library installation with Bower and Bower-Rails
I’ve been working with Ember.js a fair bit lately, and have many maintenance-mode Ruby on Rails projects. Learning and working within the javascript ecosystem has provided a number of interesting ideas and approaches to bring back to new or existing...
-
Trigger Flexpaper Search and Jump To First Result on Page Load
I’m doing some interesting work for a client at the moment. The core feature is displaying PDFs using the Flexpaper PDF viewer.
Full text and advanced search
Outside of Flexpaper, the application features both full text and advanced search engines...
-
Translates To French gem
Six years ago I wrote a Rails plugin for a few websites I was working on that required basic French/English I18n from the database. Six years later, I’m gemifying the plugin.
Installation:
Gemfile:
gem 'translates_to_french'
Usage
app/models/article...
-
Ember.js, Ruby on Rails advanced Search with Ransack Part II
I wrote previously, when I was first beginning to learn Ember, about my efforts to incorporate advanced search into an application, using Ransack in my Ruby on Rails API.
I’ve continued to work on this, and have now added Ember’s query params– which...
-
Ruby on Rails – using Handlebars To Generate Bootstrap Modals
I’ve been learning Ember.js over the course of the past year and it’s given me ideas that I’ve been pleased to be able to use in Ruby on Rails projects as well; one such idea is using Handlebars.
I’ve been aware of JS templating languages for years...
-
Ember and Ruby on Rails Associated Record Problems
I’ve been learning Ember recently, using Rails as backend. Not having this one line in my application caused me a world of hurt: App.ApplicationSerializer = DS.ActiveModelSerializer.extend({}); I was going through all kinds of pain to force Ember to...
-
Ember.js and Cordova hybrid mobile app development
A client inquiry recently led me to research on developing a hybrid app. It’s something I have researched at a few points over the years so I wasn’t sure current options and best practices.
I’ve been working with Ember.js over the summer and it occurred...
-
Deploying Ruby on Rails To A New Digital Ocean or Linode VPS
Update April 6 2018 –– I would now recommend Nanobox for this type of deployment.
I’ve been looking recently for a better way of deploying new Rails apps to VPS – better that is than how I’ve done this on a few occasions in the past: apt-getting the...
- Page 4 of 11
- Next page
- Previous page