search for: synitech

Displaying 20 results from an estimated 20 matches for "synitech".

Did you mean: sntech
2006 Apr 07
2
MSSQL activerecord uses bad syntax
...SELECT TOP 1 * FROM users WHERE (users.user = ''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
2
HABTM migrations
...t make an ID column, but this''ll do. 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 Apr 03
5
Is old school STI broken? How would you do the same now?
...ot; in the database''s type column. 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
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
2006 Jun 21
11
executive: "is rails secure?"
Yesterday, I was doing a dog-and-pony for the head of the company that I work for. He asked, "Is this (a rails application) secure?" I said, "It''s as secure as anything else on the web is," and proceeded to talk about how the data was protected, how we weren''t saving anything that''s worth protecting, and so on. I''d like to have a better
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 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
...rum.... Flush your old plugins svn repository list with: 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/.
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 Jan 10
3
ROR setup problems with Suse + apache
hello, I am tying to run ROR on apache 2 with suse linux 9.3, and I do not succeed with it. I set rubby und rails and all scripts are running fine. my Document root : /srv/rails/demo/public I did not setup FastCGI because I could not run it with normal CGI jet. my Virtual Server runs on 192.168.0.111 ServerName rails DocumentRoot /srv/rails/demo/public <Directory
2006 Aug 08
8
executing external code
I''m trying to run some non-ruby code in my rails app and i''m not sure how to do this. The code i have would take a really long time to port to ruby and so i''d rather run it as is (its php). What i would like to have happen is that the code can be invoked as an ajax call. And just return some data in JSON. I keep running into a routing failure by actioncontroller and
2006 Apr 20
21
Can someone please explain Lighttpd + Mongrel + Rails.
I know that Mongrel is a web server that hosts rails applications. But i don''t understand what part Lighttpd (or Apache) has in the setup. I know that you can use Mongrel on its own. What does Lighttpd improve on? Thanks, Chris -- Posted via http://www.ruby-forum.com/.
2006 Jan 10
9
FastCGI cannot start; Rails doesn''t work
I have a problem deploying FastCGI for use with RoR. OS: FreeBSD 5.4 Apache: 2.0.55 FastCGI: 2.4.2 ###### I compiled a new mod_fastcgi.so and copied it to /usr/lib/apache/mod_fastcgi.so ###### My httpd.conf looks like this: LoadModule fastcgi_module /usr/lib/apache/mod_fastcgi.so <IfModule mod_fastcgi.c> AddHandler fastcgi-script .fcgi </IfModule> ###### The testscript
2006 Mar 29
38
Poll: Which distro do you use for Rails/Ruby development?
Good afternoon, I''ve two quick questions for the Ruby/Rails community. 1) Do you use Linux for Ruby or Rails development? 2) If you use Linux, which distro do you normally use to develop? Thank you for your input. :-) -- Posted via http://www.ruby-forum.com/.
2006 Jun 05
0
Plugin Namespace Oddities?
Hi all, I''m trying to throw together an acts_as_copyable, to add the ability to: @new_ar_object = @ar_object.copy I''m using the Fox example for the basic loading into AR with a module: http://wiki.rubyonrails.org/rails/pages/HowToWriteAnActsAsFoxPlugin so in my instance methods: module InstanceMethods def copy( options = {} ) copyable_attributes
2006 Jun 21
1
Plugin Panic! - no accessing a model''s class methods?
Hi plugin-authors. So this is a little bit of take two on this question, but why can''t I access a singleton on the model calling my plugin? The crux of the full plugin below is: #logger.info self.class.to_s new_copy = self.class.new( @copyable_attributes ) the logger spits out "Datatype", but I get an error from rails saying: undefined method `datatype'' for
2006 Mar 29
1
schema dump corrupts date defaults in mysql
Hey, looks pretty messy out here the last two days...so please let me know if this is known, or if you can confirm. Just upped to Rails 1.1. When I run `rake test` I get: rake aborted! ./db/schema.rb:17: parse error, unexpected kEND ./db/schema.rb:21: parse error, unexpected $, expecting kEND (See full trace by running task with --trace) Uggly. In schema.rb: t.column