Re: [Rails] errors in rails console

2014-12-03 Thread Vivek Sampara
http://stackoverflow.com/questions/9340497/cannot-load-such-file-readline-loaderror-when-running-heroku-create-stack On Thu, Dec 4, 2014 at 11:49 AM, rubynet wrote: > hi > > when i enter rails console this errors displays ,could you help me please ? > > /home/farnaz/workspace/sample_app/path/ru

[Rails] Re: Real time Chat Application Using ROR 4,ruby 2.1.3,Mongodb

2014-12-03 Thread Giedrius Rimkus
Try this: http://www.opensourcerails.com/kandan/ Otherwise, I don't think there is plug and play solution for your case. You need to use few gems, but the business logic is always different. Good luck. On Wednesday, December 3, 2014 6:50:28 PM UTC+1, Chandra wrote: > > Hi...I'm new to Ruby on R

[Rails] [JOBS]

2014-12-03 Thread Cindy Adler
*(5) Ruby on Rails Developers – Direct Hire!!* *DETAILS* *Location*: Dallas, TX - Relocation provided *Position Type: * Direct Hire *Hourly / Salary Conversion:* up to $140K *Residency Requirements: **MUST* be a US Citizen or Green Card Holder to be considered, as no sponsorship is b

[Rails] Feature requests... WebSocket related - whom to talk to?

2014-12-03 Thread Boaz Segev
I have some thoughts and ideas about features I would love to see in Rails 5.0, especially web socket related. I wrote a whole server / framework called Anorexic to test my ideas before approaching someone - and I think there's some decent code that could

[Rails] errors in rails console

2014-12-03 Thread rubynet
hi when i enter rails console this errors displays ,could you help me please ? /home/farnaz/workspace/sample_app/path/ruby/2.1.0/gems/activesupport-4.2.0.beta4/lib/active_support/dependencies.rb:252:in `require': cannot load such file -- readline (LoadError) from /home/farnaz/workspace/sampl

[Rails] Setting sessions in controller testing

2014-12-03 Thread bertly_the_coder
Hi Guys, I'm writing some controller tests in rspec and one of them needs a session to be set. Does anyone know how to set a session in rails tests? -- 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] Setting sessions in tests

2014-12-03 Thread bertly_the_coder
Hi Guys, I'm writing some tests in rspec and one of them needs a session to be set. Does anyone know how to set a session in rails tests? -- 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] Build report on Ruby on Rails

2014-12-03 Thread Wolf Dev
Ok, so what gem you would recommend me to use? -- 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. To post to

Re: [Rails] Build report on Ruby on Rails

2014-12-03 Thread Wolf Dev
Ok, what gem you would recommend me to use? -- 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. To post to this

Re: [Rails] Build report on Ruby on Rails

2014-12-03 Thread Wolf Dev
Ok, what gem you would recommend me to use? On Wednesday, December 3, 2014 4:53:16 PM UTC+7, Colin Law wrote: > > On 3 December 2014 at 07:58, Wolf Dev > > wrote: > > Hello Everyone, > > > > I want to build reports that able to preview and convert to pdf format > on > > rails app. > > if po

Re: [Rails] e-commerce

2014-12-03 Thread Hassan Schroeder
On Wed, Dec 3, 2014 at 1:48 PM, Carlos Mathiasen wrote: > Bank transfer is normal here. OK, I know how credit/debit card authorizations work online: cardholder->store->payment_gateway->payment_processor->bank but how does "bank transfer" work? What information does the end user provide, who a

Re: [Rails] e-commerce

2014-12-03 Thread Carlos Mathiasen
> Does that prove or disprove my point? > > In fact on further consideration I realise what I said was pointless > as it often seems that the majority of the human race has no sense, > but I think we are getting a bit off topic. > > Yeah! Thats true, No sense is the Sense now lol. Was just a commen

Re: [Rails] e-commerce

2014-12-03 Thread Colin Law
On 3 December 2014 at 21:48, Carlos Mathiasen wrote: > > > Matt's > > On Wed, Dec 3, 2014 at 6:33 PM, Roelof Wobben wrote: >> >> >> >> Op woensdag 3 december 2014 22:26:58 UTC+1 schreef Colin Law: >>> >>> On 3 December 2014 at 20:38, Roelof Wobben wrote: >>> > Thanks, >>> > >>> > But I do not ne

Re: [Rails] e-commerce

2014-12-03 Thread Carlos Mathiasen
Matt's On Wed, Dec 3, 2014 at 6:33 PM, Roelof Wobben wrote: > > > Op woensdag 3 december 2014 22:26:58 UTC+1 schreef Colin Law: >> >> On 3 December 2014 at 20:38, Roelof Wobben wrote: >> > Thanks, >> > >> > But I do not need a credit card. People pay by cash or by bank >> transfer. >> >> Nobody

Re: [Rails] e-commerce

2014-12-03 Thread Roelof Wobben
Op woensdag 3 december 2014 22:26:58 UTC+1 schreef Colin Law: > > On 3 December 2014 at 20:38, Roelof Wobben > wrote: > > Thanks, > > > > But I do not need a credit card. People pay by cash or by bank transfer. > > Nobody with any sense is going to buy online by cash or bank transfer > > Co

Re: [Rails] e-commerce

2014-12-03 Thread Colin Law
On 3 December 2014 at 20:38, Roelof Wobben wrote: > Thanks, > > But I do not need a credit card. People pay by cash or by bank transfer. Nobody with any sense is going to buy online by cash or bank transfer Colin > > Roelof > > > Op woensdag 3 december 2014 21:10:39 UTC+1 schreef clayton cottin

Re: [Rails] e-commerce

2014-12-03 Thread Roelof Wobben
Thanks, But I do not need a credit card. People pay by cash or by bank transfer. Roelof Op woensdag 3 december 2014 21:10:39 UTC+1 schreef clayton cottingham: > For ruby e commerce id suggest activemerchant.org to start with > > > It has a plugin based system for the processor gateways. > >

Re: [Rails] e-commerce

2014-12-03 Thread Clayton Cottingham
For ruby e commerce id suggest activemerchant.org to start with It has a plugin based system for the processor gateways. I have found that every processor gateways interface is different. Some run soap /wsdl, some are rest etc Hope that helps On 3 December, 2014 9:20:55 AM PST, Roelof Wobben

[Rails] Re: [chennai.rb] Schedule Heroku tasks without using 2 additional dynos

2014-12-03 Thread Ganesh Ranganathan
On Wed, Dec 3, 2014 at 5:39 PM, Harisankar P S wrote: > Thats true, I did a google on running cron job in heroku it seems there is > an addon called heroku scheduler[1] which would works like cron. But its > run hours would cost as as your regular dyno run hours so it wouldn't be a > cost efficie

[Rails] Real time Chat Application Using ROR 4,ruby 2.1.3,Mongodb

2014-12-03 Thread Chandra
Hi...I'm new to Ruby on Rails and working on product development. I need to implement chat application for all registered users.It should work like facebook chat or gmail chat.How to develop it using rails 4? Is there any code or plug-in's available for this task?I don't have any idea how to do

Re: [Rails] action for creating object through 3 models. rails 4

2014-12-03 Thread John Rodkey
I would recommend a different solution. You should not rely on an form to capture the user_id, unless the user is actually selectable from a dropdown. Yes, you could put the user_id in a hidden form field; however, that leaves it open to be changed by the user. Rather, I would do it this way

[Rails] e-commerce

2014-12-03 Thread Roelof Wobben
Hello, For a toy library I want to make a sort of e-commerce app for the financial part like payments by cash and bank, payable invoices and invoices to be payed. Also a membership part and a part where the borrow part can be dealed with. Is there a good tutorial where I can find all these thi

Re: [Rails] action for creating object through 3 models. rails 4

2014-12-03 Thread Psycho Shine
Thank you so much, brilliant solution) понедельник, 1 декабря 2014 г., 3:19:22 UTC-8 пользователь Vivek Sampara написал: > > def comment_params > params(:comment).merge!(:user_id => params[:user_id]) > params.require(:comment).permit(:body, :user_id)end > > > > On Mon, Dec 1, 2014 at 4:29 PM,

[Rails] Re: [chennai.rb] Schedule Heroku tasks without using 2 additional dynos

2014-12-03 Thread Harisankar P S
On Wed, Dec 3, 2014 at 3:50 PM, Ganesh Ranganathan < ganesh.ranganathan...@gmail.com> wrote: ᐧ > > ​I am not sure conventional cron jobs can be made to work on heroku. There > is no persistent file storage ​so even if the crontab file is edited, it > wont reflect on any other dyno. > > ​Thats true

Re: [Rails] Re: Handling File on Upload

2014-12-03 Thread Colin Law
On 3 December 2014 at 10:41, George Stoumpos wrote: > Hi spncrgr :D > > I am trying to do something similar...Is there a possibility that you have > this project on Github? (or somewhere, where i can view the code?) I rather doubt whether code from four years ago is likely to still be the best so

[Rails] Re: [chennai.rb] Schedule Heroku tasks without using 2 additional dynos

2014-12-03 Thread Harisankar P S
On Wed, Dec 3, 2014 at 3:24 PM, Ganesh Ranganathan < ganesh.ranganathan...@gmail.com> wrote: ᐧ > > Previously I was using the gem resque and resque-scheduler for this. The > problem however is that this requires 2 additional dynos, one for the > scheduler and one for the worker task to run on. >

[Rails] Re: Handling File on Upload

2014-12-03 Thread George Stoumpos
Hi spncrgr :D I am trying to do something similar...Is there a possibility that you have this project on Github? (or somewhere, where i can view the code?) Thank you in advance George. On Tuesday, 7 December 2010 22:53:25 UTC+2, spncrgr wrote: > > I was finally able to get this to work. I dit

[Rails] Re: [chennai.rb] Schedule Heroku tasks without using 2 additional dynos

2014-12-03 Thread Ganesh Ranganathan
On Wed, Dec 3, 2014 at 3:34 PM, Harisankar P S wrote: > > ​You could use the sucker punch gem which does the background processing > along with the rails process, so there shouldn't be the need to start > another dyno. Not sure about if we can schedule it to start at a particular > point of time.

Re: [Rails] Unpermitted parameter: contact_requests

2014-12-03 Thread Colin Law
On 3 December 2014 at 08:43, bradford li wrote: > I posted a question on stackoverflow: > > http://stackoverflow.com/questions/27267037/unpermitted-parameter-contact-requests > > I am having a bit of trouble learning rails right now and putting the pieces > together If you are just starting Rails

Re: [Rails] get and post on the same controller method

2014-12-03 Thread Colin Law
On 2 December 2014 at 18:16, Kareem Gan wrote: > What happens if you have get and post on the same method on a controller? > > Would it always be get first then if a user clicks on the submit button > becomes post? How do you set certain conditions that only must happen if a > user hits the submit

[Rails] Schedule Heroku tasks without using 2 additional dynos

2014-12-03 Thread Ganesh Ranganathan
Hi All, I have a rails app hosted on Heroku which needs a regular task to run every 30 mintues. The task takes 5 minutes to complete Previously I was using the gem resque and resque-scheduler for this. The problem however is that this requires 2 additional dynos, one for the scheduler and one for

Re: [Rails] Build report on Ruby on Rails

2014-12-03 Thread Colin Law
On 3 December 2014 at 07:58, Wolf Dev wrote: > Hello Everyone, > > I want to build reports that able to preview and convert to pdf format on > rails app. > if possible, I don't want to use any tool add-on (gem). > Anyone who has any guide or sample projects please suggest me. It is impossible to

[Rails] Unpermitted parameter: contact_requests

2014-12-03 Thread bradford li
I posted a question on stackoverflow: http://stackoverflow.com/questions/27267037/unpermitted-parameter-contact-requests I am having a bit of trouble learning rails right now and putting the pieces together -- You received this message because you are subscribed to the Google Groups "Ruby on

[Rails] Re: get and post on the same controller method

2014-12-03 Thread Frederick Cheung
On Tuesday, December 2, 2014 6:16:31 PM UTC, Kareem Gan wrote: > > What happens if you have get and post on the same method on a controller? > > Would it always be get first then if a user clicks on the submit button > becomes post? How do you set certain conditions that only must happen if a > u

[Rails] Build report on Ruby on Rails

2014-12-03 Thread Wolf Dev
Hello Everyone, I want to build reports that able to preview and convert to pdf format on rails app. if possible, I don't want to use any tool add-on (gem). Anyone who has any guide or sample projects please suggest me. Thank you. -- You received this message because you are subscribed to th

[Rails] Immediate Requirement for Ruby on Rails Developer @ Washington DC

2014-12-03 Thread murthykmm
Hi, Hope you are doing well. Below is the requirement with our client. I want to share with you the below requirement that is presently open with KMM Technologies. Please go through the job description below and let me know your comfort ability so that we can discuss more in detail more about

[Rails] Ruby on Rails Developer - São Paulo

2014-12-03 Thread Evaldo Rossi
POSITION: Ruby on Rails Developer - São Paulo SKILLS: Key Proficiencies: - 2 years of Ruby on Rails experience - Server infrastructure and Security - HTML, CSS, and Javascript Bonus Experience: - MongoDB COMPANY: WordData is the comprehensive marketing solution for mobile companies, tacklin

[Rails] Ruby on Rails ,TDD ,BDD ,API ,Redis, Resque

2014-12-03 Thread Ad Min
I am looking for Ruby on rails developers for Bangalore location Contract to hire position intersted candidates can send their resume immedaitely to manj...@suntiara.com -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe fro

[Rails] get and post on the same controller method

2014-12-03 Thread Kareem Gan
What happens if you have get and post on the same method on a controller? Would it always be get first then if a user clicks on the submit button becomes post? How do you set certain conditions that only must happen if a user hits the submit button sending a post request? -- You received this

[Rails] [ANN] direct_inject v0.1.0

2014-12-03 Thread Ryan Cook
Hi all, I was recently working on a project where I was hoping to utilize Sprockets for all the things that it was good at, but to inject the assets sources directly onto the page as opposed to linking to the assets by URL. Thus, this gem was born! Although this gem includes a zero-config integ