[Rails] Advise on signing up users and activating their accounts

2014-01-24 Thread Bizt
I'm new to Rails but so far I've completed the Rails Tutorial book and applying that stuff to my first proper app. Later I will tackle implementing user authentication (sign up, sign in, sign out) In the book it demonstrates very well how to sign users up, validate, etc. Usually in my PHP apps

Re: [Rails] Rails upload video using paperclip

2014-01-24 Thread Samuel Tekleab
I am using paperclip to upload images but I don't know how to upload video. Is there any one who can help me. Thanks -- 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

[Rails] no _dump_data is defined for class Mysql2::Result

2014-01-24 Thread Anand Vignesh
Hi there, I'm Vignesh developer @ Rails application. I was now getting an issue while I'm migrating my existing application with rails '3.2.13' into rails '4.1.beta1' . This was my issue while i m signing in into my application no _dump_data is defined for class Mysql2::Result So if anyone

[Rails] Re: Advise on signing up users and activating their accounts

2014-01-24 Thread Frederick Cheung
On Friday, January 24, 2014 2:34:45 AM UTC+1, Bizt wrote: I'm new to Rails but so far I've completed the Rails Tutorial book and applying that stuff to my first proper app. Later I will tackle implementing user authentication (sign up, sign in, sign out) In the book it demonstrates very

Re: [Rails] Advise on signing up users and activating their accounts

2014-01-24 Thread Blaine LaFreniere
On 1/23/14, 6:34 PM, Bizt wrote: Anyway could someone perhaps comment on what is the most commonly practiced technique for activating users I would suggest the Devise gem, which is pretty commonly used. It's very thorough and complete. It comes with the ability to recover passwords via e-mail,

[Rails] Re: passenger apache2 setup with ipaddress

2014-01-24 Thread Mārtiņš Poļakovs
Hi, If I understand you correctly, you want to deploy your rails app to sub-uri. There's a how-to in passenger documentation: http://www.modrails.com/documentation/Users%20guide%20Apache.html#deploying_rails_to_sub_uri I think you don't have to put ServerName xxx.xxx.xx.xx at all in your

[Rails] Re: [JOB] Rails Developer Long Island, NY

2014-01-24 Thread Milan Patel
Hi Danielle Meyer, Hope you doing great!! MY contact details: Skype:milan.intelithub Email:mi...@intelithub.com Thanks!! Milan Patel Intel IT Hub -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk

Re: [Rails] Advise on signing up users and activating their accounts

2014-01-24 Thread Jordon Bedwell
On Thu, Jan 23, 2014 at 7:34 PM, Bizt martyn@gmail.com wrote: In the book it demonstrates very well how to sign users up, validate, etc. Usually in my PHP apps I have a process of allowing the user to signup, then they are sent a link to confirm their email address, then (from that link in

Re: [Rails] Advise on signing up users and activating their accounts

2014-01-24 Thread Jordon Bedwell
On Fri, Jan 24, 2014 at 4:00 AM, Jordon Bedwell envyge...@gmail.com wrote: On Thu, Jan 23, 2014 at 7:34 PM, Bizt martyn@gmail.com wrote: In the book it demonstrates very well how to sign users up, validate, etc. Usually in my PHP apps I have a process of allowing the user to signup, then

[Rails] before_filter CASClient::Frameworks::Rails::Filter

2014-01-24 Thread Anand Vignesh
Hi , Why does this before_filter CASClient::Frameworks::Rails::Filter is not working with rails 4.1.0.beta1 ??? Is there any solution to fix it? Or else is there gemfile which fixes it -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk

[Rails] Re: [JOB] Rails Developer Long Island, NY

2014-01-24 Thread Milan Patel
Hi Danielle, Hope you doing great!! We have great development team in RoR.So i would like to share my company work experience on RoR. Please have a look bellow link which our portfolio on RoR. https://www.dropbox.com/s/k7a2276se4vpjyr/Ruby%20on%20Rails.ppsx MY contact details:

Re: [Rails] Rails upload video using paperclip

2014-01-24 Thread Colin Law
On 24 January 2014 00:11, Samuel Tekleab samtk...@gmail.com wrote: I am using paperclip to upload images but I don't know how to upload video. Is there any one who can help me. Thanks I have not done this but googling for rails paperclip upload video provides lots of useful looking hits.

Re: [Rails] Rails upload video using paperclip

2014-01-24 Thread Walter Lee Davis
They are functionally identical -- binary file attachment in both cases. What else (besides uploading and attaching to a model) are you trying to accomplish? Walter On Jan 23, 2014, at 7:11 PM, Samuel Tekleab wrote: I am using paperclip to upload images but I don't know how to upload video.

Re: [Rails] [Need advice] Dynamic URL pointing at controllers action

2014-01-24 Thread buyzlots
You could do this with a param in the url… possibly MD5 the customer email. Then you can call some method to check it. Something like = render your_form if portfolio_customer?(params[:customer]) #then in the model. def portfolio_customer?(customer_key) customer_key ==

[Rails] Re: [Need advice] Dynamic URL pointing at controllers action

2014-01-24 Thread Rick
You might consider having a link_to testimonials within a project view that would provide a list of prior responses related to that project and a link_to request_testimonial if none exists. You should keep all project customer information private to the customer / developer team and only

[Rails] Re: no _dump_data is defined for class Mysql2::Result

2014-01-24 Thread Rick
you might do better with the Ruby on Rails: Core group... On Friday, January 24, 2014 12:44:22 AM UTC-5, Anand Vignesh wrote: Hi there, I'm Vignesh developer @ Rails application. I was now getting an issue while I'm migrating my existing application with rails '3.2.13' into rails

[Rails] Re: has_and_belongs_to_many and updated_at

2014-01-24 Thread Rick
On Thursday, January 23, 2014 11:46:03 AM UTC-5, Martin wrote: Hi there, When I have a model with has_and_belongs_to_many :keywords and a keyword is added or removed, how can I make it to update its updated_at timestamp? Hard to say without knowing what it you expect to see updated.

[Rails] Production vs Development

2014-01-24 Thread BeeRich
Hi folks. New to Rails. Got the following coming up using Passenger: We're sorry, but something went wrong. If you are the application owner check the logs for more information. Turns out mysql is barfing. My database.yml has my local mysql using a username and password set for all three

Re: [Rails] Production vs Development

2014-01-24 Thread Hassan Schroeder
On Fri, Jan 24, 2014 at 8:37 AM, BeeRich beer...@gmail.com wrote: Turns out mysql is barfing. That's so sad; maybe some ginger ale and a bit of bed rest will help? OR maybe post the actual error message/stack trace here? My database.yml has my local mysql using a username and password set

Re: [Rails] Production vs Development

2014-01-24 Thread BeeRich
On Jan 24, 2014, at 11:48 AM, Hassan Schroeder hassan.schroe...@gmail.com wrote: Turns out mysql is barfing. That's so sad; maybe some ginger ale and a bit of bed rest will help? Hey that's funny. OR maybe post the actual error message/stack trace here? My database.yml has my local

Re: [Rails] Production vs Development

2014-01-24 Thread Walter Lee Davis
On Jan 24, 2014, at 12:50 PM, BeeRich wrote: passenger (4.0.35) lib/phusion_passenger/rack/thread_handler_extension.rb:77:in `process_request' passenger (4.0.35) lib/phusion_passenger/request_handler/thread_handler.rb:142:in `accept_and_process_next_request' passenger (4.0.35)

Re: [Rails] Production vs Development

2014-01-24 Thread BeeRich
On Jan 24, 2014, at 12:54 PM, Walter Lee Davis wa...@wdstudio.com wrote: If you're clearly in development, why are you hitting passenger? What does your passenger configuration (in Apache or Nginx) look like? Did you set an environment flag explicitly to development? If not, I believe that

Re: [Rails] Production vs Development

2014-01-24 Thread Walter Lee Davis
On Jan 24, 2014, at 12:59 PM, BeeRich wrote: On Jan 24, 2014, at 12:54 PM, Walter Lee Davis wa...@wdstudio.com wrote: If you're clearly in development, why are you hitting passenger? What does your passenger configuration (in Apache or Nginx) look like? Did you set an environment flag

Re: [Rails] LAMP server configuration on Linux

2014-01-24 Thread Gift Mfugale
Thanks james! I will try to read the guide and consult you when i stuck On 22/01/2014, James Turley jamesturley1...@googlemail.com wrote: Passenger is your friend: http://www.modrails.com/documentation/Users%20guide%20Apache.html On Tue, Jan 21, 2014 at 5:58 PM, Gift Mfugale

Re: [Rails] Production vs Development

2014-01-24 Thread BeeRich
OK, with some reading I think I'll uninstall Passenger until I have some time to dedicate time to it. I thought it was a simple solution for apache. Thanks for the heads up. On Jan 24, 2014, at 1:05 PM, Walter Lee Davis wa...@wdstudio.com wrote: Sure. You just need to read through the

[Rails] Re: Request with Content-Type: application/json add extra parameter.

2014-01-24 Thread Trigger Woods
Is there meaning of adding a check of method type (GET or POST/PUT) to ParamsWrapper#_wrapper_enabled? For example: def _wrapper_enabled? return false if request.get? ref = request.content_mime_type.try(:ref) _wrapper_formats.include?(ref) _wrapper_key

[Rails] has_and_belongs_to_many question

2014-01-24 Thread Martin Sloan
Hello, I'm new to Ruby/Rails and going through 'Beginning Rails 4'. In chapter 6 it has me create a join table for an articles and categories table (articles_categories). In the migrate file I've entered this code from the book: class CreateArticlesCategories ActiveRecord::Migration def

Re: [Rails] has_and_belongs_to_many question

2014-01-24 Thread Blaine LaFreniere
On 1/24/14, 11:25 AM, Martin Sloan wrote: Hello, I'm new to Ruby/Rails and going through 'Beginning Rails 4'. In chapter 6 it has me create a join table for an articles and categories table (articles_categories). In the migrate file I've entered this code from the book: class

[Rails] Re: how to store ldap data in ruby on rails application database?

2014-01-24 Thread dave
Check this commit to the gitlab project ... https://github.com/gitlabhq/gitlabhq/commit/369dbaf39687f079dec40df20f3be367ca6c3ac7 On line #24 ... your_string.to_s.force_encoding(utf-8) On Tuesday, November 26, 2013 5:07:01 AM UTC-6, sukanta ghosh wrote: i have created a web app with rails4