Re: [Rails] How to edit each line of a file in ruby, without using a temp file

2012-10-02 Thread Colin Law
On 2 October 2012 05:00, Nila enilan...@gmail.com wrote: Hi, Is there a way to edit each line in a file, without involving 2 files? Say, the original file has, test01 test02 test03 I want to edit it like test01,a test02,a test03,a Tried something like this, but it replaces some of

[Rails] Ajax in rails

2012-10-02 Thread ruby rails
I am building a task management application in ROR. I am new to ROR and learning it. While adding tasks, I need to select a projects drop down list and the team members of that project will be shown as drop down. I am using ajax for it. But I see that in the response data I am getting the complete

[Rails] Re: BcmsFckeditor fails with browsercms 3.5.3

2012-10-02 Thread Priyanka Pathak
Hello Guys, Found the solution!!! By placing ckeditor fckeditor assets under assets directory of app. But still image from Amazon s3 fails to load. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk

[Rails] Re: Ajax in rails

2012-10-02 Thread ruby rails
When I am alerting data I am getting the below htmls inserting before select tag of team members html head titleTaskManagement/title link href=/assets/style.css media=screen rel=stylesheet type=text/css / link href=/assets/validationEngine.jquery media=screen rel=stylesheet type=text/css /

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

2012-10-02 Thread roelof
Nobody who can tell me ? Op maandag 1 oktober 2012 21:26:01 UTC+2 schreef roelof het volgende: Hello, On my Chakra linux machine the json gem would not get compiled, I already made a issue for that. But for continuing my project can I have ruby on rails without the json gem ? And if

[Rails] Re: Best Practices for Multiple site One login

2012-10-02 Thread Matt Jones
On Monday, 1 October 2012 05:42:13 UTC-4, thansika malar wrote: Loginbuilder.com offers Single Sign On (SSO) service for multiple website owners. Make use of this service to give your users share one login to use all your websites. User details maintenance is made easier here. Next time

[Rails] Rails 3.2/4 force prepared statements to be used

2012-10-02 Thread sl_bug
I've already asked about this on StackOverflow with no luck on answer - http://stackoverflow.com/questions/12617237/rails-3-2-force-prepared-statements/12617681 Simplified Case: Hotel.find(1) - use prepared statement # SELECT hotels.* FROM hotels WHERE hotels.id = $1 LIMIT 1 [[id, 1]]

[Rails] JOBS: Ruby on Rails Developers-Mid and Senior level- Great Opportunities

2012-10-02 Thread Lisa Villa
Looking for some great mid and senior level Ruby on Rails developers to join a great team working for a client in the Energy Management space. Great company staying on top of the lastest technologies. Looking for people comfortable working across all tiers of a web application.

Re: [Rails] How to edit each line of a file in ruby, without using a temp file

2012-10-02 Thread Walter Lee Davis
On Oct 2, 2012, at 12:00 AM, Nila wrote: Hi, Is there a way to edit each line in a file, without involving 2 files? Say, the original file has, test01 test02 test03 I want to edit it like test01,a test02,a test03,a Tried something like this, but it replaces some of the

Re: [Rails] Ajax in rails

2012-10-02 Thread Walter Lee Davis
On Oct 2, 2012, at 5:58 AM, ruby rails wrote: I am building a task management application in ROR. I am new to ROR and learning it. While adding tasks, I need to select a projects drop down list and the team members of that project will be shown as drop down. I am using ajax for it. But I see

[Rails] cancan and authorization on controller actions of a gem.

2012-10-02 Thread Mauro
Hello. I've installed cancan and bigbluebutton_rails, https://github.com/mconf/bigbluebutton_rails. The gem bigbluebutton_rails has some models and controllers, for example has bigbluebutton/servers_controller.rb. This controller has some actions like create, join, authorize, etc. I want that only

[Rails] Re: formtastic does not save at all

2012-10-02 Thread Hans
I had a similar problem, and you can read on what I found on github https://github.com/rails/rails/issues/6701 --- Den lördagen den 22:e september 2012 kl. 07:35:20 UTC+2 skrev Ruby-Forum.com User: Rails 3.1.3 I am using Formtastic gem in order to deal with

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

2012-10-02 Thread gsw
What is the error you are getting? You'd be better off leaving json in there. If you are looking for something more lightweight, have you also looked at Sinatra, etc.? http://www.sinatrarb.com/ On Tuesday, October 2, 2012 8:01:27 AM UTC-4, roelof wrote: Nobody who can tell me ? Op maandag

[Rails] Filtering acts-as-taggable-on Results in Rails

2012-10-02 Thread yellowreign
Hi All, I'm having trouble getting the acts-as-taggable-onhttps://github.com/mbleigh/acts-as-taggable-ongem's results filtered correctly, and I think that the answer is straightforward for someone who knows what they are doing. So I'm hoping someone can help me. I have two models: users

[Rails] [JOB] Multiple Senior/Lead RoR Developer roles in New York City

2012-10-02 Thread OSS
Hi, I'm assisting a couple of associates' fill their clients' Senior/Lead RoR Developer roles in New York City, one paying to 140k, the other to 150k and they've allowed me to extend the search to people residing in other states interested in relocating. If you would like more information,

[Rails] [JOB] Senior Ruby / Rails Developer - 100% Telecommute

2012-10-02 Thread OSS
I'm assisting one of my associates fill his New York City client's Senior Ruby Developer position. This is a full time, salaried, 100% telecommute Senior Ruby Developer position paying $120,000 to $150,000 + benefits. United States Citizenship or green card required. There's some good candidates

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

2012-10-02 Thread roelof
Here is the bug report I filed in : https://github.com/flori/json/issues/147 Roelof Op dinsdag 2 oktober 2012 19:37:27 UTC+2 schreef gsw het volgende: What is the error you are getting? You'd be better off leaving json in there. If you are looking for something more lightweight, have you

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

2012-10-02 Thread Colin Law
On 2 October 2012 19:56, roelof rwob...@hotmail.com wrote: Here is the bug report I filed in : https://github.com/flori/json/issues/147 The line make: /bin/install: Opdracht niet gevonden which translates to Command not found, I think, suggests that you have not got the application /bin/install

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

2012-10-02 Thread Colin Law
On 2 October 2012 20:50, Colin Law clan...@googlemail.com wrote: On 2 October 2012 19:56, roelof rwob...@hotmail.com wrote: Here is the bug report I filed in : https://github.com/flori/json/issues/147 The line make: /bin/install: Opdracht niet gevonden which translates to Command not found,

[Rails] Ideas for a ruby gem

2012-10-02 Thread powi
Hello. I want to make a gem, but I don't know what would that be. Do you have any ideas a mind? Could be anything. :) -- 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] Re: New To Rails

2012-10-02 Thread DONEIN NET
I have now ran into another issue. I have a field like this on my _form.html page: %= f.collection_select :address_region, Admin::Region.order(:region), :id, :region, :include_blank = true % This works fine, but if I don't select a value (which is okay) I can not later edit the record. If I

[Rails] Re: global methods under object supposedly unaccessible

2012-10-02 Thread John Merlino
A private method is internal to the implementation of a class, and it can only be called by other instance methods of the class (or its subclasses). Private methods are implicitly invoked on self, and may not be explicitly invoked on an object. If m is a private method, then you must ibnvoke it in