Colin : The Rails console can be accessed a few ways but in a rails app it's a terminal command :
RAILS_ENV=development bundle exec rails c This will load the code and dependencies and give you a console. There are other ways to run code in situ, like the gem better_errors (with binding of caller) which will allow you to execute most commands in a browser like you would in a rails console session. On Sunday, June 7, 2015 at 8:39:56 AM UTC+1, Colin Law wrote: > > On 7 June 2015 at 08:00, Anonymity <[email protected] <javascript:>> > wrote: > > Hi Everyone, > > > > Here is the code I currently have: > > ... > > Also, how can I print a hash to the console without a key value? > > Is this to be part of a Rails application? You don't have a console > in a rails app, everything is done via the browser. > > Colin > -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/427a3816-ca47-4eac-8c4d-b961d0390977%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

