[Rails] Re: Conrollers in rails (C in MVC)

2013-05-15 Thread Praveen BK
Thank you so much Robert Walker. You have given me a lot of insight regarding Controller in MVC. I Thank you again for your time and guidance. Regards, Praveen -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups Ruby on

Re: [Rails] RAILS SAVE IDS

2013-05-15 Thread Colin Law
On 14 May 2013 23:59, cristhian Campoverde li...@ruby-forum.com wrote: I think, my method create is wrong in controller MALLA I want to save the ids selected in the view malla from the controller MALLA. def create params[:malla][:level][:subject_ids] What is the above line of code

[Rails] nested form update issue

2013-05-15 Thread Saravanan P
Hello Everyone, I am getting following error while updating the record. i.e I have save draft function so I am saving data while user click save draft using ajax and I will change the form as update and set message id and payment id in ajax success in hidden field. so page could not load, if

[Rails] French sentences appearing weird in Rails Website

2013-05-15 Thread UA
I have a Rails app. One of my clients is importing French Text which is appearing weirdly. Check below example: 1. str = --- \nFrench: \3. Combien de r\\xC3\\xA9gions y a-t-il au Cameroon?\\nEnglish: 3. How many regions are there in Cameroon?\n Can someone assist please? I am thinking on

[Rails] Re: manual vs automatic bundler deployment with capistrano

2013-05-15 Thread mike
On Tuesday, May 14, 2013 2:06:20 PM UTC-4, John Merlino wrote: I assume this is the most up to date documentation for running bundler install when deploying a rails application with capistrano: http://gembundler.com/v1.3/deploying.html In the documentation, it offers two methods for

[Rails] Re: How to implement ActionMailer callbacks for rails3?

2013-05-15 Thread Evgeniy K.
I wrote a simple gem for this couple of years ago and branch 2.0 supports rails3. you can check it out here: https://github.com/kelyar/mailer_callbacks/tree/2.0 or wait for rails4 they will have it builtin. -- Posted via http://www.ruby-forum.com/. -- You received this message because you

[Rails] Re: rake precompile:assets throwing error

2013-05-15 Thread mike
On Tuesday, May 14, 2013 3:07:06 AM UTC-4, sith wrote: While running rake precompile:assets i'm getting the following error This is the error message: rake assets:precompile:all RAILS_ENV=production rake aborted! undefined local variable or method `establish_connection' for

[Rails] Re: manual vs automatic bundler deployment with capistrano

2013-05-15 Thread Robert Walker
mike wrote in post #1109071: On Tuesday, May 14, 2013 2:06:20 PM UTC-4, John Merlino wrote: I agree that the automatic option is preferrable. This documentation is not great and a bit dated. If you are using Rails 3 or Rails 4, you don't need the statement 'require bundler/capistrano' and

Re: [Rails] rake precompile:assets throwing error

2013-05-15 Thread Colin Law
On 14 May 2013 08:07, sith sithu.1...@gmail.com wrote: While running rake precompile:assets i'm getting the following error This is the error message: rake assets:precompile:all RAILS_ENV=production rake aborted! undefined local variable or method `establish_connection' for

[Rails] Ruby on Rails guidence need

2013-05-15 Thread Love U Ruby
Hi, I just completed Ruby learning and did complete some exercise also on it. Now want to learn Ruby on Rails also.So what would be the good approach or from where to start,to learn it quickly and conceptually. I also had installed also Ruby as mentioned in this url :

Re: [Rails] Ruby on Rails guidence need

2013-05-15 Thread Colin Law
On 15 May 2013 15:34, Love U Ruby li...@ruby-forum.com wrote: Hi, I just completed Ruby learning and did complete some exercise also on it. Now want to learn Ruby on Rails also.So what would be the good approach or from where to start,to learn it quickly and conceptually. Have a look at

[Rails] Re: Ruby on Rails guidence need

2013-05-15 Thread Robert Walker
Love U Ruby wrote in post #1109081: Hi, I just completed Ruby learning and did complete some exercise also on it. Now want to learn Ruby on Rails also.So what would be the good approach or from where to start,to learn it quickly and conceptually. Excellent, and welcome. Start with the

[Rails] staging deploy connected to production database

2013-05-15 Thread John Merlino
I'm not sure why but I have both a staging and production deploy using the 'capistrano/ext/multistage' gem. I set staging to the default: set :stages, [staging, production] set :default_stage, staging It deploys correctly to the right path: #deploy/staging.rb set :deploy_to,

Re: [Rails] staging deploy connected to production database

2013-05-15 Thread Dheeraj Kumar
set :rails_env, 'staging' set :rails_env, 'production' ^^ add these in the appropriate files. -- Dheeraj Kumar On Wednesday 15 May 2013 at 9:25 PM, John Merlino wrote: I'm not sure why but I have both a staging and production deploy using the 'capistrano/ext/multistage' gem. I set

[Rails] Re: Ruby on Rails guidence need

2013-05-15 Thread Love U Ruby
Robert Walker wrote in post #1109090: Start with the official Rails guides, which I think are excellently written: http://guides.rubyonrails.org/index.html http://edgeguides.rubyonrails.org (if you're living on the edge) Then move on to one of these great tutorials:

[Rails] Re: nested form update issue

2013-05-15 Thread Art Mills
I'm a Rails noob for sure, but, you say the code you have here works in your local environment but not in a staging environment. The params hash you put here seems to have a specific ids for user, payment_info_attributes and message. I would not imagine you have the exact same data in your

[Rails] Rails 4 RC1 polymorphic association not quite working.

2013-05-15 Thread Art Mills
I have this question up at Stack Overflow and am hoping I am just not quite right. I've gotten polymorphic associations working in Rails 3.2.X but for some reason in 4.0 I'm just missing something. Currently the code I'll attach does most everything right. But it fails to capture the

Re: [Rails] Re: Ruby on Rails guidence need

2013-05-15 Thread Evaldo Santos
Which tutorial/resource do you used? On Wed, May 15, 2013 at 11:52 AM, Robert Walker li...@ruby-forum.comwrote: Love U Ruby wrote in post #1109081: Hi, I just completed Ruby learning and did complete some exercise also on it. Now want to learn Ruby on Rails also.So what would be the

Re: [Rails] Re: Ruby on Rails guidence need

2013-05-15 Thread Colin Law
On 15 May 2013 17:55, Love U Ruby li...@ruby-forum.com wrote: Robert Walker wrote in post #1109090: Start with the official Rails guides, which I think are excellently written: http://guides.rubyonrails.org/index.html http://edgeguides.rubyonrails.org (if you're living on the edge) Then

[Rails] Re: Re: Ruby on Rails guidence need

2013-05-15 Thread Love U Ruby
Colin Law wrote in post #1109117: On 15 May 2013 17:55, Love U Ruby li...@ruby-forum.com wrote: I think you have installed it when you installed rvm (--rails). Try rails -v in a terminal. Colin = kirti@kirti-Aspire-5733Z:~$ rvm -v rvm 1.19.6 (stable) by Wayne E. Seguin

Re: [Rails] Re: Ruby on Rails guidence need

2013-05-15 Thread Hassan Schroeder
On Wed, May 15, 2013 at 9:55 AM, Love U Ruby li...@ruby-forum.com wrote: Thanks for the guidance. Could you help me to install Rail also? Try `gem install rails` -- Hassan Schroeder hassan.schroe...@gmail.com http://about.me/hassanschroeder twitter: @hassan -- You

[Rails] PHP is choosen for the next language at App Engine: we should vote for Ruby

2013-05-15 Thread Muescha
PHP is choosen for the next language at App Engine because it gets 3291 stars in the issues list ( https://code.google.com/p/googleappengine/issues/list ) thats why we should vote for ruby (still 2166) https://code.google.com/p/googleappengine/issues/detail?id=29 -- You received this message

[Rails] Re: rake precompile:assets throwing error

2013-05-15 Thread sith
I solved this by specifying the version of my gem 'newrelic_rpm' .I still can't figure out why I had to do so to solve my issue. On Tuesday, May 14, 2013 12:37:06 PM UTC+5:30, sith wrote: While running rake precompile:assets i'm getting the following error This is the error message: rake

[Rails] [JOBS]: Pramata is Hiring - Bangalore - Product Based Company - 19th May, Sunday - SE SSE, Leads

2013-05-15 Thread Bharath
HI Everyone, We are a product based company working on Ruby on Rails from past 7 years. If you are trying to find or interested to work in fun, challenging env then please read the details below. *PRAMATA IS HIRING..!!* *A true product based company* * * *WALK-IN INTERVIEW (ONLY TEST) FOR

Re: [Rails] nested form update issue

2013-05-15 Thread tamouse mailing lists
On May 15, 2013 3:09 AM, Saravanan P saravana...@shriramits.com wrote: Hello Everyone, I am getting following error while updating the record. i.e I have save draft function so I am saving data while user click save draft using ajax and I will change the form as update and set message id and