Re: [Rails] Re: Can I have Ruby on Rails without json

2012-10-03 Thread roelof
Hello, I can be found at /usr/bin but the gem looks at /bin. No idea how to solve this except making a softlink but that's more a work around then a real solution to the problem. Roelof Op dinsdag 2 oktober 2012 22:00:25 UTC+2 schreef Colin Law het volgende: On 2 October 2012 20:50,

[Rails] [ANN] Jail : Put all your Assets in Rails !

2012-10-03 Thread Charly
Copying, pasting, 'curling', running after all those jquery-plugin files, trying to keep track, loosing them, pulling your hair off. This must stop ! Put all your jquery plugins (or any other assets) in rails once and for allhttps://github.com/charly/jail . -- You received this message

[Rails] Re: global methods under object supposedly unaccessible

2012-10-03 Thread Frederick Cheung
On Wednesday, October 3, 2012 6:08:31 AM UTC+1, John Merlino wrote: However, in the above example, I was forced to use the private method. The documentation says any global methods declared outside of a class definition - those methods are defined as private instance methods of Object.

[Rails] Rails Default ETag Generation

2012-10-03 Thread jcoleman
How does Rails generate ETags by default? I've got config.action_controller. perform_caching set to true in production so that I can use page-level caching in a few specific places, but it seems that Rails is automatically setting ETags on *all* responses even though I'm not using fresh_when or

[Rails] Anybody running Rails on eCryptFS

2012-10-03 Thread Jarl Friis
If anyone is using Rails on eCryptFS then this Pull Request might have interest Currently Rails fails (in a rare sistuation) on eCryptFS The Pull Request solves that problem. Jarl -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post

Re: [Rails] Re: Can I have Ruby on Rails without json

2012-10-03 Thread Colin Law
On 3 October 2012 07:39, roelof rwob...@hotmail.com wrote: Hello, I can be found at /usr/bin but the gem looks at /bin. No idea how to solve this except making a softlink but that's more a work around then a real solution to the problem. You might be better asking on a chakra linux forum as

Re: [Rails] Re: Can I have Ruby on Rails without json

2012-10-03 Thread roelof
Fine, The Chakra people say it a json gem problem and say goto the maintainer or the Ror community. And the community says it's a chakra problem. Roelof Op woensdag 3 oktober 2012 11:39:51 UTC+2 schreef Colin Law het volgende: On 3 October 2012 07:39, roelof rwo...@hotmail.com javascript:

Re: [Rails] Re: Can I have Ruby on Rails without json

2012-10-03 Thread Colin Law
On 3 October 2012 10:51, roelof rwob...@hotmail.com wrote: Fine, The Chakra people say it a json gem problem and say goto the maintainer or the Ror community. And the community says it's a chakra problem. No, the community has not said it is a chakra problem (at least I did not), I just

[Rails] Re: Rails Default ETag Generation

2012-10-03 Thread Frederick Cheung
On Tuesday, October 2, 2012 9:50:39 PM UTC+1, jcoleman wrote: How does Rails generate ETags by default? I've got config. action_controller.perform_caching set to true in production so that I can use page-level caching in a few specific places, but it seems that Rails is automatically

Re: [Rails] Re: Can I have Ruby on Rails without json

2012-10-03 Thread roelof
I apolize but its's my feeling now. Chakra said goto the maintainer, I did not hear anything from him. So I thought the community could help me. Roelof Op woensdag 3 oktober 2012 11:59:24 UTC+2 schreef Colin Law het volgende: On 3 October 2012 10:51, roelof rwo...@hotmail.com javascript:

[Rails] Sql Script Doubt

2012-10-03 Thread BalaRaju Vankala
Hello everyone, I am having a doubt regarding sql in rails .. i kept the autocomplete feature in my application .. but the problem is there should not be repitition in the term in the text field... This is what i done class SkillsController ApplicationController def index term =

[Rails] Confusion in converting Sinatra form to Rails

2012-10-03 Thread stepan Parunashvili
After finishing Michael Hartl's tutorial on Rails, I'm trying to build a call-tracking app with Twilio, to get a sense of things. So far, I've managed to make an authentication system, a plans system, integrated stripe, and integrated the creation of Twilio subaccounts with user signup. Now, I'm

[Rails] [OT] betterspecs.org | rspec best practices

2012-10-03 Thread Andrea Reginato
Hi everyone. I've just released a new website collecting all best practices about testing your rails app. You can find them at http://betterspecs.org. It's an open source project open to any kind of discussion. Hope you'll enjoy it. -- Posted via http://www.ruby-forum.com/. -- You received

Re: [Rails] Sql Script Doubt

2012-10-03 Thread Walter Lee Davis
On Oct 3, 2012, at 6:33 AM, BalaRaju Vankala wrote: Hello everyone, I am having a doubt regarding sql in rails .. i kept the autocomplete feature in my application .. but the problem is there should not be repitition in the term in the text field... This is what i done class

[Rails] Re: Rails Default ETag Generation

2012-10-03 Thread jcoleman
Is there a way to disable certain middleware based on the route? Part of my application is an API that shouldn't really ever be sending 304's while I'm fine with the web application doing that. It seems like removing Rack::ConditionalGet should eliminate the setting of the 304 when the ETags

Re: [Rails] Sql Script Doubt

2012-10-03 Thread BalaRaju Vankala
hey thanks On Wed, Oct 3, 2012 at 6:26 PM, Walter Lee Davis wa...@wdstudio.com wrote: On Oct 3, 2012, at 6:33 AM, BalaRaju Vankala wrote: Hello everyone, I am having a doubt regarding sql in rails .. i kept the autocomplete feature in my application .. but the problem is there should

Re: [Rails] Sql Script Doubt

2012-10-03 Thread Walter Lee Davis
On Oct 3, 2012, at 9:45 AM, BalaRaju Vankala wrote: hey thanks On Wed, Oct 3, 2012 at 6:26 PM, Walter Lee Davis wa...@wdstudio.com wrote: On Oct 3, 2012, at 6:33 AM, BalaRaju Vankala wrote: Hello everyone, I am having a doubt regarding sql in rails .. i kept the autocomplete

[Rails] Re: Rails Default ETag Generation

2012-10-03 Thread Frederick Cheung
On Wednesday, October 3, 2012 2:11:33 PM UTC+1, jcoleman wrote: Is there a way to disable certain middleware based on the route? Part of my application is an API that shouldn't really ever be sending 304's while I'm fine with the web application doing that. It seems like removing

[Rails] Re: installing ruby on rails 1.9.3 on windows 7

2012-10-03 Thread Claudia B.
My hero too!!! =) -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send email to rubyonrails-talk@googlegroups.com. To unsubscribe from this group, send email to

[Rails] Re: Rails Default ETag Generation

2012-10-03 Thread jcoleman
I ended up inserting my own middleware before Rack::Cache (which was actually causing the issue--I'd even tried removing Rack::ConditonalGet and the issue was still happening) that removes the If-None-Matches and If-Modified-Since headers on the matching requests. Thanks for the help! -- You

[Rails] IDE

2012-10-03 Thread Avi
Hello, What is the best IDE for ROR with JRuby, Currently I am using Aptana Studio. I am trying to use Rubymine. Which IDE would give better support to debugging ? Any Suggestions? Is there any problem to keep both JRuby ruby versions ? Thanks. -- You received this message because you are

Re: [Rails] IDE

2012-10-03 Thread Javier Quarite
On Wed, Oct 3, 2012 at 12:33 PM, Avi aavinash.beh...@gmail.com wrote: Hello, What is the best IDE for ROR with JRuby, Currently I am using Aptana Studio. I am trying to use Rubymine. Which IDE would give better support to debugging ? Any Suggestions? I'm not using an IDE right now, but

Re: [Rails] IDE

2012-10-03 Thread Fabian Becker
Rubymine works perfectly with RVM. I use it on a daily basis right now. On Wed, Oct 3, 2012 at 7:39 PM, Javier Quarite jquari...@gmail.com wrote: On Wed, Oct 3, 2012 at 12:33 PM, Avi aavinash.beh...@gmail.com wrote: Hello, What is the best IDE for ROR with JRuby, Currently I am using

[Rails] text area problem

2012-10-03 Thread roelof
Hello, I made this text-area. div class=field %= f.label :content %br / %= text_area :content, :nil, :cols=20,:rows=5 % /div But now the user can make it bigger and smaller. Can a text-area be a fixed length and width and when the text is bigger you will see a slider? Roelof --

[Rails] Re: Firebird adapter HELP?

2012-10-03 Thread Alejandro P.
Does anyone have an example of how to connect to a database and execute a simple query using Ruby? -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send email to

[Rails] Long articles/strings truncation/pagination

2012-10-03 Thread Valery Kvon
At the beginning of this year I wrote gem 'html_slicer' to simplify HTML truncation stuff like that. The general idea was to implement pagination ability for long htmlised articles and strings, and on the other hand to resize included iframe, img, object tags, having a width parameter (YouTube

[Rails] protected method access

2012-10-03 Thread John Merlino
I just want to make a note of something I read here: http://en.wikibooks.org/wiki/Ruby_Programming/Syntax/Classes#Protected def =(other) self.age = other.age end It says: If age is private, this method will not work, because other.age is not accessible. If age is protected, this will

[Rails] Re: IDE

2012-10-03 Thread Agoofin
I think Aptana is the best from what I've seen. Good git integration and built it command console. On Wednesday, October 3, 2012 1:33:30 PM UTC-4, Avi wrote: Hello, What is the best IDE for ROR with JRuby, Currently I am using Aptana Studio. I am trying to use Rubymine. Which IDE would

[Rails] Re: Class, Module, Object

2012-10-03 Thread John Merlino
Yes, Object, Class, and Module are more than just constants. Object, Class, and Module are instances of Class class: 1.9.3p0 :031 Class.class = Class 1.9.3p0 :032 Module.class = Class 1.9.3p0 :033 Object.class = Class Since Object, Class, and Module are instances of Class class, they

[Rails] Re: Class, Module, Object

2012-10-03 Thread John Merlino
I want to fix a typo. I said: Since Object, Class, and Module are instances of Class class, they don't have access to Class's singleton methods, but rather they have access to Class's instance methods: I meant to say: Object and Module do not inherit from Class and so they don't have access to

Re: [Rails] Re: IDE

2012-10-03 Thread avinash behera
I have using Aptana right now.. I am comfortable with it as I am used to eclipse java. I have not used debugging in Aptana. Does it supports good debugging ? On Thu, Oct 4, 2012 at 7:47 AM, Agoofin thebserv...@gmail.com wrote: I think Aptana is the best from what I've seen. Good git integration