Ruby and Rails Blog https://rubyandrails.net This is where diamonds exists Mon, 22 Jan 2024 14:24:50 +0000 en-US hourly 1 https://wordpress.org/?v=6.4.3 195321763 Ruby and Rails Backup and Restore My SQL DB https://rubyandrails.net/ruby-and-rails-backup-and-restore-my-sql-db/ Mon, 22 Jan 2024 14:24:50 +0000 https://rubyandrails.net/?p=1237 To backup:

 mysqldump -u user -p DATABASE > backup.sql

To import:

 mysql -u user -p DATABASE < backup.sql
]]>
1237
Ruby on Rails exporting data https://rubyandrails.net/ruby-on-rails-exporting-data/ Mon, 22 Jan 2024 14:23:40 +0000 https://rubyandrails.net/?p=1234

I got a rails site and a mysql db. I need to perform archiving one of my models. What are my options? does rails got some built in capabilities? does mysql got any?

Source: Ruby on Rails exporting data

]]>
1234
increasing-the-amount-of-inotify-watchers https://rubyandrails.net/increasing-the-amount-of-inotify-watchers/ Sat, 13 Jan 2024 10:42:22 +0000 https://rubyandrails.net/?p=1229 https://github.com/guard/listen/blob/master/README.md#increasing-the-amount-of-inotify-watchers

]]>
1229
GitHub – rvm/ubuntu_rvm: Ubuntu package for RVM https://rubyandrails.net/github-rvm-ubuntu_rvm-ubuntu-package-for-rvm/ Fri, 12 Jan 2024 05:46:06 +0000 https://rubyandrails.net/?p=1225

Ubuntu package for RVM. Contribute to rvm/ubuntu_rvm development by creating an account on GitHub.

Source: GitHub – rvm/ubuntu_rvm: Ubuntu package for RVM

]]>
1225
How-to resolve issue with -J10 Error https://rubyandrails.net/how-to-resolve-issue-with-j10-error/ Fri, 12 Jan 2024 05:45:10 +0000 https://rubyandrails.net/?p=1222

How to Fix J10 Error

https://www.blogarama.com/technology-blogs/247250-g33ktricks-source-tips-tricks-blog/43639289-resolve-ruby-error-running-rvmmake-j10-macbook/

]]>
1222
How to change the Ruby version in Gemfile https://rubyandrails.net/how-to-change-the-ruby-version-in-gemfile/ Fri, 12 Jan 2024 05:43:24 +0000 https://rubyandrails.net/?p=1218

Source: How to change the Ruby version in Gemfile

]]>
1218
How-to setup Ruby Environment https://rubyandrails.net/how-to-setup-ruby-environment/ Fri, 12 Jan 2024 05:42:36 +0000 https://rubyandrails.net/?p=1215

Install tools and configure your computer for Ruby application development.

https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/ruby-development-environment.html

]]>
1215
PostgreSQL In Windows Subsystem for Linux (WSL) https://rubyandrails.net/postgresql-in-windows-subsystem-for-linux-wsl/ Fri, 12 Jan 2024 05:40:23 +0000 https://rubyandrails.net/?p=1210

To start refresh clean up the previous install usingĀ :

Source: PostgreSQL In Windows Subsystem for Linux (WSL)

]]>
1210
How-to update Ruby Gems https://rubyandrails.net/how-to-update-ruby-gems/ Fri, 12 Jan 2024 05:39:44 +0000 https://rubyandrails.net/?p=1207

How-to update ruby gems

https://www.moncefbelyamani.com/how-to-update-gems-in-your-gemfile/

]]>
1207
Ruby: SQLite3::BusyException: database is locked: https://rubyandrails.net/ruby-sqlite3busyexception-database-is-locked/ Wed, 10 Jan 2024 16:31:00 +0000 https://rubyandrails.net/?p=1199

Source: Ruby: SQLite3::BusyException: database is locked:

]]>
1199