Displaying 20 results from an estimated 132 matches for "schuerig".
2009 Apr 19
19
Controller spec: testing that scope is set
...ls controller I set the scope on a model class in an around
filter. I have defined expectations on the model classes, and ideally, I
would add a further expectation for the scope. Is this already possible
in some way? How would I go about adding support a scope expectation?
Michael
--
Michael Schuerig
mailto:michael at schuerig.de
http://www.schuerig.de/michael/
2005 Aug 22
8
Observing changes to a text field
...something more general could be extracted to a superclass, say
Abstract.FieldObserver or something.
Right now I have too many open construction sites, but in a few weeks
I''d happily supply a patch (unless Thomas opposes the idea or has done
it himself by then).
Michael
--
Michael Schuerig Airtight arguments have
mailto:michael@schuerig.de vacuous conclusions.
http://www.schuerig.de/michael/ --A.O. Rorty, Explaining Emotions
2005 Aug 13
4
Timing out ajax requests?
...slightly
messier. What I''d like best is to have a two options on Ajax:
timeoutDelay and onTimeout, where on a timeout the request is aborted.
Does the base XmlHttpRequest support this in any way? A very quick web
search didn''t bring up any relevant info.
Michael
--
Michael Schuerig Most people would rather die than think.
mailto:michael@schuerig.de In fact, they do.
http://www.schuerig.de/michael/ --Bertrand Russell
2006 Jul 28
4
Validation Reflection plugin
...ted
(3) It reflects validation information into the class attributes of
of HTML elements generated from rhtml templates.
See test/instance_tag_validations_test.rb for what this looks like.
Yes, for validates_format_of it gets nasty.
Installation:
$ script/plugin install \
http://www.schuerig.de/michael/rails/validation_reflection
Michael
--
Michael Schuerig
mailto:michael@schuerig.de
http://www.schuerig.de/michael/
2005 Jun 29
2
Unit testing
...nd in Firefox it is slow
beyond imagination.
Anyway, writing tests for functions that are computational or manipulate
the DOM is no big deal. What I need is some inspiration how to
automatically test code that interacts with the user (popups, drag &
drop) or a server.
Michael
--
Michael Schuerig Nothing is as brilliantly adaptive
mailto:michael@schuerig.de as selective stupidity.
http://www.schuerig.de/michael/ --A.O. Rorty, The Deceptive Self
2005 Sep 06
4
url_for: :overwrite_params went missing
Somewhere between 0.13.1 and the current SVN version
the :overwrite_params option to url_for (and related methods) went
missing. I can''t tell whether this was deliberate or by mistake, and I
have no idea how to get the same functionality in some other way
either.
Michael
--
Michael Schuerig Life is what happens
mailto:michael-q5aiKMLteq4b1SvskN2V4Q@public.gmane.org While you''re making plans
http://www.schuerig.de/michael/ --Kevin Gilbert, A Long Day''s Life
2006 Jul 27
9
Introspecting validates_presence_of
Hello people,
I''d like to detect whether an attribute of a model has
vaildates_presence_of applied to it so I can automatically apply a
mandatory (*) to the field...it doesn''t look easy...any ideas?
Cheers,
--
Dan Webb
http://www.danwebb.net
2005 Sep 13
12
PDF views?
...do
is create PDF templates and fill in the blanks. Roughly, I''m looking
for functionality akin to the mail merge feature of word processors,
including conditional and repeated elements, say, table rows.
Michael
[*] http://wiki.rubyonrails.com/rails/show/HowtoGeneratePDFs
--
Michael Schuerig Face reality and stare it down
mailto:michael-q5aiKMLteq4b1SvskN2V4Q@public.gmane.org --Jethro Tull, Silver River Turning
http://www.schuerig.de/michael/
2006 Aug 08
7
Useful plugins for RadRails
Hi Friends,
Could anybody suggest me some nice and useful plugins for RadRails! It would
be very great if we make list of all such plugins!
1)________
2)________
3)________
4)________
5)________
6)________
7).....
Please fill above blanks and lets make a big list of it!
--
Don''t live to geek; geek to live.
http://anilw.info
-------------- next part --------------
An HTML attachment
2005 Sep 13
3
Alternatives to Rico LiveGrid?
...tible way.
Unfortunately, unless I cave in and resort to paging, I nevertheless
need these features.
Are there JavaScript libraries that provide anything coming close to my
requirements? Any suggestions and experiences on how to implement it?
Michael
[*] http://www.openrico.org/
--
Michael Schuerig The Fifth Rider of the Apocalypse
mailto:michael@schuerig.de is a programmer.
http://www.schuerig.de/michael/
2005 Aug 04
10
Rails Spin-offs WIKI.
http://rails-spinoffs.bombdiggity.net/index.php?title=Main_Page
guys here is the wiki. Once you register let me know and I''ll give you
full access to the site.
Jon
Jon Whitcraft
Online Services
(317) 492-8623
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2005 Jun 29
14
Unobtrusive scripting?
...ead.
I''m not yet completely convinced of the value of hiding scripts away and
I''m definitely unsure if it would be worth the effort -- regarding
implementation and possible execution speed penalty.
Do you have any opinions and ideas concerning this topic?
Michael
--
Michael Schuerig Nothing is as brilliantly adaptive
mailto:michael@schuerig.de as selective stupidity.
http://www.schuerig.de/michael/ --A.O. Rorty, The Deceptive Self
2010 Jun 20
10
RSpec 2 view example: render_template
...it sets
an expectation (view.should ...) after the call to render.
Then, no matter if I leave that line where it is or put it before the
render, I get an exception
undefined method `render_template'' for
#<RSpec::Core::ExampleGroup::Nested_1:0x7f6c0632fea0>
Michael
--
Michael Schuerig
mailto:michael at schuerig.de
http://www.schuerig.de/michael/
2006 Jul 27
9
CalendarHelper
Has anyone had any luck using the CalendarHelper plugin at
http://wiki.rubyonrails.com/rails/pages/CalendarHelper recently?
I''m scratching my head over the following error when I look at any page
in my application:
NameError in CalendarController#index
undefined local variable or method `date_format'' for
#<CalendarController:0x24ccd4c>
RAILS_ROOT:
2006 Jul 28
12
MenuEngine
Hi all,
MenuEngine is a small Rails engine that can generate templated
drop-down DHTML menus commonly used for web site navigation. Supports
creation of menus from a YAML file, from code and from pre-configured
HTML. Optionally integrates with UserEngine for authorization.
http://www.muermann.org/ruby/menu_engine
Project page:
http://rubyforge.org/projects/menuengine
This is my first attempt
2005 Jul 06
16
Autocompletion not working in Konqueror
...error is triggered. It does work nicely in Firefox. How about Safari?
I don''t have the time right now to track this down systematically (maybe
latter), but just from appearances it looks as if the listeners
attached to the text field aren''t doing anything.
Michael
--
Michael Schuerig Those who call the shots
mailto:michael@schuerig.de Are never in the line of fire
http://www.schuerig.de/michael/ --Ani DiFranco, Not So Soft
2005 Aug 01
2
function.prototype.bind return value?
Quick question - how come the function.prototype.bind doesn''t allow for
return values? Am I missing some basic understanding of how this works?
I searched and couldn''t find an answer.
Specifically, I''m binding an object method to an existing form''s
onSubmit, but it still actually submits the form, refreshing the page -
which is not what I want.
If change
2010 Sep 01
2
Undefined methods: has_selector? and flunk
...pybara
explicitly in the test group of my Gemfile. The version of capybara on
my system is 0.3.9 and noticeably, it does not define has_selector? (or
have_selector? as webrat does).
Presumably, this is all just a dependency problem, but I have no clear
idea where to look.
Michael
--
Michael Schuerig
mailto:michael at schuerig.de
http://www.schuerig.de/michael/
2009 Jan 23
2
[LLVMdev] Reading recommendations?
...rs/books particularly recommended for this
purpose?
Incidentally, the recent "Criticism of garbage collection [...]" thread
brought Pure[2] to my attention and I'll surely have a look at the
code.
Michael
[1] http://llvm.org/pubs/
[2] http://pure-lang.googlecode.com/
--
Michael Schuerig
mailto:michael at schuerig.de
http://www.schuerig.de/michael/
2005 Aug 07
11
HABTM Movable Select Box
Hi,
I found it a while ago, an add-on to Rails for supporting movable select
boxes, but I searched through the wiki and the mailing list and couldnt
find what I was looking for. I was hoping someone might know of or
remember something about the project.
Thanks,
Dylan.