[Rails] Re: passenger on localhost

2010-05-30 Thread Ahmet Kilic
Steve Ross wrote: > Ahmet Kilic wrote: >>> DocumentRoot /var/www/site/public >>> >>> >>> and its running fine in development. >>> Check /log dir, and look for development.log file,. >> >> it is Ok for me also. >> But wh

[Rails] Re: passenger on localhost

2010-05-29 Thread Ahmet Kilic
alexey wrote: > "We're sorry, but something went wrong. We've been notified about this > issue." > It is a rails error, and maybe you are in production mode, > My apache conf: > NameVirtualHost site.com:80 > > ServerName www.site.com > RailsEnv development > RailsAllowModRewrite off >

[Rails] paramaters problem

2010-01-05 Thread Ahmet Kilic
Hi everybody, I have paramaters like this this is action on controller side :action => 'new', :result => session %> and this is view side test_controller/new?&result[user]=2 user controller @user = User.find(params[:result]) I coudn`t get the value with params it gives me user2 result. but I

[Rails] automatically recieve mail

2009-10-28 Thread Ahmet Kilic
Hi! I want to make mobile phone registration system with e-mail confirmation. firstly, When user send the e-mail from the cell phone then user will recieve an register url by e-mail. It likes an error handling system, when error happen the system will send the error message but it is a bit di

[Rails] gruff : label problem

2009-10-21 Thread Ahmet Kilic
def terminal_report_hourly g = Gruff::Bar.new("600x300") g.theme_37signals g.title = "my graph" reports = TerminalHistory.find(:all, :conditions => ["terminal_histories.created_at > ?", 1.hour.ago.to_s(:db)], :select => "terminal_code, hour(created_at), count(*) as total", :group =

[Rails] Re: SystemStackError: stack level too deep

2009-09-03 Thread Ahmet Kilic
Abhinav Saxena wrote: > Hi, > > Can you put in a statement what you are trying to do, probably then I > (and > others) will be able to help you better. > > -- > Thanks, > Abhinav > http://twitter.com/abhinav > > > > On Thu, Sep 3, 2009 at 3:19 PM, A

[Rails] Re: SystemStackError: stack level too deep

2009-09-03 Thread Ahmet Kilic
ll (using :include) Then select, reject the record you > want > to. > > Sorry, if I haven't understood your problem correctly. > > -- > Thanks, > Abhinav > http://twitter.com/abhinav > > > > On Thu, Sep 3, 2009 at 2:45 PM, Ahmet Kilic < sorry,

[Rails] SystemStackError: stack level too deep

2009-09-03 Thread Ahmet Kilic
my code is ; $ssf def find_class(class_name, stack = []) FileClass.find(:all, :conditions => ["class_name = ?", class_name]).each do |file_class| FileInclude.find(:all, :conditions => ["file_name = ?", file_class.file_name]).each do |file_include| FileClass.find(:all, :conditions

[Rails] Ajax.Updater and IE problem

2009-01-25 Thread Ahmet Kilic
This is my search.erb code: - 1. <%= submit_tag('search', :onclick=>'show_wait()')%> 2. <% end -%> 3. 4. 5. new Ajax.Updater("wait", "<%= url_for :controller => :util, :action => :searching %>", 6. {parameters: "authenticity_token=" + en