[Rails] Re: where to add action when getting started with rails

2013-07-24 Thread Night School
Thanks very much. That's definitely helpful. -- 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 emails from it, send an email to rubyonrails-talk

Re: [Rails] New web server suggestions

2013-07-24 Thread Johnneylee Rollins
My preferred stack, without using jruby, is as follows. Webserver: nginx App servers: * puma * unicorn I guess there's a lot more. Do you have any specific questions? ~Johnneylee On Jul 24, 2013 8:24 PM, "Rob Daniels" wrote: > Sorry if I upset some members with this one.. i was just trying

Re: [Rails] New web server suggestions

2013-07-24 Thread Rob Daniels
Sorry if I upset some members with this one.. i was just trying to find out some preferred server configurations. I'm still a Ruby noob.. coming from a PC background this questions wouldn't have caused this kind of response in my known field. I have 2 small e-commerce websites hosted currently o

Re: [Rails] Want to send password via SMS

2013-07-24 Thread Tamara Temple
> On Wed, Jul 24, 2013 at 10:43 AM, honey ruby > wrote: > Hi I am saving password with hashed_password and salt in table. Now I need to > send those passwords via SMS can it be possible.Kindly give me some > suggestion plz . Let me ask this: step back from your proposed solution, i.e. sending

Re: [Rails] New web server suggestions

2013-07-24 Thread Tamara Temple
On Jul 23, 2013, at 7:37 AM, Rob Daniels wrote: > I've been approved for a new Rails web server - any suggestions on hardware, > OS & setup? I would submit that this is not the sort of question for a mailing list. If you truly don't know how to figure this out, gathering a bunch of stuff from

Re: [Rails] Does anyone develop on Mac and deploy on *BSD?

2013-07-24 Thread Tamara Temple
On Jul 23, 2013, at 10:59 PM, jmcguckin wrote: > Ok, > > I'm totally clueless on how to get my finished app onto the NetBSD platform. > - Do I re-install Rails, Ruby, etc manually or is there some automated way > to deploy. > - Do I need to tar up the Rails directory with my application an

Re: [Rails] My Weird error

2013-07-24 Thread Tamara Temple
On Jul 23, 2013, at 6:47 PM, João Pereira wrote: > Hi, > > I'm getting this error while deploying to a dev machine with cap:deploy > > > executing "cd -- /home/ubuntu/deployments/ > appreleases/20130723233947 && RAILS_ENV=production RAILS_GROUPS=assets rake > assets:precompile" > server

[Rails] [JOBS] Senior Ruby on Rails Developer - Chicago, IL - full-time

2013-07-24 Thread Peter
Please see the job posting on the 37signals job board: http://jobs.37signals.com/jobs/13233 Must be located in Chicago, IL. Principle candidates only, no recruiters. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from th

[Rails] Concerns vs libraries

2013-07-24 Thread andreo
Hey guys, I think I might be a little confused but I cant really understand exactly when to separate code into a concern, and when to separate it into a library. 1. What's the exact difference? 2. Where are they available? 3. What is their goal? what is the goal of putting code in a concern a

Re: [Rails] eclipse building project and takes for ever

2013-07-24 Thread Norbert Melzer
Get rid of eclipse and use vim or sublime text with the appropriate plugins. Another way is just to turn off auto compile in the build menu, at least that worked when I was using eclipse with c++. Am 24.07.2013 20:23 schrieb "brian sur" : > is there a setting I can set to stop eclipse from buildi

[Rails] Re: My Weird error

2013-07-24 Thread João Pereira
Yes, I found my self installing all capistrano dependencies by hand on the remote machine, now it's ok. Strange I was able to make a deploy a some minutes before... Thnaks On Wednesday, July 24, 2013 5:03:13 PM UTC+2, mike wrote: > > > > On Tuesday, July 23, 2013 7:47:41 PM UTC-4, João Pereira

Re: [Rails] Want to send password via SMS

2013-07-24 Thread Johnneylee Rollins
On Wed, Jul 24, 2013 at 10:43 AM, honey ruby wrote: > Hi I am saving password with hashed_password and salt in table. Now I need > to send those passwords via SMS can it be possible.Kindly give me some > suggestion plz . This line, in the English language, can be understood as "Now I need those

[Rails] Displaying/Editing data fields shortcut?

2013-07-24 Thread xscr...@gmail.com
I have several pages of data (Customer address info, etc) that I want to minimize the code I have to write to display & edit the fields. I thought of pointing show and edit to the same view, so they use the same html layout. The only difference, is that the text fields are wrapped in a helper

Re: [Rails] Want to send password via SMS

2013-07-24 Thread honey ruby
I have already mention in my first message it self seem you missed that. I have no intention to waste some one's time. On Wed, Jul 24, 2013 at 11:53 PM, honey ruby wrote: > Well it wont help the user but it a strong password in rails. you can not > retrieve that but you can update it. but you ca

[Rails] eclipse building project and takes for ever

2013-07-24 Thread brian sur
is there a setting I can set to stop eclipse from building all the time? A typical build for my small project takes like 4 hours. so I cant even work when it kicks off a build. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups

Re: [Rails] Want to send password via SMS

2013-07-24 Thread honey ruby
Well it wont help the user but it a strong password in rails. you can not retrieve that but you can update it. but you can not send it that is the issue. too strong passwords On Wed, Jul 24, 2013 at 11:20 PM, Johnneylee Rollins < johnneylee.roll...@gmail.com> wrote: > How is a hashed password go

Re: [Rails] Want to send password via SMS

2013-07-24 Thread Scott Ribe
On Jul 24, 2013, at 11:49 AM, honey ruby wrote: > Hi Johnneylee Rollins, > > I am not sending plain text kindly read above > mail for what exactly I need. You said you wanted to send passwords. You did not say you wanted to send hashed_password. Yo

Re: [Rails] Want to send password via SMS

2013-07-24 Thread Johnneylee Rollins
How is a hashed password going to help a user? On Jul 24, 2013 1:49 PM, "honey ruby" wrote: > Hi Johnneylee Rollins, > > I am not sending plain text kindly read > above mail for what exactly I need. > > > > On Wed, Jul 24, 2013 at 10:18 PM, Johnneylee Rollins < > j

Re: [Rails] Want to send password via SMS

2013-07-24 Thread honey ruby
Hi Johnneylee Rollins, I am not sending plain text kindly read above mail for what exactly I need. On Wed, Jul 24, 2013 at 10:18 PM, Johnneylee Rollins < johnneylee.roll...@gmail.com> wrote: > Sending plaintext passwords is bad. Even across SMS. Generate a OTP t

Re: [Rails] Want to send password via SMS

2013-07-24 Thread Johnneylee Rollins
Sending plaintext passwords is bad. Even across SMS. Generate a OTP token if you need to send them something. ~Johnneylee On Jul 24, 2013 11:25 AM, "honey ruby" wrote: > ok > > > On Wed, Jul 24, 2013 at 8:44 PM, Dheeraj Kumar > wrote: > >> Even when you completely capitalize your question, yes.

[Rails] Re: Postgres adapter misconfigured on Linux?

2013-07-24 Thread Benjamin Nash
No Postgres adapter was broken. It turns out that another developer had installed the postgres_ext gem, which doesn't support add_index. Removing that gem fixed the failures. On Tuesday, July 23, 2013 4:21:52 PM UTC-4, Benjamin Nash wrote: > > I've written a simple Rails migration that adds an

Re: [Rails] Want to send password via SMS

2013-07-24 Thread honey ruby
ok On Wed, Jul 24, 2013 at 8:44 PM, Dheeraj Kumar wrote: > Even when you completely capitalize your question, yes. > > -- > Dheeraj Kumar > > On Wednesday 24 July 2013 at 8:35 PM, honey ruby wrote: > > THANKS DHEERAJ, IS IT IMPOSSIBLE FOR SURE > > > On Wed, Jul 24, 2013 at 8:30 PM, Dheeraj Kumar

Re: [Rails] Want to send password via SMS

2013-07-24 Thread Dheeraj Kumar
Even when you completely capitalize your question, yes. -- Dheeraj Kumar On Wednesday 24 July 2013 at 8:35 PM, honey ruby wrote: > THANKS DHEERAJ, IS IT IMPOSSIBLE FOR SURE > > > On Wed, Jul 24, 2013 at 8:30 PM, Dheeraj Kumar (mailto:a.dheeraj.ku...@gmail.com)> wrote: > > You cannot un-hash

Re: [Rails] Want to send password via SMS

2013-07-24 Thread honey ruby
THANKS DHEERAJ, IS IT IMPOSSIBLE FOR SURE On Wed, Jul 24, 2013 at 8:30 PM, Dheeraj Kumar wrote: > You cannot un-hash those passwords. So no, it is not possible. > > -- > Dheeraj Kumar > > On Wednesday 24 July 2013 at 8:13 PM, honey ruby wrote: > > Hi I am saving password with hashed_password and

[Rails] Re: My Weird error

2013-07-24 Thread mike
On Tuesday, July 23, 2013 7:47:41 PM UTC-4, João Pereira wrote: > > Hi, > > I'm getting this error while deploying to a dev machine with cap:deploy > > > executing "cd -- /home/ubuntu/deployments/ > appreleases/20130723233947 && RAILS_ENV=production RAILS_GROUPS=assets > rake assets:precompile"

Re: [Rails] Want to send password via SMS

2013-07-24 Thread Dheeraj Kumar
You cannot un-hash those passwords. So no, it is not possible. -- Dheeraj Kumar On Wednesday 24 July 2013 at 8:13 PM, honey ruby wrote: > Hi I am saving password with hashed_password and salt in table. Now I need to > send those passwords via SMS can it be possible.Kindly give me some > sugg

[Rails] Want to send password via SMS

2013-07-24 Thread honey ruby
Hi I am saving password with hashed_password and salt in table. Now I need to send those passwords via SMS can it be possible.Kindly give me some suggestion plz . Thanks in advance Cheers -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" gro

Re: [Rails] New web server suggestions

2013-07-24 Thread Peter Hickman
Additionally what does "hundreds of users" mean? Hundreds of simultaneous users or hundreds of registered users who log in once a month. How big is your product catalogue? Do you have a lot of products or only a few? How important is search? A basic setup could be: 1) Nginx to receive the reques

Re: [Rails] New web server suggestions

2013-07-24 Thread Walter Lee Davis
There's still a lot of missing information here. Your app could have a product delivery responsibility (say, watermarking PDF files) that causes it to have a larger memory/processor footprint than a basic CRUD app. Which commerce approach are you taking? What impact does SSL add? Are there any o

Re: [Rails] New web server suggestions

2013-07-24 Thread Rob Daniels
Sorry - i guess i could be more descriptive. We're producing E-Commerce web applications that we want scaleable up to hundreds of users. On Wednesday, July 24, 2013 4:46:14 AM UTC-4, Peter Hickman wrote: > > I would suggest a Raspberry PI with a 8Gb SD card > > Of course that wont be of any us

[Rails] Re: Re: Re: eclipse 3rdrail db migration wizard fails

2013-07-24 Thread brian sur
Colin Law wrote in post #1116409: > On 23 July 2013 20:42, brian sur wrote: >>> >>> What is autobuild? There is normally nothing to build on a Rails >>> project (at least in development mode). Just start the server and off >>> it goes. >>> >>> Colin >> >> I am using 3rdrail and eclipse At the t

Re: [Rails] Using :group with #count generating bad SQL in Postgres

2013-07-24 Thread Carlos Figueiredo
@Yaw, can you test if you change the way you call the count on postgres, rails still change the name of the column? Ex. Try using count(comments.id) or count(1) besides count(*) on your query and let me know what happens... Ps.: The ugly fix of my last email still works Em 24/07/2013 08:10, "Carl

Re: [Rails] Using :group with #count generating bad SQL in Postgres

2013-07-24 Thread Carlos Figueiredo
Now I figured out what is the error... I dont know why... But rails changed the column name where you count froum comments_count to count_all... And you refer it on your order by statement using the alias you choose... I hope somone more experienced on rails help you fix it, but for now... U could

Re: [Rails] Using :group with #count generating bad SQL in Postgres

2013-07-24 Thread Yaw Boakye elGran
Error message: PG::Error: ERROR: column "comments_count" does not exist LINE 1: ...l, titles.created_at, titles.updated_at ORDER BY comments_c... ^ : SELECT COUNT(*) AS count_all, titles.id, titles.title, titles.submitter_name, titles.

Re: [Rails] Using :group with #count generating bad SQL in Postgres

2013-07-24 Thread Yaw Boakye elGran
I think so, sorry for the misinformation. Thanks for the correction :) On Wed, Jul 24, 2013 at 12:36 AM, Scott Ribe wrote: > On Jul 23, 2013, at 6:28 PM, Yaw Boakye elGran > wrote: > > > • During grouping, the normal SQL requirement is to group on a > column that is on both tables. As f

Re: [Rails] New web server suggestions

2013-07-24 Thread Peter Hickman
I would suggest a Raspberry PI with a 8Gb SD card Of course that wont be of any use to you if your application requires to handle 100s of users and has constant database access. But then again WE ARE NOT PSYCHIC!! On 23 July 2013 13:37, Rob Daniels wrote: > I've been approved for a new R