Displaying 13 results from an estimated 13 matches for "teter".
Did you mean:
peter
2006 Jan 16
2
ActiveRecord: table name with spaces?
Howdy.
I''m trying to work with a legacy SQL Server database where some of the
table names have spaces in them.
I''ve done set_table_name "tablename with spaces", but I can''t get
find(:all) to work. I get the following error (because apparently
it''s not putting [ ] around the name as is required for SQL Server for
names with spaces.
2004 Jun 08
1
samba/AD expert? for pay?
...'ve read have
been nearly fruitless.
I will provide a list of goals, and assuming the expert agrees all goals
are achievable, I (my company) would gladly pay for that expert to
configure or accurately describe how to configure a Linux or *BSD
accordingly.
Suggestions welcome.
Thanks.
Michael Teter
Jetta Production Company
2006 Jan 13
1
pointer to standalone ActiveRecord example?
I''m seeking pointers to example code (ideally complete, small
programs) in Ruby that use ActiveRecord without Rails.
An added bonus would be if they happen to connect to SQL Server, but
I''ll take what I can get. Mainly I just need a jump-start to using
ActiveRecord outside Rails.
Thanks much.
MT
2005 Aug 08
68
Pluralized Controller Names?
If I do:
script/generate controller Photo
I get a controller named photo_controller. OTOH, if I do:
script/generate scaffold Photo
I get a controller named photos_controller. (Note that the controller
name is pluralized).
I realize that I''m specifying the controller name explicitly in the
first case, but it seems
odd to me that the scaffold command generates a pluralized
2005 Mar 30
35
Respect and Disappointment
I''ve finally started a blog. I really didn''t want to go public with it
until I was sure I keep it up, but DHH posted a entry to his blog that I
feel compelled to comment on.
You can read about it on my blog:
http://www.bloglines.com/blog/CurtHibbs
Curt
2008 May 20
0
ruby-net-ldap auth with CA certificate
Howdy.
I''ve got authentication working on a test ActiveDirectory server, but
now I need to adapt my routine to work with a client''s system.
They require AD connections to use their CA certificate.
Does anyone have a good reference to documentation on the preferred
way to do this?
Or does anyone have first-hand experience and feel like sharing
knowledge?
Thanks,
Michael
2009 Mar 05
0
Canceled/abandoned request to Mongrel/Ruby
Howdy.
I''m wondering what happens in Mongrel/Ruby when a user asks for a page
but then hits Stop in the browser or just clicks a different link
before the response comes back.
The reason I ask is that the app I''m building does a fair amount of
database work on each page. From what I can tell, when a user
abandons a request, the server has no awareness of this and thus
2010 Jun 21
0
San Francisco Rails Pay Rates?
Howdy.
I''m curious if anyone has a sense of what the typical Rails contract
(W2) rates are for Rails developers in the San Francisco area. Assume
the typical requirements of 2-3 years Rails experience, with 5+ years
general development experience.
From my experience in the Texas market, the rates are $40-55. But I
understand the cost of living in SF to be _much_ higher (some sites
2010 Nov 10
0
Need activerecord-oracle-adapter-1.0.0.9216 gem for legacy reasons
I''m trying to duplicate a production environment that uses
activerecord-oracle-adapter-1.0.0.9216, but as far as I can tell all
traces of that gem have vanished from repositories online.
Does anyone know where I can get the following gem?
activerecord-oracle-adapter --version=1.0.0.9216
Thanks in advance.
--
You received this message because you are subscribed to the Google Groups
2008 Dec 09
2
unterminated string literal, how to properly send strings
I have a line like the following in my Rails view/template (generating
JavaScript):
<script type="text/javascript">
...
y = escape(''<%= h(e.error_desc) %>'');
...
</script>
Because some of the error_descs have newlines, the browser is
receiving page code that looks like this:
y = escape(''Information about the error.
Another line in the
2008 May 11
3
Get current controller name/action name from view
Hi.
I swear I found this in the group archives, but now I cannot find this
in the group or elsewhere online!
In a view I would like to get the current controller name and action
that was used to get here.
For example, I have a template that I''m using from two different
controllers (and four different actions in each controller), such
as :controller => "my_view", :action
2008 May 15
2
Building Ruby on Solaris 10 with OpenSSL, for Rails... problem
Howdy.
I''ve built Ruby, RubyGems, installed Rails and Oracle adapter, etc.
However, when I try to start script/server, I get the following error:
$ ruby script/server
=> Booting WEBrick...
/opt/home/lsadmin/ruby/lib/ruby/gems/1.8/gems/rails-2.0.2/lib/
initializer.rb:159:in `require_frameworks'': no such file to load --
openssl (RuntimeError)
/usr/local/ssl/bin/openssl
2009 Jan 09
2
Confused about to_xml() in ActiveRecord::Base subclass
Since all my efforts to control how to_xml() is formatting dates has
failed, I''m now considering writing my own to_xml(). However, from
the limited examples I''ve found, I just don''t understand how to
actually reference the columns for the records in my record set.
Here''s a simplified view of my ActiveRecord object:
class Errors < ActiveRecord::Base