[Rails] Re: Re: Re: Re: Create a new view without model

2014-05-20 Thread Fab Forestier
Colin Law wrote in post #1146617: > > So your problem is not creating a view without a model, it is invoking > an action from a view. It is no good just saying that you can't call > the action, what error are you getting? It does not look to me as if > that line is valid, look at the parentheses.

Re: [Rails] Ruby On Rails

2014-05-20 Thread Duong vong veasna
when i use gem install mysql2. I got this error. Result logged to C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/extensions/x86-mingw32/1.9.1/mysql-2.9.1/gem_make.out thanks you, On Tuesday, May 20, 2014 7:34:16 PM UTC-7, Germano Teixeira wrote: > > Did you try install the mysql gem before run

[Rails] Re: Ruby On Rails

2014-05-20 Thread Duong vong veasna
when i use gem install mysql2. I got this error. Result logged to C:/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/extensions/x86-mingw32/1.9.1/mysql-2.9.1/gem_make.out thanks you, On Tuesday, May 20, 2014 6:48:23 PM UTC-7, Duong vong veasna wrote: > > Dear all Rails Developers, i can not use th

[Rails] Re: Extending a model

2014-05-20 Thread Christophe N.
I'll take a look at that book and read on single table inheritance (STI). Thanks for your suggestions. I was also thinking about having a notification model and has N attributes. An attribute is a model that basically only have a type and value. Think that's a good idea? -- Posted via http://

[Rails] Re: Error when i try to in stall mysql

2014-05-20 Thread Duong vong veasna
On Tuesday, May 20, 2014 6:35:29 PM UTC-7, Duong vong veasna wrote: > > I am new new to developer on rails. i have problem when i try to use > command "rails install mysql" it said like this picture. > > Thanks you, > > >

Re: [Rails] Ruby On Rails

2014-05-20 Thread Germano Teixeira
Did you try install the mysql gem before run rails new command? Try run "gem install mysql2" as suggested by the log. This will show you what is the real problem. 2014-05-20 22:48 GMT-03:00 Duong vong veasna : > Dear all Rails Developers, i can not use the command "rails new app -d > mysql" whe

[Rails] Ruby On Rails

2014-05-20 Thread Duong vong veasna
Dear all Rails Developers, i can not use the command "rails new app -d mysql" when i try to use this i got error. please help me, thanks you. -- You received this message because you are su

Re: [Rails] Error when i try to in stall mysql

2014-05-20 Thread Benjamin Iandavid Rodriguez
On windows I think you need to install the DevKit( http://rubyinstaller.org/add-ons/devkit/), inside the devkit you will find instructions on how to patch your ruby installation to be able to compile native extensions. Also make sure you have mysql server installed. My best, Ian 2014-05-20 18:3

[Rails] Error when i try to in stall mysql

2014-05-20 Thread Duong vong veasna
I am new new to developer on rails. i have problem when i try to use command "rails install mysql" it said like this picture. Thanks you, -- You received this message because you are subscri

[Rails] Career Change - Building a Portfolio Advice

2014-05-20 Thread johnelahr
So someone posted previously that they were attempting to make a significant industry change into Ruby On Rails and I'm doing the same thing. I realize one of the most important things in getting a job in ROR or Ruby is a portfolio demonstrating what you can do. I'm wondering if people have su

[Rails] Re: Can ActiveRecord::Base.connection.schema_search_path be set per process?

2014-05-20 Thread Reginaldo Junior
I mean, is there a better solution that fits better Unicorn design? Em segunda-feira, 19 de maio de 2014 03h48min14s UTC-3, Frederick Cheung escreveu: > > > > > Is this solution going to fail even if Unicorn is one thread per > worker(EA37168483process)? If this is not the right way, what else c

[Rails] [JOBS] [Remote] Excellent Rails (full stack) developer required

2014-05-20 Thread Luke Saunders
I run a small consulting company based in London, UK. I am looking to employ an excellent developer full-time to help develop existing and upcoming projects. We work remotely so you can work from anywhere - there is no need to be based in the UK. We like to develop apps using the prime stack, wit

Re: [Rails] Re: Re: Re: Create a new view without model

2014-05-20 Thread Colin Law
On 20 May 2014 12:46, Fab Forestier wrote: > Colin Law wrote in post #1146603: >> >> But as you said yourself the tutorial does "create a view without a >> model". It is easy. All you have to do is make a controller file >> controllers/somename_controller.rb, put the desired actions in it, >> cr

[Rails] Question about Security and CVE, Rails 3.1.12

2014-05-20 Thread rene_gr
In a former blog-post, the rails maintainer stated, that after the release of 4.0 only 3.2 will get maintenance. I wonder: When you check out http://www.cvedetails.com/version-list/12043/22568/1/Rubyonrails-Ruby-

[Rails] Re: Re: Re: Create a new view without model

2014-05-20 Thread Fab Forestier
Colin Law wrote in post #1146603: > > But as you said yourself the tutorial does "create a view without a > model". It is easy. All you have to do is make a controller file > controllers/somename_controller.rb, put the desired actions in it, > create view files such as views/somename/theaction.ht

Re: [Rails] Re: Re: Create a new view without model

2014-05-20 Thread Colin Law
On 20 May 2014 11:07, Fab Forestier wrote: > Colin Law wrote in post #1146600: >> >> I don't think anyone knows what it is that you do not know how to do. >> I think it is something to do with routing but am not sure. Please >> describe just the bit you have a problem with, not the whole >> requi

[Rails] Re: Re: Create a new view without model

2014-05-20 Thread Fab Forestier
Colin Law wrote in post #1146600: > > I don't think anyone knows what it is that you do not know how to do. > I think it is something to do with routing but am not sure. Please > describe just the bit you have a problem with, not the whole > requirement. > > Colin I will have difficults to discri

Re: [Rails] Re: Create a new view without model

2014-05-20 Thread Colin Law
On 20 May 2014 08:44, Fab Forestier wrote: > I have looked more preciselly what does he do in railstutorial.org but > even login/logout chapter doesn't help me. Indeed he use resources in > he's routes. Then he rename new, destroy... path's in '/login' '/logout' > but in my case I can't do the sam

[Rails] Re: Rails unicorn start on boot error

2014-05-20 Thread Ed Ed
> Thanks, I undestood. And what should I do? I can't run script as other > user when boot? I've already solve my problem. I wrote 'su -l user -c command' in my local.start file, and everything is ok. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subsc

[Rails] Re: Rails unicorn start on boot error

2014-05-20 Thread Ed Ed
> Environment 1: running a script as user 'root' at boot time > Environment 2: running a script as you in a login shell > > One of these things is not like the other :-) > Thanks, I undestood. And what should I do? I can't run script as other user when boot? -- Posted via http://www.ruby-forum

[Rails] Re: Installing rvm on SLES 11 sp3(SUSE Linux Enterprise Server 11)

2014-05-20 Thread MichaƂ Papis
Please open a ticket => https://github.com/wayneeseguin/rvm/issues -- 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...@googlegrou

[Rails] Re: Create a new view without model

2014-05-20 Thread Fab Forestier
I have looked more preciselly what does he do in railstutorial.org but even login/logout chapter doesn't help me. Indeed he use resources in he's routes. Then he rename new, destroy... path's in '/login' '/logout' but in my case I can't do the same thing... I have no more ideas, and I have read

Re: [Rails] Extending a model

2014-05-20 Thread Colin Law
On 19 May 2014 05:18, Christophe N. wrote: > I'm not sure what is the best approach for my problem. I need a model > for notification (or alerts) in my application. Notifications are based > on > services, have multiple fields to define conditions and are associated > with a user. Here's an exampl

[Rails] Re: Extending a model

2014-05-20 Thread andreo
The best advice I can give you here, is one I have read on Sandy Metz book(http://www.amazon.co.uk/Practical-Object-Oriented-Design-Ruby-Primer/dp/B00D81W074%3FSubscriptionId%3DAKIAILSHYYTFIVPWUY6Q%26tag%3Dduc08-21%26linkCode%3Dxm2%26camp%3D2025%26creative%3D165953%26creativeASIN%3DB00D81W074): Y