search for: bwalton

Displaying 20 results from an estimated 28 matches for "bwalton".

Did you mean: walton
2010 Jan 04
3
Generate PDF
Hi ! I need to create some pdf from my application. I have a table people with a field address and I need to generate a pdf of label of each address ( I think 10 labels per page). The pdf can have around 500 pages. Which library should I use to do it ? I read some information about different library to generate pdf but I don''t know if all library are a good choice for generate
2009 Aug 14
3
EC2 -> EBS -> S3 ?
Greetings! I''d appreciate hearing from anybody who''s had experience with any of this. I''ve got a Rails app that currently deployed on EC2 with MySQL and am readying to move from a dev / prototype model to a full-scale production model. Right now I''ve got a single MySQL instance. I''m getting ready to move that to a master-slave setup. I''m
2010 Jun 21
14
Controllers, what? why?
Hi, I am starting to learn rails and I went through the guide and a couple of tutorials. Even though I understand controllers or at least I can use them I can''t see yet the whole picture. Why do you need several controllers for a single application? If a controller is just a class whose methods interface with models and views, why not have a single controller for the whole application?
2009 Jul 24
6
Routes from raw js (using XMLHttpRequest)
I am making an ajax call from js to call a method (assocboxchange) in my controller (AssociatesController), using XMLHttpRequest. I know the XMLHttpRequest works fine because I use it in other places with success. My problem is my URL I am using for this request doesn;t access the method in my controller which I (think) I am specifying. I am having it post to /channels/assocboxchange/" with
2009 Nov 20
7
Soft Deletes
Hello all, I am wondering how people here are handling soft deletes in Rails. I''ve need a couple of gems/plugins that seem to handle this but from what I gather development has stopped on them. All I need to do right now is mark something as deleted in the DB...nothing fancy. I''m thinking that the simple addition of a deleted_at column, some named scopes (maybe even a default
2009 Feb 18
14
guides on css strategy
I''m having to design the UI to a small site, and that means dabbling in css. I''ve never been able to get any kind of decent idea as to how to decide on classes and id-ing. I''ve had a sniff around the internet without success: people seem to be as clueless as me. I''ve even examined the css/markup of a few sites and it hasn''t been enlightening. Does
2009 Jul 17
1
Using instant rails to roll-out rails applications
I''am curious, if there is a convenient way, to use instantrails in order to roll-out rails application for the local installation on machines without internet access. We''ve the following scenario: We''ve written a rails application which is available online. Now we would like to enable clients to use the application offline. We''ve written an import/export
2010 Jun 30
2
One time shot feed params from development
I got a confirmation on my development system that should have gone to the production system and so I have a ''Post'' set of data which I know from my development logs that I want to feed to my production system. Is there some easy way to do this in the console or do I have to try to recreate it with wget or a web browser? Craig -- This message has been scanned for viruses and
2012 Jan 07
2
set a default value with simple_form
hello anyone know how i can set a default integer value with simple_form, i have code like this below in my view but its not working. <%= f.input :age, :value => ''30'' %> i would like the input box to have the value of 30 by default thanks for any help. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google
2011 Feb 17
3
Handling InvalidAuthenticityToken from bots
I''m using exception_notifier to get an email when a 500 error occurs in production. Lately I''m seeing a lot of nonsensical POSTs show up that cause an InvalidAuthenticityToken error. All the fields contain random characters. (For instance, "search_title"=>"BHQWTZpjGeb") Is there a way to detect them and not send the email, while still sending the email in
2010 Jul 05
2
Help - Google Charts on Rails Plugin
Hello, I''m starting at the RR, and I''m trying to use google charts to generate some graphs in a single plugin in rails. But I''m testing the samples that are giving errors. I think it must be configuration error. Someone who has used google charts on rails help me? Since already thank you! Juliana. =================================================================
2016 Jan 09
3
LGPL relicense port of rsync
...Yes, but there are more than that. And searching for attributed authors gives: $ git log -p | awk '$1 == "Author:"'| sort | uniq -c | sort -nk1 1 Author: restrict <restrict> 1 Author: Stefan Behrens <sbehrens at giantdisaster.de> 2 Author: Ben Walton <bwalton at artsci.utoronto.ca> 3 Author: John H Terpstra <jht at samba.org> 4 Author: Jos Backus <jos at samba.org> 10 Author: Tiziano Müller <tiziano.mueller at stepping-stone.ch> 11 Author: Paul Mackerras <paulus at samba.org> 14 Author: Paul Green <paulg at s...
2009 Aug 14
9
Rescuing from REXML::ParseException
Hello, When I call an action with some invalid XML or JSON data a parse exception gets raised from within Rails/Ruby (REXML or ActiveSupport::JSON). The problem that I''ve got is how to handle these exceptions. In my application_controller.rb I have the following for debugging purposes: def rescue_action_in_public(exception) respond_to do |request| request.all { render :text =>
2009 Sep 16
5
piece of code that runs only once
hi, an strange error is happening here in User model i have the following method: def falta_votar Category.find(:all) - votes.collect {|v| v.category} end and in the default.html.erb layout i have: <%= current_user.falta_votar.size %> but it only works once, when i try to access another page i get an error message saying that the falta_votar method is nil, then i have to restart
2016 Jan 23
0
LGPL relicense port of rsync
...that. And searching for attributed > authors gives: > > $ git log -p | awk '$1 == "Author:"'| sort | uniq -c | sort -nk1 > 1 Author: restrict <restrict> > 1 Author: Stefan Behrens <sbehrens at giantdisaster.de> > 2 Author: Ben Walton <bwalton at artsci.utoronto.ca> > 3 Author: John H Terpstra <jht at samba.org> > 4 Author: Jos Backus <jos at samba.org> > 10 Author: Tiziano Müller <tiziano.mueller at stepping-stone.ch> > 11 Author: Paul Mackerras <paulus at samba.org> > 14 Author:...
2016 Jan 07
2
LGPL relicense port of rsync
Hi, I am maintaining a port of rsync (https://github.com/perlundq/yajsync) which is GPL:ed of course. The main purpose of the project is to provide a Java API library for the rsync protocol. It would therefore be really nice to be able to use LGPL as the license. But in order to do so I would first have to get a list of all the individual contributors to rsync and then be able to contact them
2009 Mar 09
2
rake:db:prepare Mysql::Error: #42000BLOB/TEXT column ' used in key specification without a length
I have a test environment running rails 1.2.3. I am just starting to introduce testing into this project. When I run a rake db:prepare. I see this message "Mysql::Error: #42000BLOB/TEXT column ''short_description'' used in key specification without a key length: CREATE INDEX ''short_description'' on cached_cars (''short_description'') The
2010 Oct 07
9
ruby on rails programmer/developer
I have acquired a new online web company that was programmed in Ruby on Rails and I am having a very difficult time finding anyone who writes or works with this language to fix some minor issues and add some major features. I live in the Boston area. Any ideas where I can start looking for a dependable and competent Ruby developer? Any help would be much appreciated. Thanks, Jon -- You
2010 Oct 11
12
Need advice on controller / view
Need some advice. I''ve got two modules: artists and paintings. In my home page, I''ve got a 2nd page that says "Browse paintings", which displays ALL paintings of ALL artists. This is being rendered by paintings#index. In another page, I should show all paintings of a specific artist ONLY. Meaning, paintings from ONE artist. I cant use paintings#index for this anymore
2010 Aug 30
16
<b> tag in HTML 5 (was Re: Re: assert_select for <p><b>text</b>value</p>)
On 30 August 2010 15:47, Marnen Laibow-Koser <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote: > Colin Law wrote: >> I have the following html >> <p><b>text</b>value</p> >> I can use >> assert_select "p>b", "text" >> to check the text portion, and >> assert_select "p", "value"