[Rails] Just Another ActiveRecord::ConnectionNotEstablished Question

2015-12-04 Thread Ben Thomas
I am trying to follow RESTful Rails Development from O'Reilly by Silvia Puglisi. I have created an app (wikicat), database (MySQL), models (category and link), controllers (CategoryController show) and routes. I have followed everything that the book said (taking in to consideration the published

[Rails] datetime_select and time zones

2015-12-04 Thread Lilinye
I am writing a simple calendar app and having troubles with time zones. For as many nice Date and Time helpers, action view and active record sure don't play nice with time zones. I have an appointment model with the appointment_time attribute which is a datetime. My current issue is edit

[Rails] How to use datetime_select to edit an existing model record, that takes in account for time zones?

2015-12-04 Thread Lilinye
I am trying to write a simple calendar app and having troubles with time zones. For as many nice Date and Time helpers, action view and active record sure don't play nice with time zones. I have an appointment model with the appointment_time attribute which is a datetime. My current issue is

[Rails] Re: Faild to build RMagick

2015-12-04 Thread Yuri Redaelli
Marco Antonio Almeida wrote in post #1179662: > Hi Yuri, > > Maybe you're missing to accept the terms in Xcode. Open the program and > see > if it shows a license for you to accept. > > If this don't work you might want to try to install the command line > tools > from the apple developers site: ht

[Rails] Re: Faild to build RMagick

2015-12-04 Thread Yuri Redaelli
I don't understand what is "Development tool" about the phrase: ... "You have to install development tools first" ... It'a about XCode or about a particular missing Libray? Thanks again. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the

Re: [Rails] Faild to build RMagick

2015-12-04 Thread Marco Antonio Almeida
Hi Yuri, Maybe you're missing to accept the terms in Xcode. Open the program and see if it shows a license for you to accept. If this don't work you might want to try to install the command line tools from the apple developers site: https://developer.apple.com. Look for "Command Line Tools (OS X

[Rails] Faild to build RMagick

2015-12-04 Thread Yuri Redaelli
Hi all, for first sorry for my english. Recently I've updated my Mac to El Capitan and re-installed (with Homebrew) ImageMagick 6.9.2-7 Unfortunately bundle install seems doesn't work becaus RMagick fail to build. Here the stack trace: [CODE] Gem::Ext::BuildError: ERROR: Failed to build gem na

Re: [Rails] Re: Turbolinks not working

2015-12-04 Thread Colin Law
On 3 December 2015 at 15:59, Jeremy Montesinos wrote: > Up ! For me, at least, you have still not provided enough information to work out exactly what your problem is. I don't know whether you are saying that your erb source is not producing the correct html (but you have not shown the erb sourc