Page 1 of 2 | Next »
[05:30:02] sbhatore: I'm getting error if I go by these instructions https://github.com/rubycas/rubycas-client
[05:42:17] sbhatore: SteenJobs: undefined method `before' for CASClient::Frameworks::Rails::Filter:Class
[17:52:36] sbhatore: Hi! Can someone please tell me if you are getting error on testing 'activesupport/test/message_encryptor_test.rb' of master branch of rails ?
[23:29:27] sbhatore: We don't need the return values of the private functions of an API to be the same as that of previous version to maintain backwards compatibility, right ?
[16:30:01] sbhatore: and gives this error: OpenSSL::Cipher::CipherError: in the decipher.final. Can someone help me with this please, on how to make the gcm encryption work. It encrypts perfectly, but gives the above error in decryption.
[16:30:01] sbhatore: Hey! This is a question regarding aes-256-gcm encryption algorithm. The function p2 works in the case of aes-256-cbc algorithm
[16:34:30] sbhatore: and gives this error: OpenSSL::Cipher::CipherError: in the decipher.final. Can someone help me with this please, on how to make the gcm encryption work. It encrypts perfectly, but gives the above error in decryption part.
[16:34:30] sbhatore: Hey! This is a question regarding aes-256-gcm encryption algorithm. The function p2 works in the case of aes-256-cbc algorithm
[16:42:04] sbhatore: havenwood: Thanks a bunch. You saved my day :) I think I did the tag think incorrectly before
[17:10:16] sbhatore: https://tools.ietf.org/html/draft-ietf-jose-json-web-algorithms-40#section-4.5. Does anyone know what an 'empty octet sequence' is in the 4th line of section 4.5 and how to create one ?
[18:57:12] sbhatore: hey! what does a function starting with _(underscore) convey or when is it used ?
[18:59:36] sbhatore: jhass: yeah! have a look at this, https://github.com/rails/rails/blob/master/activesupport/lib/active_support/message_encryptor.rb
[19:07:38] sbhatore: jhass: hmmm...I see. This has to be the reason for it. Thanks :) and u too ljarvis
[15:51:40] sbhatore: I want it. But I need to pass a hash along with the mandatory 'val' . Can someone help me on this ?
[15:51:40] sbhatore: hey! I want to write a function something like this. https://gist.github.com/sbhatore/3f9fc14467af0f97d12d . i.e. I want to pass a mandatory key and some more (key, value) pairs. But the above code doesn't work. There is a syntax error "syntax error, unexpected ')', expecting =>". If instead of passing hash variable, I simply do this: https://gist.github.com/sbhatore/0e39ae30957c45fb6b10 , then it works like
[20:43:21] sbhatore: then it works like I want it. But I need to pass a hash along with the mandatory 'val' . Can someone help me on this ?
[20:43:21] sbhatore: . i.e. I want to pass a mandatory key and some more (key, value) pairs. But the above code doesn't work. There is a syntax error "syntax error, unexpected ')', expecting =>". If instead of passing hash variable, I simply do https://gist.github.com/sbhatore/0e39ae30957c45fb6b10
[17:39:45] sbhatore: Hey, I'm contributing to rails, and I am a beginner. When are we supposed to use double quoted strings and where single quoted ? Seems like single quoted is preferred for stringified Hashes, etc. Can someone pour some more light on the matter ?
[00:02:22] sbhatore: jfarmer: I will be more specific. https://gist.github.com/sbhatore/7a497ad2e11359e60c06#file-gistfile1-rb-L67. In this, "inline the options variable" is what I am looking for
[00:06:42] sbhatore: jfarmer: smathy: I've been told to do so in this line too https://gist.github.com/sbhatore/7a497ad2e11359e60c06#file-gistfile1-rb-L60. I think I'l go by your instincts, it seems the correct choice :).
[05:16:39] sbhatore: hey! I want to do testing in the development environment of ROR. What is the command to run tests for a specific file, say "file_test.rb" ?
[05:26:40] sbhatore: Radar: Hey! I am new to testing. I just want to run tests for a file. suppose I want to run tests for this file, https://github.com/rails/rails/blob/master/actionpack/test/assertions/response_assertions_test.rb . I have setup the dev envrionment for rails. Also, I don't know about the test environment. Please help.
[12:00:05] sbhatore: hey! I have made some changes in the codebase of rails and the gemfile.lock file was modified in the process. Do I need to commit it or its not needed ? There is something written about upgrading in the contribution guide but its not clear http://guides.rubyonrails.org/contributing_to_ruby_on_rails.html
[16:35:16] sbhatore: Hey! Can someone explain me the difference b/w the two functions, say foo and foo! in ruby ?
[16:57:06] sbhatore: smathy: so, for this function(https://gist.github.com/sbhatore/5a1104b1810e446caae3), if I remove the ! , then exception won't be raised, right ? But it is raising the exception regardless of the ! . Is using ! helpful in this function ?
[23:58:39] sbhatore: jfarmer: Maybe its related to rails. I've been told to "inline the variable". I am contributing to ruby on rails and it was discussed there