[Rails] Rails Server gets killed without a error message

2015-03-13 Thread Roelof Wobben
Hello, I working on a new project and made all the templates ready. But as soon as I do rails s I see this output : Started GET / for 82.74.205.109 at 2015-03-13 15:25:30 +

Re: [Rails] Rails Server gets killed without a error message

2015-03-13 Thread Roelof Wobben
schreef Vivek Sampara: What do you see in the logs ? On 13 Mar 2015 21:13, Roelof Wobben rwo...@hotmail.com javascript: wrote: Hello, I working on a new project and made all the templates ready. But as soon as I do rails s I see this output : Started GET / for 82.74.205.109 at 2015-03

Re: [Rails] Rails Server gets killed without a error message

2015-03-13 Thread Roelof Wobben
end-of-input, expecting keyword_end Roelof Op vrijdag 13 maart 2015 17:09:58 UTC+1 schreef Colin Law: On 13 March 2015 at 15:29, Roelof Wobben rwo...@hotmail.com javascript: wrote: Hello, I working on a new project and made all the templates ready. But as soon as I do rails s

Re: [Rails] double authocetation : how can I do it the best ?

2014-12-23 Thread Roelof Wobben
Sampara: Hi , Instead of implementing it from scratch try to include any ror ecommerce gems and let it handle the cart and sessions. i personally like the simplicity of piggybak https://github.com/piggybak/piggybak . Cheers On Tue, Dec 23, 2014 at 12:33 PM, Roelof Wobben rwo...@hotmail.com

Re: [Rails] double authocetation : how can I do it the best ?

2014-12-23 Thread Roelof Wobben
comes to the counter , the end client does not login right ? Then all you have to do is use the same ecommerce solution and let your staff impersonate your clients . Look at this https://github.com/rcook/user_impersonate2 gem. On Tue, Dec 23, 2014 at 2:08 PM, Roelof Wobben rwo...@hotmail.com

[Rails] double authocetation : how can I do it the best ?

2014-12-22 Thread Roelof Wobben
Hello, I have this situation. I m a volunteer on a toy library and I want to write a financial / borrow app for the toy library. Now I have two seperate roles : staff member and client. Staff member can log in and put things into the system. Client is not allowed to do anything in the

[Rails] Can this factory be changed into Faker

2014-12-12 Thread Roelof Wobben
Hello, I have made this factory : factory :product do description This is the first book image_url test.jpg price 1.00 sequence (:title) { |n| book#{n} } end Now I wonder if this can be converted to faker but price needs to be higher or equal to 0.01

[Rails] Re: Why does this test fail.

2014-12-08 Thread Roelof Wobben
Op maandag 8 december 2014 12:42:14 UTC+1 schreef Matt Jones: On Sunday, 7 December 2014 11:50:57 UTC-6, Roelof Wobben wrote: Hello, Sorry for the double post but on reddit nobody seems to have the solution. im following the agile web developement book but then with my own layout

[Rails] No route matches {:action=show, :controller=carts} missing required keys: [:id]

2014-12-08 Thread Roelof Wobben
Hello, I follow the Agile Web development book. Now as a extra challenge I try to make the card visible on a seperate page. So I made this link : li%= link_to 'i class=fa fa-money/i Card'.html_safe, cart_path % /li But now I see the above error message. When I do card_path (:id) I see a

Re: [Rails] No route matches {:action=show, :controller=carts} missing required keys: [:id]

2014-12-08 Thread Roelof Wobben
8, 2014 at 6:48 PM, Roelof Wobben rwo...@hotmail.com javascript: wrote: Hello, I follow the Agile Web development book. Now as a extra challenge I try to make the card visible on a seperate page. So I made this link : li%= link_to 'i class=fa fa-money/i Card'.html_safe, cart_path

Re: [Rails] No route matches {:action=show, :controller=carts} missing required keys: [:id]

2014-12-08 Thread Roelof Wobben
exact card this link should take them to. On Mon, Dec 8, 2014 at 6:48 PM, Roelof Wobben rwo...@hotmail.com wrote: Hello, I follow the Agile Web development book. Now as a extra challenge I try to make the card visible on a seperate page. So I made this link : li%= link_to 'i class

[Rails] Why does this test fail.

2014-12-07 Thread Roelof Wobben
Hello, Sorry for the double post but on reddit nobody seems to have the solution. im following the agile web developement book but then with my own layout. Now am at chapter 9 where a shopping card is added. But as soon as I try to test the card I see this error

[Rails] Re: how to test the contents of the p tag

2014-12-06 Thread Roelof Wobben
on things that change often, I would probably test that the product.title exists, regardless of what tag its wrapped in. On Friday, December 5, 2014 2:12:36 PM UTC-5, Roelof Wobben wrote: Hello, I want to test the contents of the p tag here : ~~~ div class=productinfo text-center

[Rails] how to test the contents of the p tag

2014-12-05 Thread Roelof Wobben
Hello, I want to test the contents of the p tag here : ~~~ div class=productinfo text-center %= image_tag product.image_url % h2%=number_to_currency(product.price)%/h2

[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

Re: [Rails] e-commerce

2014-12-03 Thread Roelof Wobben
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 rwo...@hotmail.com javascript: wrote: Hello, For a toy library I want to make a sort of e-commerce app

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 rwo...@hotmail.com javascript: 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

[Rails] NoMethodError: undefined method `password_digest=

2014-12-01 Thread Roelof Wobben
Hello, I did all the steps from the Hartl tutorial but as soon as I do this : User.create(name: Michael Hartl, email: mha...@example.com,password: foobar, password_confirmation: foobar) on the rails console, I see this error message : NoMethodError: undefined method `password_digest='

Re: [Rails] NoMethodError: undefined method `password_digest=

2014-12-01 Thread Roelof Wobben
Davis: On Dec 1, 2014, at 10:32 AM, Roelof Wobben rwo...@hotmail.com javascript: wrote: Hello, I did all the steps from the Hartl tutorial but as soon as I do this : User.create(name: Michael Hartl, email: mha...@example.com javascript:,password: foobar

Re: [Rails] NoMethodError: undefined method `password_digest=

2014-12-01 Thread Roelof Wobben
Walter Lee Davis: It may have been renamed since the example I looked at. I haven't used 4.2 yet. (Okay, just checked, and it is the way you describe -- same version, even -- in 4.1. Sorry for the noise.) Walter On Dec 1, 2014, at 10:44 AM, Roelof Wobben rwo...@hotmail.com javascript

Re: [Rails] NoMethodError: undefined method `password_digest=

2014-12-01 Thread Roelof Wobben
Op maandag 1 december 2014 17:15:06 UTC+1 schreef Colin Law: On 1 December 2014 at 15:51, Roelof Wobben rwo...@hotmail.com javascript: wrote: Yep, I did all the steps. Though have not responded to my request that you do not top post. :( So your Gemfile is exactly the same

Re: [Rails] NoMethodError: undefined method `password_digest=

2014-12-01 Thread Roelof Wobben
Op maandag 1 december 2014 17:39:01 UTC+1 schreef Colin Law: On 1 December 2014 at 16:20, Roelof Wobben rwo...@hotmail.com javascript: wrote: Op maandag 1 december 2014 17:15:06 UTC+1 schreef Colin Law: On 1 December 2014 at 15:51, Roelof Wobben rwo...@hotmail.com wrote

Re: [Rails] NoMethodError: undefined method `password_digest=

2014-12-01 Thread Roelof Wobben
Op maandag 1 december 2014 18:12:56 UTC+1 schreef Colin Law: On 1 December 2014 at 17:04, Roelof Wobben rwo...@hotmail.com javascript: wrote: Op maandag 1 december 2014 17:39:01 UTC+1 schreef Colin Law: On 1 December 2014 at 16:20, Roelof Wobben rwo...@hotmail.com wrote

[Rails] migration problem

2014-11-30 Thread Roelof Wobben
Hello, I have this migration file : class CreateUsers ActiveRecord::Migration def change create_table :users do |t| t.string :name t.string :email t.timestamps null: false end end end but as soon as I do rake db:migrate I see this errors appear: bundle exec

Re: [Rails] migration problem

2014-11-30 Thread Roelof Wobben
: On 30 November 2014 at 20:54, Roelof Wobben rwo...@hotmail.com javascript: wrote: Hello, I have this migration file : class CreateUsers ActiveRecord::Migration def change create_table :users do |t| t.string :name t.string :email t.timestamps null

[Rails] something wierd in Hartl newest tutorial

2014-11-28 Thread Roelof Wobben
IM at chapter 2 exercises and then he asked if you can try this : class User ActiveRecord::Base has_many :microposts validates FILL_IN, presence: true validates FILL_IN, presence: true end but as soon as I do rails s I see this error messages : Started GET /users/4 for

Re: [Rails] something wierd in Hartl newest tutorial

2014-11-28 Thread Roelof Wobben
You are right. Next time I wil do this sorts of things when I have more time. Roelof Op vrijdag 28 november 2014 15:06:32 UTC+1 schreef Colin Law: On 28 November 2014 at 14:00, Roelof Wobben rwo...@hotmail.com javascript: wrote: IM at chapter 2 exercises and then he asked if you can

Re: [Rails] something wierd in Hartl newest tutorial

2014-11-28 Thread Roelof Wobben
No, I mean that I do not do the exercises if have for example 10 minutes free time. Roelof Op vrijdag 28 november 2014 21:24:17 UTC+1 schreef Colin Law: On 28 November 2014 at 19:18, Roelof Wobben rwo...@hotmail.com javascript: wrote: You are right. Next time I wil do

[Rails] Any reason to use minitest instead of Rspec

2014-11-20 Thread Roelof Wobben
Hello, I try again to learn ruby and Im following now Agile Web development in Rails 4 I see that the author uses minitest to test models. Is there any reason to use minitest instead of Rspec to test models and controllers. Roelof -- You received this message because you are subscribed

Re: [Rails] money gem question

2014-09-28 Thread Roelof Wobben
Hello Colin, Sorry for the confusion but I mean this one : https://github.com/RubyMoney/money-rails Roelof Op zaterdag 27 september 2014 22:13:41 UTC+2 schreef Colin Law: On 27 September 2014 20:35, Roelof Wobben rwo...@hotmail.com javascript: wrote: Hello, If I use the money

Re: [Rails] money gem question

2014-09-28 Thread Roelof Wobben
Oke, So first the first one I can make my model and save it and with the second I can do the calculation ? Roelof Op zondag 28 september 2014 09:50:43 UTC+2 schreef Colin Law: On 28 September 2014 08:18, Roelof Wobben rwo...@hotmail.com javascript: wrote: Hello Colin, Sorry

[Rails] money gem question

2014-09-27 Thread Roelof Wobben
Hello, If I use the money gem for storing amounts of money which can be payed by a user, can I also do calculations on it . Roelof -- 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

[Rails] How to deal with css files only for specific pages.

2014-09-18 Thread Roelof Wobben
hello, I have found a html template where I some pages need specific css files and of course there are some common css files. How can I best deal with it ? Roelof -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To unsubscribe from

Re: [Rails] what is the best way to put this into models

2014-09-08 Thread Roelof Wobben
Wobben rwo...@hotmail.com javascript: wrote: The problem is if it is the best to put all in seperate models or if there is a better solution ? Roelof Op zondag 7 september 2014 18:11:13 UTC+2 schreef Colin Law: On 7 September 2014 17:07, Roelof Wobben rwo...@hotmail.com wrote

[Rails] what is the best way to put this into models

2014-09-07 Thread Roelof Wobben
Hello, I try to make a financial app. Now I have this problem. I have customers which are put into a model. What I want is if I made a customer also a financial account is made with a specific number. So customer 1 has account number 16001. If the customer buys anything a invoice is made and

Re: [Rails] what is the best way to put this into models

2014-09-07 Thread Roelof Wobben
Almost, I could do that but then how do I store the transactions. Another models transactions which points to accounts ? Roelof Op zondag 7 september 2014 11:14:40 UTC+2 schreef Colin Law: On 7 September 2014 08:14, Roelof Wobben rwo...@hotmail.com javascript: wrote: Hello, I

Re: [Rails] what is the best way to put this into models

2014-09-07 Thread Roelof Wobben
Transactions could be a model for all the transactions that take place on accounts. Like a payment or a new invoice. Roelof Op zondag 7 september 2014 14:25:00 UTC+2 schreef Colin Law: On 7 September 2014 12:23, Roelof Wobben rwo...@hotmail.com javascript: wrote: Almost, I

Re: [Rails] what is the best way to put this into models

2014-09-07 Thread Roelof Wobben
The problem is if it is the best to put all in seperate models or if there is a better solution ? Roelof Op zondag 7 september 2014 18:11:13 UTC+2 schreef Colin Law: On 7 September 2014 17:07, Roelof Wobben rwo...@hotmail.com javascript: wrote: Transactions could be a model for all

Re: [Rails] devise : simple log in system

2014-08-30 Thread Roelof Wobben
Op zaterdag 30 augustus 2014 07:18:55 UTC+2 schreef Walter Lee Davis: On Aug 29, 2014, at 4:24 PM, Roelof Wobben wrote: Hello, I want to use Devise for authecation. The only thing I need is that I as admin can register user with a password. If the user looses her/his

Re: [Rails] devise : simple log in system

2014-08-30 Thread Roelof Wobben
Op zaterdag 30 augustus 2014 16:52:26 UTC+2 schreef Walter Lee Davis: On Aug 30, 2014, at 3:22 AM, Roelof Wobben wrote: Op zaterdag 30 augustus 2014 07:18:55 UTC+2 schreef Walter Lee Davis: On Aug 29, 2014, at 4:24 PM, Roelof Wobben wrote: Hello, I want to use

Re: [Rails] devise : simple log in system

2014-08-30 Thread Roelof Wobben
@Walter: Maybe your suggestion about invite can work. Do you have a project where I can look how things are working then ? Roelof Op zaterdag 30 augustus 2014 17:05:11 UTC+2 schreef Roelof Wobben: Op zaterdag 30 augustus 2014 16:52:26 UTC+2 schreef Walter Lee Davis: On Aug 30, 2014

Re: [Rails] devise : simple log in system

2014-08-30 Thread Roelof Wobben
Op zaterdag 30 augustus 2014 18:22:14 UTC+2 schreef Hassan Schroeder: On Sat, Aug 30, 2014 at 8:05 AM, Roelof Wobben rwo...@hotmail.com javascript: wrote: The only thing I need is that I as admin can register user with a password. If the user looses her/his password then I

[Rails] devise : simple log in system

2014-08-29 Thread Roelof Wobben
Hello, I want to use Devise for authecation. The only thing I need is that I as admin can register user with a password. If the user looses her/his password then I get a mail and I as admin can make a new one. Which modules can I use the best ? Roelof -- You received this message

[Rails] multipage form with devise and another model

2014-08-20 Thread Roelof Wobben
Hello, Im thinking of making a Multi-page form . On page 1 the name, adress and city data. On page 2 a question which description the user needs and if the user is also a volunteer. On page 3 if the user is a volunteer . Here must be a login name and password filled in. Here I want to use

Re: [Rails] multipage form with devise and another model

2014-08-20 Thread Roelof Wobben
So more then 1 model for storing data. Can I look at your project how you did it exactly ? Roelof Op woensdag 20 augustus 2014 08:45:02 UTC+2 schreef Robert O'Connor: I'm doing something similar...I use a reference to the user...storing extra data elsewhere Hello, Im thinking of

[Rails] good online ide for Rails

2014-08-19 Thread Roelof Wobben
Hello, I looked at several ide but no one worked for me. Now I wonder if there is a good online cloud ide which I can use for rails development ? Roelof -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To unsubscribe from this group

Re: [Rails] good online ide for Rails

2014-08-19 Thread Roelof Wobben
dinsdag 19 augustus 2014 17:41:33 UTC+2 schreef Hassan Schroeder: On Tue, Aug 19, 2014 at 7:43 AM, Roelof Wobben rwo...@hotmail.com javascript: wrote: I looked at several ide but no one worked for me. Saying doesn't work about tools is as meaningless as saying it about code or apps

Re: [Rails] conditional layout question ? sidebar visible on all pages except the login page.

2014-08-14 Thread Roelof Wobben
need _path. So in your case, since it is the login which I'm assuming is new_admin_session, it would be %= render “sidebar” unless current_page?(new_admin_session_path) % On Wednesday, August 13, 2014 1:20:26 PM UTC-6, Roelof Wobben wrote: Rake routes : Prefix Verb URI Pattern

Re: [Rails] conditional layout question ? sidebar visible on all pages except the login page.

2014-08-14 Thread Roelof Wobben
?(new_admin_session_path) % On Thursday, August 14, 2014 1:16:05 AM UTC-5, Roelof Wobben wrote: then I see this error message ; undefined local variable or method `“sidebar”' for ##Class:0x007fc6a2ce9c38:0x007fc6a50d7118 Where I have a sidebar.html.erb and a _sidebar.html.erb in the same

Re: [Rails] conditional layout question ? sidebar visible on all pages except the login page.

2014-08-14 Thread Roelof Wobben
be found here : http://pastebin.com/4HJ69Pa7 Roelof Op donderdag 14 augustus 2014 15:56:33 UTC+2 schreef Colin Law: On 14 August 2014 14:10, Roelof Wobben rwo...@hotmail.com javascript: wrote: undefined local variable or method `“layouts' for ##Class:0x007f50394a0340:0x007f503949ded8 Show us

Re: [Rails] conditional layout question ? sidebar visible on all pages except the login page.

2014-08-14 Thread Roelof Wobben
:in `_app_views_layouts_application_html_erb___4215202385565524198_70030324135900' Or do you mean the application.stack, framework trace or the whole trace. I see the error when doing rails s Roelof Op donderdag 14 augustus 2014 17:52:25 UTC+2 schreef Colin Law: On 14 August 2014 16:21, Roelof Wobben rwo...@hotmail.com javascript: wrote

Re: [Rails] conditional layout question ? sidebar visible on all pages except the login page.

2014-08-14 Thread Roelof Wobben
donderdag 14 augustus 2014 19:19:36 UTC+2 schreef Hassan Schroeder: On Thu, Aug 14, 2014 at 10:10 AM, Roelof Wobben rwo...@hotmail.com javascript: wrote: ActionView::Template::Error (undefined local variable or method `“layouts' for ##Class:0x007f6269e4a548:0x007f6269e49080): 21

[Rails] conditional layout question ? sidebar visible on all pages except the login page.

2014-08-13 Thread Roelof Wobben
Hello, Allmost all pages have the same layout except the login page. There the sidebar with menu is not visible. Is there a way to tell rails that when im on the login page the sidebar must not be visible. Roelof -- You received this message because you are subscribed to the Google Groups

Re: [Rails] conditional layout question ? sidebar visible on all pages except the login page.

2014-08-13 Thread Roelof Wobben
oke , and put this in the controller ?? Roelof Op woensdag 13 augustus 2014 08:26:52 UTC+2 schreef matt: you could use current_page with route to check the page. Ex: render “sidebar” unless current_page?(login_path) Matt On Aug 13, 2014, at 2:20 AM, Roelof Wobben rwo...@hotmail.com

Re: [Rails] conditional layout question ? sidebar visible on all pages except the login page.

2014-08-13 Thread Roelof Wobben
are using. %= render “sidebar” unless current_page?(login_path) % On Wednesday, August 13, 2014 12:32:48 AM UTC-6, Roelof Wobben wrote: oke , and put this in the controller ?? Roelof Op woensdag 13 augustus 2014 08:26:52 UTC+2 schreef matt: you could use current_page with route

Re: [Rails] conditional layout question ? sidebar visible on all pages except the login page.

2014-08-13 Thread Roelof Wobben
to see your login path. 2014-08-13 16:08 GMT-03:00 Germano Teixeira germ...@gmail.com javascript:: You have to look in your routes file what is your login_path. login_path is just a example. 2014-08-13 15:24 GMT-03:00 Roelof Wobben rwo...@hotmail.com javascript:: Sorry but I do

[Rails] custom button. How to do this ?

2014-08-12 Thread Roelof Wobben
Hello, For my project I need a button which produces this in html ; button class=btn btn-blue type=submitSubmit/button I tried already button tag and content_tag but also that did not produce the output as I expected. Roelof -- You received this message because you are subscribed to

[Rails] Re: I see two times the head section when porting a html piece in erb

2014-08-08 Thread Roelof Wobben
'); } }) }) // Ready. /script /body /html routes.rb : Rails.application.routes.draw do get 'dashboard/show' root 'dashboard#show' end Op donderdag 7 augustus 2014 23:10:59 UTC+2 schreef Frederick Cheung: On Thursday, August 7, 2014 7:48:21 PM UTC+1, Roelof Wobben wrote: How can

[Rails] Re: I see two times the head section when porting a html piece in erb

2014-08-08 Thread Roelof Wobben
Op vrijdag 8 augustus 2014 09:54:13 UTC+2 schreef Frederick Cheung: On Friday, August 8, 2014 8:32:18 AM UTC+1, Roelof Wobben wrote: I arrive at this result this way ? Dashboard-controller.rb : class DashboardController ApplicationController def show end end

[Rails] I see two times the head section when porting a html piece in erb

2014-08-07 Thread Roelof Wobben
Hello, I have this piece: !DOCTYPE html html lang=en head meta http-equiv=Content-Type content=text/html; charset=utf-8 meta name=viewport content=width=device-width, initial-scale=1.0 titleLiberator Admin Theme/title link rel=apple-touch-icon sizes=144x144

[Rails] TemplateVamp problem. How to make partials of it.

2014-08-05 Thread Roelof Wobben
Hello, I like very much this theme ( http://www.egrappler.com/bootstrap-responsive-admin-template/index.html) But every page has his own code and css files. How can I make use of partials ? Roelof -- You received this message because you are subscribed to the Google Groups Ruby on Rails:

[Rails] undefined method `authenticate' for nil:NilClass

2014-07-21 Thread Roelof Wobben
Hello, I do still follow the Hartl tutorial. Am at chapter 6 and according to the manual the test schould be successfull but I see these error messages: Failures:

Re: [Rails] undefined method `authenticate' for nil:NilClass

2014-07-21 Thread Roelof Wobben
inside a before block - Include Devise test helpers Here's a link to the Devise Wiki https://github.com/plataformatec/devise#test-helpers Cheers, Ian 2014-07-21 9:26 GMT-07:00 Scott Ribe scott...@elevated-dev.com: On Jul 21, 2014, at 10:19 AM, Roelof Wobben rwo...@hotmail.com wrote

Re: [Rails] undefined method `authenticate' for nil:NilClass

2014-07-21 Thread Roelof Wobben
21, 2014, at 10:53 AM, Roelof Wobben rwo...@hotmail.com javascript: wrote: Hello, I checked and double checked it but it looks allright to me. I even copy/paste it to my files but still no luck. The problem must be somewhere here: describe with a password that's too

Re: [Rails] undefined method `authenticate' for nil:NilClass

2014-07-21 Thread Roelof Wobben
I wonder if all the end are right here : https://github.com/roelof1967/sample_app_nutrious/blob/chapter_six/spec/models/user_spec.rb Roelof Op maandag 21 juli 2014 19:23:09 UTC+2 schreef Roelof Wobben: Nope, Otherwise I would not ask here. user is filled because of this : before do

[Rails] test 7,9 schould be failing but is a success (Michael Hart tutorial)

2014-07-17 Thread Roelof Wobben
Hello, IM at listing 7,9 of the tutorial and according to the book that one must be red. But on my system it is green. Can anyone explain that. My code can be found here : https://github.com/roelof1967/sample_app Roelof -- You received this message because you are subscribed to the

Re: [Rails] test 7,9 schould be failing but is a success (Michael Hart tutorial)

2014-07-17 Thread Roelof Wobben
Colin, Thanks, But how can I use puts when rspec is checking for the tags title I have looked at the log/test.logs but nothing looks wierd there. Roelof Op donderdag 17 juli 2014 16:16:57 UTC+2 schreef Colin Law: On 17 July 2014 12:44, Roelof Wobben rwo...@hotmail.com javascript: wrote

[Rails] File to import not found or unreadable: bootstrap. Michaeal harts tutorial

2014-07-16 Thread Roelof Wobben
Hello, Im following Micheal harts tutorial. On chapter 5 you have to change the custum.css.scss file. But when I do rails s I see the above error. You can find all the sources here : https://github.com/roelof1967/sample_app Roelof -- You received this message because you are subscribed

Re: [Rails] File to import not found or unreadable: bootstrap. Michaeal harts tutorial

2014-07-16 Thread Roelof Wobben
-rails (= 4.0.1) ruby depends on railties (4.1.4) Op woensdag 16 juli 2014 11:07:04 UTC+2 schreef Colin Law: On 16 July 2014 08:52, Roelof Wobben rwo...@hotmail.com javascript: wrote: Hello, Im following Micheal harts tutorial. On chapter 5 you have to change

[Rails] Re: layout rendering problem

2014-07-14 Thread Roelof Wobben
because it's a partial. On Sunday, July 13, 2014 5:45:39 AM UTC-6, Roelof Wobben wrote: Hello, I have this directory layout. app/views - welcome index.html.haml --- layouts -- login.html.haml So to use the login.html.haml I thought this would work. Contents of welcome

[Rails] how to make this form

2014-07-14 Thread Roelof Wobben
Hello, I have read several pages but I cannot find how to make a form with this field ; div class=field label for=Login naam Login naam:/label input type=text id=firstname name=firstname value= placeholder=login naam class=login / /div

[Rails] layout rendering problem

2014-07-13 Thread Roelof Wobben
Hello, I have this directory layout. app/views - welcome index.html.haml --- layouts -- login.html.haml So to use the login.html.haml I thought this would work. Contents of welcome/index.html = render 'layouts/login' But still I see a template missing error message. How

[Rails] cannot see my own layout (hierapolis gem)

2014-07-12 Thread Roelof Wobben
Hello, I did a whole ruby on rails install. After that I wanted to use the hierapolis gem and did all the steps in the README. But when I do rails s , I still see the standard welcome page. What must I do to make this work. Roelof -- You received this message because you are subscribed to

Re: [Rails] cannot see my own layout (hierapolis gem)

2014-07-12 Thread Roelof Wobben
, Roelof Wobben wrote: Hello, I did a whole ruby on rails install. After that I wanted to use the hierapolis gem and did all the steps in the README. But when I do rails s , I still see the standard welcome page. What must I do to make this work. Roelof -- You

Re: [Rails] cannot see my own layout (hierapolis gem)

2014-07-12 Thread Roelof Wobben
On Jul 12, 2014, at 10:38 AM, Roelof Wobben wrote: Hoi, I use the 4.1 ruby. Roelof Op zaterdag 12 juli 2014 14:24:49 UTC+2 schreef Walter Lee Davis: In the original install, did you use Rails 4.1, or was it a lower version? If lower, did you delete the index.html file

[Rails] how to make this the ruby way ?

2014-07-08 Thread Roelof Wobben
Hello, I try to convert a responsive html5 template to the ruby template system. Now I wonder how to convert this part ; noscript link rel=stylesheet href=css/skel-noscript.css / link rel=stylesheet href=css/style.css / link rel=stylesheet href=css/style-wide.css / /noscript

Re: [Rails] Editable grid

2014-07-06 Thread Roelof Wobben
Hello, I thought about using wice_grid but I do not see how I can save the selection that a user made so I can pass it to the edit form. Roelof Op zaterdag 5 juli 2014 22:49:22 UTC+2 schreef Colin Law: On 5 July 2014 21:34, Roelof Wobben rwo...@hotmail.com javascript: wrote: Hello

[Rails] Editable grid

2014-07-05 Thread Roelof Wobben
Hello, I like to have a grid where I can display all the users. On that form there is a edit button. So I like to choose a user and when I press edit then a form where I can edit the user data. Is this possible and how can I achieve it. Roelof -- You received this message because you are

[Rails] How can I use the cascadeplatform and Ror

2014-07-03 Thread Roelof Wobben
Hello, I made a layout with the cascadeplatform. Where do I put that on a Ror project so I can use it on my project? Roelof -- 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

[Rails] WARN: Unresolved specs during Gem::Specification.reset:

2014-07-01 Thread Roelof Wobben
Hello, I installed cucumber with rspec and the ruby-racer. But when I do cucumber I see these error messages: WARN: Unresolved specs during Gem::Specification.reset: rake (= 0.8.7) WARN: Clearing out unresolved specs. Please report a bug if this causes problems. How to solve this ?

Re: [Rails] WARN: Unresolved specs during Gem::Specification.reset:

2014-07-01 Thread Roelof Wobben
Nope, I only found that I could use gem cleanup or gem uninstall and then install but they all do not work. That is why I asked here. Roelof Op dinsdag 1 juli 2014 17:47:05 UTC+2 schreef Colin Law: On 1 July 2014 15:17, Roelof Wobben rwo...@hotmail.com javascript: wrote: Hello

Re: [Rails] WARN: Unresolved specs during Gem::Specification.reset:

2014-07-01 Thread Roelof Wobben
Op dinsdag 1 juli 2014 19:10:27 UTC+2 schreef Greg Akins: On Tue, Jul 1, 2014 at 12:41 PM, Roelof Wobben rwo...@hotmail.com javascript: wrote: WARN: Unresolved specs during Gem::Specification.reset: It's hard to tell what isn't working unless you give us a bit more information. I

[Rails] How can I check this ?

2014-06-30 Thread Roelof Wobben
Hello, Suppose I have this model : class Member ActiveRecord::Base end Now I have this controller : class MemberController ApplicationController def new @member = member end end and this form : h1Add a new member/h1 %= form_for @member do |form| % p %= form.label

Re: [Rails] How can I check this ?

2014-06-30 Thread Roelof Wobben
Thanks, The last one is what I needed. Now I have to figure out how I can use this in a cucumber scenario. Roelof Op maandag 30 juni 2014 17:49:03 UTC+2 schreef Colin Law: On 30 June 2014 16:19, Roelof Wobben rwo...@hotmail.com javascript: wrote: Hello, Suppose I have

[Rails] menu bar like navigation. How to make such a thing ?

2014-06-29 Thread Roelof Wobben
Hello, I trying to build a invoice app. Now I try to find another way of navigation as a menu. I see that that some web app uses some sort of a menu bar. Can I make such a thing in ruby on rails together with a background. Roelof -- You received this message because you are subscribed to

[Rails] How can I make this model the best ?

2014-06-25 Thread Roelof Wobben
Hello, I have a model called abbonement which should contain a title and a amount. Then I have a model called members which contains the name, adress, city and which abbonement the member has. Can I then use belongs _to or is there a better way of doing this. The abbonement is a drop

Re: [Rails] How can I make this model the best ?

2014-06-25 Thread Roelof Wobben
, *Gopinath M* Ruby on Rails Developer Contact : +91-9994652146 Skype Id : gopinath.murugan Email : gopi1...@gmail.com javascript: On Wed, Jun 25, 2014 at 3:40 PM, Roelof Wobben rwo...@hotmail.com javascript: wrote: Hello, I have a model called abbonement which should contain

[Rails] best way to start all over again

2014-06-25 Thread Roelof Wobben
Hello, I made a little project and made a few bad models. Now I want to start all over again. Is the best way to make a migration which takes made all the models deleted and make then the right models. Or can I just delete the directory and start over again. Roelof -- You received this

[Rails] Can I have a OS-X like layout ?

2014-06-22 Thread Roelof Wobben
Hello, For a project for a volunteers organisation I need a layout who mimick the OS-X layout. Can I have this easily in Ruby ? I have found the RubyMotion but I do not know if this also works for other platforms as Windows or Linux. Roelof -- You received this message because you are

Re: [Rails] Can I have a OS-X like layout ?

2014-06-22 Thread Roelof Wobben
Op zondag 22 juni 2014 21:11:20 UTC+2 schreef Colin Law: On 22 June 2014 14:49, Roelof Wobben rwo...@hotmail.com javascript: wrote: Hello, For a project for a volunteers organisation I need a layout who mimick the OS-X layout. Can I have this easily in Ruby ? I presume

Re: [Rails] Can I have a OS-X like layout ?

2014-06-22 Thread Roelof Wobben
Op zondag 22 juni 2014 22:44:19 UTC+2 schreef Colin Law: On 22 June 2014 20:44, Roelof Wobben rwo...@hotmail.com javascript: wrote: Op zondag 22 juni 2014 21:11:20 UTC+2 schreef Colin Law: On 22 June 2014 14:49, Roelof Wobben rwo...@hotmail.com wrote: Hello

[Rails] Re: problem with the getting started tutorial

2010-05-29 Thread Roelof Wobben
Oke, Im now doing everything with nano and the prompt. But I hit one problem. on Chapter 6.2 I have to go to this url: /app/views/home/index.html.erb But views only has layouts and posts in it. Roelof -- Posted via http://www.ruby-forum.com/. -- You received this message because you are

[Rails] problem with the getting started tutorial

2010-05-28 Thread Roelof Wobben
Hello, As soon as I do the database migration I see this error message : (in /home/roelof/NetBeansProjects/ruby Weblog) rake aborted! The driver encountered an error: com.mysql.jdbc.CommunicationsException: Communications link failure due to underlying exception: ** BEGIN NESTED EXCEPTION **

[Rails] Re: problem with the getting started tutorial

2010-05-28 Thread Roelof Wobben
Juan Pablo Genovese wrote: Is your MySQL instance running in the same computer? If no, did you open the port 3306? Did you create the corresponding users and granted them access and sufficient permissions to do the required tasks? 2010/5/28 Roelof Wobben li...@ruby-forum.com Hello Juan

[Rails] Re: A few questions before i start to programm

2010-05-27 Thread Roelof Wobben
Alex P wrote: Actually, the goal is trivial. Check out http://guides.rubyonrails.org/getting_started.html Install ruby, gem, rails, and start developing, ask questions as you go along. There's no such thing as tutorial for a menu or working space. Checking whether a team has already played

[Rails] Re: A few questions before i start to programm

2010-05-27 Thread Roelof Wobben
Hello, To make it more clear. What I have in mind is this: Make a application with a menu which contains a input choice and a rankings choice. If the user chooses for input the user gets a form so the data can be in the database. If the user chooses for rankings the followrig occurs. Every

[Rails] A few questions before i start to programm

2010-05-26 Thread Roelof Wobben
Hello, I want to learn ruby. As a learning experience I want to write a programm which people can put the results of games in a tournament. The programm produces which team is first and so on. My question is : 1) Are there any tutorials about making a menu and working space ? 2) Are there any