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
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
>
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
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
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 =
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
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,
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
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
9 matches
Mail list logo