Displaying 20 results from an estimated 31 matches for "madhat".
Did you mean:
radhat
2006 Apr 07
2
MSSQL activerecord uses bad syntax
...er = ''jbgnuumnbu'')
However, users.user is not a valid syntax in MSSQL. Why doesn''t AR
handle this? Arn''t other people using this without problems?
Found the error running rake migrate.
--
Matthew Beale :: mixonic@synitech.com
Resume & Portfolio @ http://madhatted.com
--
Posted via http://www.ruby-forum.com/.
2006 Apr 03
5
Is old school STI broken? How would you do the same now?
...Is there a better way to model this with the :through
feature? Why isn''t rails finding the StaticList class? Is this a bug? A
feature? The definition is in the same file as class List...
Thanks for any pointers,
--
Matthew Beale :: mixonic@synitech.com
Resume & Portfolio @ http://madhatted.com
--
Posted via http://www.ruby-forum.com/.
2006 Apr 03
2
HABTM migrations
....
But that seems sort of hackneyed. Is is a bug that the ID column is
being manually populated by rails? Doesn''t seem very senseble,
especially if the content of ID is always the same as team_id. Bug?
Feature?
--
Matthew Beale :: mixonic@synitech.com
Resume & Portfolio @ http://madhatted.com
--
Posted via http://www.ruby-forum.com/.
2006 Jun 21
1
Plugin Panic! - no accessing a model''s class methods?
...is is far easier than I think it is, though I cannot seem to find the
answer in the acts_as_versioned or any other plugin (since none create new
instances of their calling model class).
full plugin contents follow.
*whimper* help?
--
Matthew Beale :: 607 227 0871
Resume & Portfolio @ http://madhatted.com
# ActsAsCopyable
module FakeActiveRecord
module Acts #:nodoc:
module Copyable #:nodoc:
def self.append_features(base)
super
base.extend(MacroMethods)
end
# declare the class level helper methods which
# will load the relevant instance methods...
2006 Apr 03
4
STI Broken on 1.1
Yeah I''m getting major problems as well. I don''t know what the issue is but
I''m thinking of going back to 1.0
I would really like to hear if you figure this out, kind of an important
part of Rails for us.
-Paul
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2006 Aug 18
3
equivalent of "puts" in rhtml
Hi everyone,
This seems so basic, and yet I can''t quite figure it out.
Say I have some code in an .rhtml document:
<%=
if @session[:user_id]
link_to somethingA
else
link_to somethingB
link_to somethingC
end
-%>
Only the link to somethingC will show in the second case. I understand
that the last thing returned from that else block is that last line. In
php i could just add
2005 Dec 22
3
acts_as_stateless ?
Is there such a thing that I could use to store sessions in the DB
instead of in a cookie so that I can ensure users will be able to
access their session data even across several load balancers? We use
totally stateless machines here at work and I am worried about
deploying a rails app in production that uses a volitile session
stored on the machine.
Any help is great!
Happy Holidays,
Mark
--
2006 Jun 05
0
Plugin Namespace Oddities?
...in):013:0> a.class.send :whoa
whoa
=> nil
So, why doesn''t self.class.send work the same in a rails plugin? Why is
Datatype being changed to datatype, and being called as a method, not a
class definiton?
Thanks,
--
Matthew Beale :: 607 227 0871
Resume & Portfolio @ http://madhatted.com
2006 Jun 05
1
Form Field
I''m trying to get the value of a form field (input type="text"
id="name">) from a controller via the params hash, but this isn''t
working. I thought params[:name] would return this. The textbox is not
part of the model.
Does anyone know how to do this??
Thanks!
--
Posted via http://www.ruby-forum.com/.
2006 May 24
1
Working with css
How do you work with css in Rails? Do I use it in the view-pages, the
normal way? Or can a modify the predefined methods, like text_field()?
--
Posted via http://www.ruby-forum.com/.
2006 Apr 03
1
why ruby GC can take only 8 meg of memory????
Hi,
As I understand, the GC of Ruby can take only max. 8
meg of memory. So I wonder if there is some reason
behide this or it is simply a hardecode feature????
and if I want to increase the memeory, how should I do
this???
Thanks you very much!!!!
Saiho
The mind is its own place, and in itself.
Can make a Heaven of Hell, a Hell of Heaven.
http://www.geocities.com/sayoyo/
2006 Apr 20
1
error on stpexec : ROR on Linux with SQLServer Connection
So I got my rails app to connect to the SQLServer via ODBC, and I can
model/scaffold, yada yada..
but when I need to exec a stored proc using sql_server.rb I get
undefined local variable or method `connection''
how can that be, if I can connect for everthing else?
thanks
--
Posted via http://www.ruby-forum.com/.
2006 Mar 30
0
[TIP] Flush your plugins
...for i in $(script/plugin sources); do script/plugin unsource "$i";
done;
and then update your plugins again
script/plugin discover
Things will work smoother, I promise.
Sorry about the double post-
-Matthew Beale
mixonic@synitech.com :: 607 227 0871
Resume and Portfolio @ http://madhatted.com
--
Posted via http://www.ruby-forum.com/.
2005 Dec 21
2
what is print_r in rails
hey,
i know u have in php print_r or echo, so that the browser print the variable on
top of page, no matter what
what is this in rails?? put doesnt seem to work
Thanks
Nick
2005 Dec 23
0
RE: Maintaining a Dev and a QA environment
...quot;environment" in the
webserver''s exported variables. But you''d need to maintain several gem
repositories.
Or make use of freeze_gems and such as David suggested.
-Matthew Beale
mixonic-8rZIAEcCR/xWk0Htik3J/w@public.gmane.org :: 607 227 0871
Resume and Portfolio @ http://madhatted.com
_______________________________________________
Rails mailing list
Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
http://lists.rubyonrails.org/mailman/listinfo/rails
2011 Feb 08
1
An acts_as_sortable replacement built for Rails 3
...'s a great solution for a common problem Rails folk often
need to address. Any feedback or questions are welcome!
Thanks all,
-Matthew
PS- Harvest is hiring Rails devs at all skill levels: http://www.getharvest.com/careers
--
--
Matthew Beale :: 607 227 0871
Resume & Portfolio @ http://madhatted.com
--
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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to rubyonrails-talk+unsubsc...
2011 Mar 07
0
A new, minimal Sphinx gem for Rails
...escaping values so we moved away from SphinxQL for now.
The gem is published at rubygems and you can find the code at Github:
https://github.com/harvesthq/thebes
Give it a look and let me know what you think. Thanks,
-Matthew
--
--
Matthew Beale :: 607 227 0871
Resume& Portfolio @ http://madhatted.com
--
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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to rubyonrails-talk+unsubsc...
2006 Jan 10
6
print an instance variable?
Is there a way to print out an instance variable (@something) so you can
see:
1: what it contains
2: how it''s mapped together
??
--
Posted via http://www.ruby-forum.com/.
2006 Jun 05
3
How to get dd mmm and yyyy from dd-mmm-yyyy
The input values could be something like this:
01-Dec-2006
01-December-2006
1-June-2006
Is there an easy to way to get the three variables populated dd, mmm and
yyyy for any of the above input values? I tried to look at regex but couldn''
anything simple.
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2006 May 19
2
Help with using method_missing to create template path
I have a site (for an academic conference) that I want to convert to RoR
- both as a learning exercise and to ease further updates and
development. There are a number of child pages for each conference (past
and future), but these pages are different for each conference (not same
child pages for each conference). The URLs are along the lines of:
/conference/2000/keynotes