[Rails] Secrets decryption error appeared (ActiveSupport::MessageEncryptor::InvalidMessage)

2018-04-12 Thread thomas
Hi, How to fix the recent error regarding rails secrets encryption and ruby? I have one container running since week start that allows we to "rails secrets:edit" successfully. Today, if I carbon copy the source code, do new bundle install and secrets fail. What is going on? Message from

[Rails] Re: SEEKING RoR developers

2018-04-12 Thread kaine wright
Hi Sergio id be very interested im average at rails but learn fast but i work with arduino's and raspberry pi's quite often. One of my latest projects was figuring out the best way to control a drone using 4g cellular data a modified version of MultiWii. My linkedin here

Re: [Rails] Re: Looping and selecting

2018-04-12 Thread Colin Law
On 12 April 2018 at 14:27, kaine wright wrote: > > > On Wednesday, April 11, 2018 at 7:10:53 PM UTC+8, dasibre wrote: >> >> How are you looping through the result. When you say you are unable to >> loop through, what do you mean exactly, what error are you getting >> > >

[Rails] Re: Looping and selecting

2018-04-12 Thread kaine wright
In my pagecontentController i have index and show. for index its def index @keyword = "Arduino" webhoseio = Webhoseio.new(' # { ENV [ ' APIKEY2 ' ] } ' ) @output = webhoseio.query('productFilter', {'q': @keyword}) end def show @output['products'][:id] end

[Rails] Re: Looping and selecting

2018-04-12 Thread kaine wright
On Wednesday, April 11, 2018 at 7:10:53 PM UTC+8, dasibre wrote: > > How are you looping through the result. When you say you are unable to > loop through, what do you mean exactly, what error are you getting > > Hi thanks for the reply. Ive been trying to loop through like so <%

Re: [Rails] Looping and selecting

2018-04-12 Thread kaine wright
Hi thanks for the reply id over looked that completely. what solved this was @output['products'][0]['images'].first -- 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