[Rails] How to put everything from directory into assets as subdirectory

2014-01-27 Thread Damjan Rems
By everything I mean everything. Untouched by assets pipeline. External javascript libraries, like CK Editor for example, dynamicly load javascript and css in runtime, depending on settings. So compiling them with assets pipeline into one file makes no sense, even worse it doesn't work at all.

Re: [Rails] Re: passenger apache2 setup with ipaddress

2014-01-27 Thread saravanan p
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 VirtualHost

[Rails] Re: How to put everything from directory into assets as subdirectory

2014-01-27 Thread Rick
On Monday, January 27, 2014 5:00:27 AM UTC-5, Ruby-Forum.com User wrote: By everything I mean everything. Untouched by assets pipeline. External javascript libraries, like CK Editor for example, dynamicly load javascript and css in runtime, depending on settings. So compiling them with

[Rails] Advice for RoR begginer, first book

2014-01-27 Thread Damián M. González
Hi guys, I'm looking for some help, some advice about which book should get to start to learn Rails. This is not an ordinary case, since I've mastered Ruby, the language itself. Been working with it for 2 years, I've made some desktop application, games, also I can programm in BDD way, know how to

[Rails] Search form validation

2014-01-27 Thread spurthi gunadhar
Hello everybody! I am new to Ruby on rails and so my doubt would be very trivial for the most of you. But, since I do not know to tackle the problem, I would like to ask you. I have a search method defined in my model. I need to add validations to the search method. Should I add a javascript

Re: [Rails] Search form validation

2014-01-27 Thread Walter Lee Davis
On Jan 27, 2014, at 9:41 AM, spurthi gunadhar wrote: Hello everybody! I am new to Ruby on rails and so my doubt would be very trivial for the most of you. But, since I do not know to tackle the problem, I would like to ask you. I have a search method defined in my model. I need to add

Re: [Rails] Search form validation

2014-01-27 Thread Yong Gu
Hi, I think you can try sing Form Object, see http://blog.codeclimate.com/blog/2012/10/17/7-ways-to-decompose-fat-activerecord-models/ On Jan 27, 2014, at 10:41 PM, spurthi gunadhar spu...@gmail.com wrote: Hello everybody! I am new to Ruby on rails and so my doubt would be very trivial for

[Rails] Ruby on Rails based Web IDE

2014-01-27 Thread Oleksii Zaitsev
I am going to create Ruby on Rails application that works like minimal web based IDE. I want to implement several components: 1. Web terminal to interact with local unix machine. 2. Tree view file navigation. 3. Text editor with syntax highlight. The main goal of application is to

[Rails] Re: How to put everything from directory into assets as subdirectory

2014-01-27 Thread Damjan Rems
It is not that I don't use assets pipeline. I do. And I like it. I just would like to know if there is any mechanizm inside Rails, that would automaticaly copy whole content from one directory to ../public/assets directory. Or must I do it by hand. by TheR -- Posted via

Re: [Rails] Customizing devise controllers

2014-01-27 Thread Dave Aronson
On Mon, Jan 27, 2014 at 1:18 AM, Avi aavinash.beh...@gmail.com wrote: What is the correct process to override [Devise's] controllers? https://github.com/plataformatec/devise#configuring-controllers -- Dave Aronson, the T. Rex of Codosaurus LLC (codosaur.us), freelance software developer, and

Re: [Rails] Advice for RoR begginer, first book

2014-01-27 Thread Dave Aronson
On Mon, Jan 27, 2014 at 9:10 AM, Damián M. González li...@ruby-forum.com wrote: I'm looking for some help, some advice about which book should get to start to learn Rails. This is not an ordinary case, since I've mastered Ruby, Even so, I would still recommend Michael Hartl's Rails Tutorial,

[Rails] Re: Ruby on Rails based Web IDE

2014-01-27 Thread Robert Walker
Oleksii Zaitsev wrote in post #1134538: I am going to create Ruby on Rails application that works like minimal web based IDE. I want to implement several components: 1. Web terminal to interact with local unix machine. 2. Tree view file navigation. 3. Text editor with syntax

[Rails] Re: Advice for RoR begginer, first book

2014-01-27 Thread Damián M. González
Thank you Dave, I'll do that. Any more advice? -- 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

[Rails] My rails app does not work

2014-01-27 Thread Marcus Vinicius
Hi, my app is not work. Can you help me? cannot load such file -- bundler Application log: [ pid=11873 thr=69923239138300 file=utils.rb:176 time=2014-01-27 20:00:04.706 ]: *** Exception LoadError in PhusionPassenger::Rack::ApplicationSpawner (cannot load such file -- bundler) (process

Re: [Rails] Re: Advice for RoR begginer, first book

2014-01-27 Thread Dave Aronson
On Mon, Jan 27, 2014 at 3:03 PM, Damián M. González li...@ruby-forum.com wrote: Thank you Dave, I'll do that. Any more advice? Mainly what Nike keeps telling you: Just Do It! There's no substitute for hands-on experience. -Dave -- Dave Aronson, the T. Rex of Codosaurus LLC (codosaur.us),

[Rails] Rails console Association error

2014-01-27 Thread Paul Kioko
I have tried to use the rails console to run the following: Teamplayer.includes(:live_player) It tells me: Association named 'live_player' was not found on Teamplayer; perhaps you misspelled it? so the tables are named live_players and teamplayers respectively. There is also another table

[Rails] before_validation on: :save and on: :create

2014-01-27 Thread andreo
Hey guys can somebody help me answer this question: http://stackoverflow.com/questions/21392960/rails-4-before-validation-on-create-or-on-save I am really getting frustated with this. -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To

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

2014-01-27 Thread Bizt
Hi guys, thanks for the many responses. I guess I've been doing it slightly wrong then, glad to have a better idea of how it is most commonly implemented. And yes, I've discovered Devise and used that within my site. Great addition, much better than doing it all myself (as I said, I'm new to

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

2014-01-27 Thread Anand Vignesh
Hey Rick, I'm new to ROR thats y i'm facing many challenges.. On Friday, January 24, 2014 7:51:40 PM UTC+5:30, Rick wrote: 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] Looking for Part-Time/Telecommmute Ruby on Rails Job

2014-01-27 Thread Swift Er
Hi everyone, I am in the market for a part-time and remote Ruby on Rails gig. I am located in the bay area and I can meet clients/companies who are located here. A little bit about me, I have been doing Ruby on Rails since 2.8.*. My experience has always been working with API but I am no stranger

Re: [Rails] Looking for Part-Time/Telecommmute Ruby on Rails Job

2014-01-27 Thread Thota praneeth
Hello, Yeah i'm having 2 years of experience in RoR and using html, css, jquery, haml and deploying in heroku. On Tue, Jan 28, 2014 at 12:25 PM, Swift Er li...@ruby-forum.com wrote: Hi everyone, I am in the market for a part-time and remote Ruby on Rails gig. I am located in the bay