Displaying 8 results from an estimated 8 matches for "1mselect".
2012 Sep 13
10
access key error
I am getting following error while run my rails app in my server
ActionView::Template::Error (You did not provide both required access keys.
Please provide the access_key_id and the secret_access_key.):
--
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
2011 May 06
3
Rails 3 Routing problems
...011-05-06 22:00:38
+0100
Processing by UploadsController#index as HTML
Parameters: {"user_id"=>"1"}
[1m [35mUser Load (0.0ms) [0m SELECT "users".* FROM "users" WHERE
"users"."id" = 1 LIMIT 1
[1m [36mUpload Load (0.0ms) [0m [1mSELECT "uploads".* FROM
"uploads" [0m
Rendered uploads/_upload.html.erb (0.0ms)
Rendered uploads/_upload.html.erb (0.0ms)
Rendered uploads/_upload.html.erb (0.0ms)
Rendered uploads/index.html.erb within layouts/application
This my config/routes
Uploader::Application.routes.draw do
d...
2012 Jun 30
5
Problems with associations
...t_id, :name
belongs_to :project
end
Project.rb
class Project < ActiveRecord::Base
attr_accessible :name, :description
has_many :tasks
end
But when I go to my prompt and I make a SELECT with task, none project
is returned.
irb(main):001:0> Task.all
←[1m←[36mTask Load (0.0ms)←[0m ←[1mSELECT `tasks`.* FROM `tasks` ←[0m
←[1m←[35mEXPLAIN (30.0ms)←[0m EXPLAIN SELECT `tasks`.* FROM `tasks`
EXPLAIN for: SELECT `tasks`.* FROM `tasks`
+----+-------------+-------+------+---------------+------+---------+------+------+-------+
| id | select_type | table | type | possible_keys | key | key_len...
2011 Nov 24
2
This is not the error: ActionView::MissingTemplate
Hey everyone,
I am getting the following error:
Started POST "/rubyamf/gateway" for 127.0.0.1 at 2011-11-24 16:27:20 +1300
Processing by RubyamfController#gateway as */*
Processing by ProjectsController#templates as */*
←[1m←[36mProject Load (1.0ms)←[0m ←[1mSELECT `projects`.* FROM
`projects` ←[0
m
Completed 200 OK in 34ms (Views: 3.0ms | ActiveRecord: 28.0ms)
Completed 500 Internal Server Error in 267ms
ActionView::MissingTemplate (Missing template rubyamf/gateway with
{:handlers=>[
:erb, :builder, :coffee], :formats=>[:html, :text, :js, :css, :ics...
2012 Nov 29
2
[Rails 3.2] form_tag w :remote => true doesn't fire up the js format
I have a form_tag written like this :
= form_tag search_backoffice_places_path, {:remote =>"true", :id =>
:searchplaceForm } do
.. input fields
= submit_tag t(:search)
generated html is correct :
<form accept-charset="UTF-8" action="/en/backoffice/places/search"
data-remote="true" id="searchplaceForm" method="post">
...
2010 Dec 01
0
Thinking sphinx + rails 3 issue in results set
...lopment
rake ts:stop RAILS_ENV=development"
are working fine...
When i put this query " @results = User.search '''', :page =>
params[:page], :per_page => 10 " in controller, it producing the query,
i can able to see the results.
[1m[36mUser Load (0.1ms)[0m [1mSELECT `users`.* FROM `users` WHERE
(`users`.`id` IN (272, 275, 280, 281, 282, 283, 288, 289, 290, 291))[0m
@results [#<User
#.............................................................">]
==============ThinkingSphinx::Search= length==== 10
When i try the below query it will not generate re...
2010 Nov 04
9
Delete action is not working and redirects to edit action
Hello,
i have a strange problem here. I have made a teacher controller using
scaffold. All actions work fine but the delete does not. When i click
the delete link, it redirects me to the edit of this teacher. I have
restarted the server and i have tried in firefox (i use chrome) but
problem still remains. Here is the code from my view.
<%= link_to(image_tag("/images/
2011 Jul 13
14
Using timezone javascript to set Time.zone
I''ve got a javascript that provides me with the timezone for the
client. I want to use this to set Time.zone so that all my times
stored in the database are displayed in the timezone for the client.
So really simplistically
var timezone = jstz.determine_timezone().timezone
Time.zone = timezone.olson_tz
obviously this can''t be done. I''ve taken a look on the web and can