Effective development with Rails console

$0+
7 ratings

Effective development with Rails console is a small and up-to-date book about tricks that you can perform in Rails console. Make your developer life a bit easier with it.


Contents

Inspecting methods

  • Finding where the given method was defined

  • Rendering the source of method

  • Searching for methods

Playing with Active Record

  • Sandbox mode

  • Execute any SQL query

  • Reload current record

  • Inspecting tables in the database

Playing with Rails environment

  • Inspect helper methods

  • Inspect paths

  • Inspecting rake tasks

  • Reflecting changes in the code

Making work with console more comfortable

  • Accessing the last returned value

  • Silence SQL logs when executing queries

  • Switch the current context

  • Inspect any class or object

  • Output object in the YAML format

  • Temporary alter any method of the object

  • Make your own methods available in the console by default

Follow https://twitter.com/longliveruby for more tasty Ruby bits!

Some of the happy developers:


$
I want this!
535 downloads

You will receive the book in the PDF version.

Length
16 pages
Ruby
3.1.0
Rails
7.0.1
Size
379 KB
Length
16 pages
Copy product URL

Ratings

5
(7 ratings)
5 stars
100%
4 stars
0%
3 stars
0%
2 stars
0%
1 star
0%
$0+

Effective development with Rails console

7 ratings
I want this!