[Rails] Iniciar sesión con mi app desarrollada en ruby.

2015-04-09 Thread Oscar Ignacio Ceballos Obando
Hola necesito conectar una aplicación en ruby con las credenciales de otra app también desarrollada en ruby, es decir algo similar a conectar con facebook o con google+, lo anterior para compartir la información de los usuarios entre dos plataformas. -- You received this message because you ar

[Rails] Ruby on Rails developer required

2015-04-09 Thread Gaurav Robinson
We have a school management system which is built on ruby on rails. It has an attendance system where attendance can be marked manually and SMS notifications are sent to parents for absent students.. Every student profile has a unique Hardware ID which is linked to their student ID and other in

[Rails] Rails CLI server bind host defaults to 127.0.0.1, is there a way to make it default to 0.0.0.0?

2015-04-09 Thread Lee Olayvar
I'm trying to make the rails CLI server bind host default to 0.0.0.0 on some machines i manage. Currently, it binds to localhost/127.0.0.1, and it seems to keep catching new developers who are unaware of this. Currently, i'm wrapping the rails command with a shell script, automatically injectin

Re: [Rails] Re: Re: Re: Image Not Displaying In Paperclip

2015-04-09 Thread Colin Law
On 9 April 2015 at 08:09, Colin Law wrote: > On 9 April 2015 at 06:06, Edward Maya wrote: >> NoMethodError (undefined method `validation_presence_of' for >> #): >> app/models/book.rb:2:in `' Look at the line pointed to carefully and consider whether what is there is exactly what was intended.

Re: [Rails] Rails 3.2.19 with ruby 2.1.5

2015-04-09 Thread Sivakumar G
We failed to notice RailsAppSpawnerIdleTime that we had set to 0 in Passenger 3.0.19. Looks like it has now been replaced by PassengerMaxPreloaderIdleTime. So I guess it is now using the default value of 300s(5 min). Could this be causing the issue I described? -- You received this message bec

Re: [Rails] configure an app to run on a different port (in development)

2015-04-09 Thread Hassan Schroeder
On Wed, Apr 8, 2015 at 3:25 PM, Brian Sammon wrote: > What's the common wisdom/best-practices regarding configuring an app to > run on a different port while developing (say, 3001 instead of 3000)? > I'm particularly worried about potentially using a undocumented > interface that could go away at

Re: [Rails] Share your experience about the interaction of the backend and frontend

2015-04-09 Thread Hassan Schroeder
On Thu, Apr 9, 2015 at 3:08 AM, Dmitry Shvetsov wrote: > We face a problem when trying to transfer completed static layout produced > by a frontend developer into rails app. > It happens because your front end developers do not experience in rails and > their works on separate repo. That descri

[Rails] Re: [Resume] Ruby on Rails Developer, NYC

2015-04-09 Thread AH Shah
Send me his resume... On Thursday, October 20, 2011 at 10:08:39 AM UTC-7, OSJ wrote: > > Hi everyone and sorry to bother you, but I've got a great Ruby / Rails > Developer seeking full time work in New York City. If anyone would > like to see his resume, please email me at opensourcestaffing\AT

Re: [Rails] Rails 3.2.19 with ruby 2.1.5

2015-04-09 Thread Stewart Mckinney
It may be the case that an intermediary result is failing and causing a future where query to result in the 0=0 behavior. Ruby should have very little to do with concurrency issues, if anything that would be in passenger's wheelhouse. Did your configuration change at all with the upgrade? On Thu,

Re: [Rails] Rails 3.2.19 with ruby 2.1.5

2015-04-09 Thread Stewart Mckinney
causes* On Thu, Apr 9, 2015 at 11:17 AM, Stewart Mckinney wrote: > It may be the case that an intermediary result is failing and causing a > future where query to result in the 0=0 behavior. Ruby should have very > little to do with concurrency issues, if anything that would be in > passenger's

[Rails] Re: add hyperlink in mail

2015-04-09 Thread Frederick Cheung
On Thursday, April 9, 2015 at 7:01:35 AM UTC+1, chr83 wrote: > > I am new to ruby on rails. > > my requirement is to add a hyperlink to body of the mail sent from > application developed in RoR. Can someone please help me wit some code > sample. > > > You use the same link_to helper as you woul

Re: [Rails] Rails 3.2.19 with ruby 2.1.5

2015-04-09 Thread Sivakumar G
This seems to be happening only sometimes not always. Can this be related to Passenger upgrade? Anything related to concurrency? On Thursday, April 9, 2015 at 8:00:36 PM UTC+5:30, Stewart Mckinney wrote: > > My only guess is that something inside a where() is getting garbled > somehow. Are you u

Re: [Rails] Rails 3.2.19 with ruby 2.1.5

2015-04-09 Thread Stewart Mckinney
My only guess is that something inside a where() is getting garbled somehow. Are you using anything like Squeel or MetaWhere? You might want to check the diff on your Gemfile.lock to see what gems have changed with the ruby change ( because some could have upgraded to work with 2.1 vs 1.9 ). My gu

Re: [Rails] Rails 3.2.19 with ruby 2.1.5

2015-04-09 Thread Sivakumar G
Any idea what might be the causing those weird activerecord errors? On Thursday, April 9, 2015 at 7:47:56 PM UTC+5:30, Stewart Mckinney wrote: > > Short answer: yes. I've been running that pair for a while now on one of > my apps. > > On Thu, Apr 9, 2015 at 9:44 AM, Sivakumar G > wrote: > >> We

Re: [Rails] Rails 3.2.19 with ruby 2.1.5

2015-04-09 Thread Stewart Mckinney
Short answer: yes. I've been running that pair for a while now on one of my apps. On Thu, Apr 9, 2015 at 9:44 AM, Sivakumar G wrote: > We have a rail 3.2.19 application running on ruby 1.9.3 and passenger > 3.0.19. We upgraded ruby to 2.1.5 and passenger to 4.0.57 and ran into the > following is

[Rails] Re: How to understand authenticated?(:activation, params[:id]) in rails 4?

2015-04-09 Thread Snail Walker
Thank you Fred . I think I mistaken the ID here as the user table's ID attribute . I got the idea now . :) -- 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

[Rails] Re: How to understand authenticated?(:activation, params[:id]) in rails 4?

2015-04-09 Thread Snail Walker
Thank you Fred . I think I mistaken the ID here as the user table's ID attribute . I got the idea now . :) -- 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

[Rails] Re: How to understand authenticated?(:activation, params[:id]) in rails 4?

2015-04-09 Thread Snail Walker
Thank you Fred . I think I mistaken the ID here as the user table's ID attribute . I got the idea now . :) -- 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

[Rails] Re: How to understand authenticated?(:activation, params[:id]) in rails 4?

2015-04-09 Thread Snail Walker
Thank you Fred . I think I mistaken the ID here as the user table's ID attribute . I got the idea now . :) -- 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

[Rails] Re: How to understand authenticated?(:activation, params[:id]) in rails 4?

2015-04-09 Thread Frederick Cheung
On Thursday, April 9, 2015 at 2:51:22 PM UTC+1, Snail Walker wrote: > > Thank you so much fred, I have just included routes.rb file .but still > can't relate anything to *params[:id]. * > > That means that id is just the first parameter in the url (because you've got restful urls) - if the ur

[Rails] Rails 3.2.19 with ruby 2.1.5

2015-04-09 Thread Sivakumar G
We have a rail 3.2.19 application running on ruby 1.9.3 and passenger 3.0.19. We upgraded ruby to 2.1.5 and passenger to 4.0.57 and ran into the following issues post deployment. 1) Some of the update queires generated had 0=0 instead of actual query's where clause 2) Some of the select queries

[Rails] Re: How to understand authenticated?(:activation, params[:id]) in rails 4?

2015-04-09 Thread Snail Walker
Thank you so much fred, I have just included routes.rb file .but still can't relate anything to *params[:id]. * *routes.rb* Rails.application.routes.draw do get 'password_resets/new' get 'password_resets/edit' get 'sessions/new' get 'users/new' root 'static_pages#home'

[Rails] Re: Share your experience about the interaction of the backend and frontend

2015-04-09 Thread Dmitry Shvetsov
James, thanks for your reply. I want to clarify something. You mean frontend dev should know RoR well? In that case both frontend dev and backend dev will work on same repo, right? If we conduct front end at the end of the project, both devs should care about views, sprites, swgs and other assets

[Rails] Re: How to understand authenticated?(:activation, params[:id]) in rails 4?

2015-04-09 Thread Frederick Cheung
On Thursday, April 9, 2015 at 1:50:56 PM UTC+1, Snail Walker wrote: > > I am reading Michael Hartl's rails tutorial and i couldn't understand this > line at chapter 10 authenticated?(:activation, params[:id]) > > According to the author this line is used to compare the activation_digest > and

[Rails] How to understand authenticated?(:activation, params[:id]) in rails 4?

2015-04-09 Thread Snail Walker
I am reading Michael Hartl's rails tutorial and i couldn't understand this line at chapter 10 authenticated?(:activation, params[:id]) According to the author this line is used to compare the activation_digest and the token This implicates that the token will be available at params[:id] *This

[Rails] Share your experience about the interaction of the backend and frontend

2015-04-09 Thread James Davis, PhD
Ideally, your front end developer would be integrated in the team. If that is not possible, I prefer having the front end work conducted after the application is mostly complete. That way integration could be as easy as dropping in a new css file. -- You received this message because you are s

[Rails] Share your experience about the interaction of the backend and frontend

2015-04-09 Thread Dmitry Shvetsov
Hi, I want to ask you to share your experience about the interaction of the backend and frontend. We face a problem when trying to transfer completed static layout produced by a frontend developer into rails app. Things are getting worse when an app is finished (or almost) and we need to make some

[Rails] Re: looking for mentors for ggole summer of code 2015

2015-04-09 Thread Ankit Raj
sorry in place of ggole it's google.. On Thursday, April 9, 2015 at 2:12:51 PM UTC+5:30, Ankit Raj wrote: > > hello devlopers world, > i m participating in google summer of code 2015. and i need a mentor to > guide me, throughtout the project, because there is unavailiability of > mentors due

[Rails] looking for mentors for ggole summer of code 2015

2015-04-09 Thread Ankit Raj
hello devlopers world, i m participating in google summer of code 2015. and i need a mentor to guide me, throughtout the project, because there is unavailiability of mentors due to some reason. project is exciting one i.e cap'n proto. intrested esteemed devlopers are requested to contact th

Re: [Rails] Re: Re: Re: Image Not Displaying In Paperclip

2015-04-09 Thread Colin Law
See comments inserted below On 9 April 2015 at 06:06, Edward Maya wrote: > Colin Law wrote in post #1171724: >> Exactly which folder is the file 8-captives-medium.jpg stored in? >> Full path please. >> >> On the view page in the browser do you see "8 captives medium" where >> the image should be?