[Rails] [HELP] RoR Fedena App Installation: Rake Gem

2013-06-26 Thread Charven Ligan
I'm really a newbie with RoR. But I need to deploy this app as soon as possible. RoR App: Fedena RoR Ver: 1.8.7 When I type any rake commands I always encounter this problem: rake aborted! uninitialized constant ActiveSupport::Dependencies::Mutex Locally, I did find the solution for this proble

[Rails] Issue with Clockwork to run scheduled sidekiq jobs.

2013-06-26 Thread Luis Urraca
I been using clockwork to schedule sidekiq background jobs, but now I'm having an issue when running Clockwork clock.rb. This is the error I'm getting: $ clockwork clock.rb /Users/lurraca/.rvm/gems/ruby-1.9.3-p...@shop.pr/gems/activesupport-3.2.11/lib/active_support/duration.rb:107:in `method_m

[Rails] having isues with creating a ajax call in my simple rails application ,

2013-06-26 Thread hussainakhtar wahid
hi all , having isues with creating a ajax call in my simple rails application , can any body be available for some time to help on mail or chat ?? -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop

[Rails] json text to text array migration questions

2013-06-26 Thread h2opbun
Hi, I have field in postgres (9.2.4) with type json. The field looks like Column|Type | Modifiers | Storage | Stats target | Description -+-+---+--+--+- my_id_field

[Rails] Rails 4 install

2013-06-26 Thread Oliver David
I'm newbie and installed Rails last week. When I did rails -v in cmd prompt, I got this: C:\Users\oliver\lesson3>ruby -v ruby 2.0.0p0 (2013-02-24) [i386-mingw32] C:\Users\oliver\lesson3>rails -v 'rails' is not recognized as an internal or external command, operable program or batch file. I wa

[Rails] Re: Correct use of before_validation

2013-06-26 Thread Joel Pearson
Thanks for the tip! If the call to "super" triggers the validation then that should be perfect. -- 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 unsubscribe from this group and stop receiving

Re: [Rails] Re: Relational DB - Related and not Related

2013-06-26 Thread Colin Law
On 26 June 2013 02:55, Cameron Gilroy wrote: > Here is an update, I have it working as only a group or as only a non-group > user. I have below the create controller and was wondering what would be the > best way to allow associations and non-associated records. Thanks > > def create > if Gr

Re: [Rails] Re: [HELP] Couldn't find Search with id= from controller

2013-06-26 Thread Colin Law
On 26 June 2013 16:01, cornelius wilson wrote: > Colin Law wrote in post #1113571: >> On 24 June 2013 20:05, cornelius wilson wrote: >>> id=kids. It points to the searches controller for the following line: >>> >>> def index >>> @search = Search.find(params[:search]) >> >> find expects a numeric

[Rails] Re: Correct use of before_validation

2013-06-26 Thread Matt Jones
On Tuesday, 25 June 2013 05:15:06 UTC-7, Ruby-Forum.com User wrote: > > Catching that 0.0 value was the right direction to look in: > > def convert_hours > if hours_before_type_cast && hours_before_type_cast =~ /:/ > hrs, mins = hours_before_type_cast.scan( /(\d*):(\d*)/ ).first >

Re: [Rails] Re: Relational DB - Related and not Related

2013-06-26 Thread Dave Aronson
On Tue, Jun 25, 2013 at 9:55 PM, Cameron Gilroy wrote: > respond_to do |format| > if @user.save && @user.group_id == nil > format.html { redirect_to "/", notice: 'Thank you for registering!' > } > elsif @user.save && @user.group_id != "" > format.html { redirect_to

[Rails] Re: [HELP] Couldn't find Search with id= from controller

2013-06-26 Thread cornelius wilson
Colin Law wrote in post #1113571: > On 24 June 2013 20:05, cornelius wilson wrote: >> id=kids. It points to the searches controller for the following line: >> >> def index >> @search = Search.find(params[:search]) > > find expects a numeric id value, presumable params[:search] is set to > "kids" r

[Rails] LDAP user operations

2013-06-26 Thread delta force
I have used following gems for LDAP authentication using Devise: gem 'devise' gem 'devise_ldap_authenticatable' It is working fine and i am able to login into my web application but i had to create the same user into the local database first to get authenticated in the application. 1. What i wan

[Rails] Re: SAVON - Call

2013-06-26 Thread Otavio Nestares
Fred Sorry!! Ruby 1.9 Em quarta-feira, 26 de junho de 2013, Frederick Cheung escreveu: > > > On Wednesday, June 26, 2013 1:13:50 AM UTC+1, Otavio Lipari wrote: > > >> I have this method on a web service I'm consuming, using SAVON 3 on Rails >> 3 and Ruby 1.9.7 web app >> > > Do you mean ruby 1.8

[Rails] Re: Constructor CMS

2013-06-26 Thread Иван Зотов
Installation video http://youtu.be/hV8IDs-v4yM понедельник, 24 июня 2013 г., 0:06:54 UTC+4 пользователь Иван Зотов написал: > > Hello. I write open source CMS (Constructor) on Rails 4. Version of > project is 0.7.3 now. I wanted to tell about it when version 1.0.0 will be > released but I can't

[Rails] Re: SAVON - Call

2013-06-26 Thread Frederick Cheung
On Wednesday, June 26, 2013 1:13:50 AM UTC+1, Otavio Lipari wrote: > I have this method on a web service I'm consuming, using SAVON 3 on Rails > 3 and Ruby 1.9.7 web app > Do you mean ruby 1.8.7 ? Savon 3 doesn't support 1.8.7 Fred > -- You received this message because you are subscrib

[Rails] Re: Broken URLs to guides and APIs on rubyonrails.org

2013-06-26 Thread Frederick Cheung
On Tuesday, June 25, 2013 10:18:19 PM UTC+1, Jon Moter wrote: > > This is some feedback for rubyonrails.org. My apologies if this is the > wrong forum to bring this up, but I wasn't able to find a "Contact us" link > on the site. > > I don't know if anyone who manages that reads this list. Y

Re: [Rails] Re: Tutorials for beginner

2013-06-26 Thread BalaRaju Vankala
http://guides.rubyonrails.org/ On Tue, Jun 25, 2013 at 7:39 PM, Sergei Vasheka wrote: > I am at learning stage also and this is what I liked the most so far. > http://railstutorial.org/ > > > On Tuesday, June 25, 2013 8:50:36 AM UTC+3, r@ilsman wrote: >> >> I am learning ROR >> Please suggest g

[Rails] Re: Tutorials for beginner

2013-06-26 Thread Sergei Vasheka
I am at learning stage also and this is what I liked the most so far. http://railstutorial.org/ On Tuesday, June 25, 2013 8:50:36 AM UTC+3, r@ilsman wrote: > > I am learning ROR > Please suggest good rails sample applications. > Thanks. > -- You received this message because you are subscribed

[Rails] Using parentheses in routes

2013-06-26 Thread Rick Martinez
Does anyone know how to use escape parentheses in routes so I can use them in URLs? They currently denote optional params, but I can't find documentation on how to escape that. What I want is: Given I have a route: match "foo(:id)" => "foos#show" When I go to "/foo(3)" Then params[:id] should b

[Rails] Re: Tutorials for beginner

2013-06-26 Thread Anton Davydov
http://ruby.railstutorial.org/ruby-on-rails-tutorial-book -- 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 an email to rubyonrails-talk+unsubscr...@googlegroups.com. T

[Rails] Broken URLs to guides and APIs on rubyonrails.org

2013-06-26 Thread Jon Moter
This is some feedback for rubyonrails.org. My apologies if this is the wrong forum to bring this up, but I wasn't able to find a "Contact us" link on the site. As of this writing, if I go to Google and search for "active record observer validations", the top 2 results are: http://guides.ruby