I needed to copy a Postgres database from the dev environment on my previous laptop to my current laptop. The process was relatively easy.Continue reading
Some dates will need to be stored in a date time format. This does not pose a problem when you are searching for dates equal to or greater than a specific date. You also avoid problems if you are storing dates in a date format.
However, if you search for a date less than or equal to a specific date using a datetime column, your results do not include that date. In other words, if you set up a search to show you everything where the date in question was less than or equal to 3/25/2016 you would not get any records where the date was 3/25/2016.
Accessing an external sql database from a rails app where the schema prefix differs from the schema prefix used for the app’s tables.
This covers a situation where you need to have rails access an external sql database other than the database used for the application. For example, you might need to pull information from one table to populate fields in your current application. This is further complicated if your application is using a schema prefix.Continue reading No tags for this post.