rb:85: syntax
error, unexpected keyword_ensure, expecting keyword_end
/home/action/workspace/finance/app/views/products/_form.html.erb:87: syntax
error, unexpected end-of-input, expecting keyword_end
Roelof
Op vrijdag 13 maart 2015 17:09:58 UTC+1 schreef Colin Law:
> On 13 March 2015 a
205.109 at
2015-03-13 13:16:53 +
Started GET "/assets/jquery_ujs.js?body=1" for 82.74.205.109 at 2015-03-13
13:16:53 +
Started GET "/assets/application.js?body=1" for 82.74.205.109 at 2015-03-13
13:16:53 +
Started GET "/" for 82.74.205.109 at 2015-03-1
5:30 +
Killed
Anyone a idea how to find out what can be the reason behind this ?
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 it, send an e
That could be a solution.
I only have to figure out how I can impersonate a person which is not
logged in and add the toys to the card which is in a session.
Roelof
Op dinsdag 23 december 2014 10:04:25 UTC+1 schreef Vivek Sampara:
> Roelof,
>
> If im reading this phrase right
I can do that but most of the gems I see are working with the fact that the
person who is logged in is also the person which "owns" the shopping card.
With me that is not true.
So I try to find a way to resolve that problem.
Roelof
Op dinsdag 23 december 2014 08:33:41 UTC+1 sch
the toy-car.
How can I achieve this with sessions or another way ?
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 it, send an email
to rubyonrails-tal
eeds to be higher
or equal to 0.01 and image url needs to be a png, jpg or gif.
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 it, send an email
to rubyonrai
ate
session[:cart_id] = @cart.id
end
end
So I have to figure out how to make the id of the card avaible on the url.
Roelof
Op maandag 8 december 2014 14:38:20 UTC+1 schreef Vivek Sampara:
> If you're on "/cards/:id", then look at your cards_controller.rb
Hello,
It's is the form of /cards/:id
I tried
<%= link_to ' Card'.html_safe,
cart_path(cart) %>
<%= link_to ' Card'.html_safe,
cart_path(card) %>
but on both I see this message :
undefined local variable or method `cart'
undefined loc
that there is no card with the id
of id.
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 it, send an email
to rubyonrails-talk+unsubscr...@googlegroups.
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.
>>
>>
ccording to the book
it must all be successfull.
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 it, send an email
to rubyonrails-talk+unsubscr...@googleg
Thanks,
And how do I test this on a functional test for a controller.
Roelof
Op zaterdag 6 december 2014 14:52:06 UTC+1 schreef dasibre:
> The problem with testing to that level is, sometimes the tag may not be
> rendered yet. Also, such tests tend to be brittle. You dont want to
= product.title %>
Add to cart
~~~
I tried this assert_select'.single-products.p',1 but it do not work. I get
0 items found .
Roelof
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
T
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 bu
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 proces
things, prefferly
written.
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 it, send an email
to rubyonrails-talk+unsubscr...@googlegroups.com.
To post to
Op maandag 1 december 2014 18:12:56 UTC+1 schreef Colin Law:
>
> On 1 December 2014 at 17:04, Roelof Wobben > wrote:
> >
> >
> > Op maandag 1 december 2014 17:39:01 UTC+1 schreef Colin Law:
> >>
> >> On 1 December 2014 at 16:20, Roelof Wobben
Op maandag 1 december 2014 17:39:01 UTC+1 schreef Colin Law:
>
> On 1 December 2014 at 16:20, Roelof Wobben > wrote:
> >
> >
> > Op maandag 1 december 2014 17:15:06 UTC+1 schreef Colin Law:
> >>
> >> On 1 December 2014 at 15:51, Roelof Wo
Op maandag 1 december 2014 17:15:06 UTC+1 schreef Colin Law:
>
> On 1 December 2014 at 15:51, Roelof Wobben > 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
il"], name: "index_users_on_email", unique: true
end
Op maandag 1 december 2014 16:48:44 UTC+1 schreef 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 ve
I have exactly what Hartl says.
He says to change my gem file to this :
source 'https://rubygems.org'
gem 'rails','4.2.0.rc1'gem 'bcrypt', '3.1.7'
And there is no mention about bcrypt-rubt
Roelof
Op maandag
local/rvm/gems/ruby-2.1.4@rails4/gems/activesupport-4.2.0.beta4/lib/active_support/dependencies.rb:246:in
`load'
from
/usr/local/rvm/rubies/ruby-2.1.4/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:54:in
`require'
from
/usr/local/rvm/rubies/ruby-2.1.4/lib/rub
Thanks, that did the trick.
I use the beta versions because on the online tutorial from Hartl that
versions are mentioned and he says not to use any other version to follow
the tutorial.
Roelof
Op zondag 30 november 2014 23:47:59 UTC+1 schreef Daniel Evans:
> I just encountered this is
#x27;
/usr/local/rvm/gems/ruby-2.1.4@rails4/gems/activerecord-4.2.0.beta4/lib/active_record/migration.rb:941:in
`migrate'
/usr/local/rvm/gems/ruby-2.1.4@rails4/gems/activerecord-4.2.0.beta4/lib/active_record/migration.rb:813:in
`up'
/usr/local/rvm/gems/ruby-2.1.4@rails4/gems/activer
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 > wrote:
> > You are right.
> >
> > Next time I wil do this sor
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 > wrote:
> > IM at chapter 2 exercises and then he asked if you can try this :
&g
_and_response.html.erb
(1.6ms)
Rendered
/usr/local/rvm/gems/ruby-2.1.4@rails4/gems/web-console-2.0.0.beta3/lib/action_dispatch/templates/rescues/_web_console.html.erb
(1.2ms)
Rendered
/usr/local/rvm/gems/ruby-2.1.4@rails4/gems/web-console-2.0.0.beta3/lib/action_dispatch/templates/rescues/diagn
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 becau
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 > wrote:
> > Hello Colin,
> >
> > Sorry
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 > wrote:
> > Hello,
> >
> > If I use the money
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
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 unsubs
Thanks.
My question was specific to Rails/ActiveRecord.
Roelof
Op zondag 7 september 2014 22:35:45 UTC+2 schreef Jason FB:
>
>
> FWIW, we're not entirely sure if you're asking specifically about data
> modeling (like a general CS question) or a question specific to
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 >
> wrote:
> > Transactions could be a model for all the transac
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 >
> wrote:
> > Almost,
> >
> &g
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 >
> wrote:
> > Hello,
> >
> >
must be put into the
right 1600x number.
How can I do this with models ?
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 it, send an email
to rubyon
Op zaterdag 30 augustus 2014 18:22:14 UTC+2 schreef Hassan Schroeder:
>
> On Sat, Aug 30, 2014 at 8:05 AM, Roelof Wobben > wrote:
>
> >> > > The only thing I need is that I as admin can register user with a
> >> > > password.
> >> > >
@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:
>>
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
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
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
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
> Hell
Devise
On page 4 the summary and a save button.
Must I now make 2 models . One devise model which contains the login name
and password and one for the rest,
Or can this be 1 model (Devise) which contains everything.
Roelof
--
You received this message because you are subscribed to the Google
oke,
I tried
- nitrious ide but that one messed up my layout with curly braces instead
of the normal braces.
- rubymine, A lot of error messages of missing gems and a confusing menu
- sublime text . I could not make it work so I can see the files , my code
and a terminal.
Roelof
Op
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
Thanks,,
Im using the ide of nitrious.io but this is the next problem that arise
with wrong characters.
I think I will look for a decent Linux distro and look then for a solution
where I can have all the files at one window. my code in another and a
terminal as a footer.
Roelof
Op
900'
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 >
> wrote:
> > Here is the whole layo
<%= render “layouts/sidebar” unless current_page?(new_admin_session_path)
%>
The sidebar.html.erb can 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 >
> wrote:
> >
undefined local variable or method `“layouts' for
#<#:0x007f503949ded8>
Roelof
Op donderdag 14 augustus 2014 13:54:36 UTC+2 schreef James Davis, PhD:
> Add the folder name where your sidebar partial is located.
>
> <%= render “layouts/sidebar” unless current_page?
then I see this error message ;
undefined local variable or method `“sidebar”' for
#<#:0x007fc6a50d7118>
Where I have a sidebar.html.erb and a _sidebar.html.erb in the same
directory.
Roelof
Op woensdag 13 augustus 2014 22:06:47 UTC+2 schreef Eric Saupe:
> You still nee
root GET/ dashboard#show
I tried already new_admin_registration but then I see the same error
message.
Roelof
Op woensdag 13 augustus 2014 21:09:30 UTC+2 schreef Germano Teixeira:
> run "rake ro
Sorry but I do not work. I see a message that login_path is not known. I
think that devise is messing things up.
Roelof
Op woensdag 13 augustus 2014 17:56:23 UTC+2 schreef Eric Saupe:
> No, the render command goes in your layout in this case since it is
> something that a lot of your
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 >
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
Hello,
For my project I need a button which produces this in html ;
Submit
I tried already and but also that did not
produce the output as I expected.
Roelof
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To u
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 Dashbo
");
}
},
stop: function( event, ui ) {
$('.range-tooltip').delay(1000).fadeOut();
}
});
// Iteration to set the default value of Vertical Sliders
$('.slider.vertical').each(function(){
$(this).slider({
orientation: "
e-touch-icon-ipad.png>"
/>http://formidable-pup-77-133907.euw1.nitrousbox.com/apple-touch-icon-iphone.png>"
/>http://formidable-pup-77-133907.euw1.nitrousbox.com/favicon.ico>"
/> http://formidable-pup-77-133907.euw1.nitrousbox.com/assets/bootstrap/b
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
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
i 2014 19:09:47 UTC+2 schreef Scott Ribe:
> On Jul 21, 2014, at 10:53 AM, Roelof Wobben > 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.
> >
&
end
describe "with invalid password" do
let(:user_for_invalid_password) { found_user.authenticate("invalid") }
it { should_not eq user_for_invalid_password }
specify { expect(user_for_invalid_password).to be_false }
end
end
end
Roelof
O
le_app_nutrious/tree/chapter_six
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 it, send an email
to rubyonrails-talk+unsubscr...@googlegroups.com.
To
Colin,
Thanks,
But how can I use puts when rspec is checking for the tags
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 >
> wrote:
> > Hell
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
ilties":
In Gemfile:
sass-rails (>= 0) ruby depends on
railties (~> 3.1.0) ruby
coffee-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 >
> wrote:
>
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
Hello,
I have read several pages but I cannot find how to make a form with this
field ;
div class="field">
Login naam:
Can anyone give me a hint ?
Roelof
--
You received this message because you are subscribed to the
before login.html.haml to make it _login.html.haml 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.htm
sage.
How to solve this ?
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 it, send an email
to rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this
Nope,
I only figured out that a application.html.erb is living on
/apps/views/layouts
but can I send root to a static page ?
Roelof
Op zaterdag 12 juli 2014 16:53:51 UTC+2 schreef Walter Lee Davis:
> Then did you update your routes.rb file to reflect where :root should be?
>
&g
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 from your /public folder?
>
> Walter
>
> On Jul
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
Hello,
I try to convert a responsive html5 template to the ruby template system.
Now I wonder how to convert this part ;
Roelof
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To unsubscribe from this grou
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 >
> wrote:
> > Hello,
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
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 e
Op dinsdag 1 juli 2014 19:10:27 UTC+2 schreef Greg Akins:
>
> On Tue, Jul 1, 2014 at 12:41 PM, Roelof Wobben > wrote:
> > WARN: Unresolved specs during Gem::Specification.reset:
>
> It's hard to tell what isn't working unless you give us a bit more
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 >
> wrote:
> > Hello,
> >
>
his ?
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 it, send an email
to rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email t
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 >
> wrote:
> > Hello,
> >
> > Suppose I have t
orm.label :name, "Name: " %>
<%= form.text_field :name %>
<%= form.submit "Shorten my URL" %>
<% end %>
Now I have filled in the form the name "roelof"
How can I later check if there is a member with the name "roelo
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
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
Oke,
I also have read that you could use : accepts_nested_attributes_for
But I cannot say in the model that on the member class I only need the
title .
Roelof
Op woensdag 25 juni 2014 12:14:29 UTC+2 schreef M,Gopi M.gopinath:
> Best Way is to use Association belongs_to.
>
> Bes
down list which only contains the titles of the
model abbonement.
Can anyone give me a tip how to handle this ?
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 fro
Op zondag 22 juni 2014 22:44:19 UTC+2 schreef Colin Law:
>
> On 22 June 2014 20:44, Roelof Wobben >
> wrote:
> >
> >
> > Op zondag 22 juni 2014 21:11:20 UTC+2 schreef Colin Law:
> >>
> >> On 22 June 2014 14:49, Roelof Wobben wrote:
&
Op zondag 22 juni 2014 21:11:20 UTC+2 schreef Colin Law:
>
> On 22 June 2014 14:49, Roelof Wobben >
> wrote:
> > Hello,
> >
> > For a project for a volunteers organisation I need a layout who mimick
> the
> > OS-X layout.
> > Can I have this
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
gt; resource_name, :recall => "#{controller_path}#new" }
end
end
Also I changed this in routes.rb :
devise_for :users, :controllers => { :sessions => "sessions" }
but when I want to log in I see this error message :
expected /home/roelof/tamara_devise/app
table:
users: ALTER TABLE "users" ADD "username" varchar(255) DEFAULT '' NOT NULL
Anyone a idea how to solve this ?
This is a clean install.
Roelof
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
T
"new" }
format.xml { render :xml => @user.errors, :status =>
:unprocessable_entity }
end
end
end
def destroy
logout
redirect_to(:users, :notice => 'Logged out!')
end
end
What's the best way to change "login successfull" to
I have completed that page.
I see two forms but they are not the same.
The first is this one : # app/views/users/_form.html.erb
and the second one is this one : # app/views/user_sessions/_form.html.erb
Roelof
Op zondag 11 november 2012 21:09:06 UTC+1 schreef Norbert Melzer het
volgende
Oke, then there is a error in the tutorial.
Roelof
Op zondag 11 november 2012 19:43:14 UTC+1 schreef Norbert Melzer het
volgende:
> Form_for/form_tag is missing.
> Am 11.11.2012 18:50 schrieb "roelof" >:
>
>> Hello,
>>
>> I have followed this
rd_confirmation %>
<%= f.password_field :password_confirmation %>
Where f is a sort of virtual field.
But when I run this I get a error message that the variable f is not known.
How can I solve this ?
Roelof
--
You received this message because you are subscribed to the Google Groups "Ru
http://stackoverflow.com/questions/13292093/wrong-redirect-after-signing-in
Roelof
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from
Op maandag 5 november 2012 15:34:05 UTC+1 schreef addagger het volgende:
>
> when you call @output.messages.should include (message)
> @output is nil
>
> call (@output ||= Output.new).messages.should include (message)
>
> That worked but can you explain what this does ?
Hello,
Im initializing that file here :
def output
@output ||= Output.new
end
in the class Output.
Roelof
Op maandag 5 november 2012 00:52:22 UTC+1 schreef Matt Jones het volgende:
>
>
> On Saturday, 3 November 2012 16:43:19 UTC-4, roelof wrote:
>>
>> Hello,
>&g
1 - 100 of 160 matches
Mail list logo