If you use the command line and frequent a particular directory you can set cd to scan, not just current, but other directories as well.
What to do when you encounter:
ActiveRecord::StatementInvalid: Mysql2::Error: Lock wait timeout exceeded;
Create a bootable USB drive, for installing Linux, on your Mac.
Group assign any git repository, on any git provider, and for as many remotes as you wish.
The following steps are meant to capture a snapshot of your development database structure and your staging/production database structure, compare the two, and provide SQL to consolidate the differences.
When a database key is created from a combination of two or more columns, the key is called a composite key. Each column may not be unique by itself within the database table but when combined with the other column(s) in the composite key, the combination is unique.
Request users by radial distance and sort by nearest to farthest, vice versa, or whatever other attributes you’d like to include.
Separate CSV data with a special character (example: thorn þ).
Overrides some basic Active Record methods for the current model so that calling #destroy sets a deleted_at field to the current timestamp.
As a web developer, I have to use
You need to construct an array using a list of pre-existing values but firstly have to sort the order of that list.
Eloquent Ruby is a book about the Ruby programming language that focuses on Ruby programming style by teaching you how to write your code as a real world hardened Rubyist.
If you’d like to send a TXT message through email rather than use a SaaS application, such as Twilio, you can send SMS messages through SMTP.
An Active Record -like localStorage Object-Relational Mapping library.
As a developer who likes to spend more time with beautiful object-oriented code rather than mark-up, DataTables is a wonderful tool for me, with a growing list of extendable features.
Add special notes to your source code comments in Rails to later remind you of tasks you need to complete:
Apps that have scaled the number of web dynos (dynos running the web process type) so that only a single web dyno is running, will have that web dyno idled out after one hour of inactivity. When this happens, you’ll see the following in your logs:
When you need to debug a Java applet running on your website, there’s only one way, and that’s with Mac’s built-in Java console.