Displaying 20 results from an estimated 200000 matches similar to: "REALLY TURNS ME ON!!!"
2008 Feb 21
1
Using Really Simple History on Rails
Hello all,
I am getting Really Simple History working in rails.
I''ve got this history content up etc, but I am a bit lost on how to
capture the XHR response data from the Rails app to insert into the
history.
My understanding would be to have some way of grabbing the response
data from the Rails app, inserting that into the history with
dhtmlHistory.add(''PageName'',
2008 Nov 03
4
Really confusing issue involving ActiveRecord and a NoMethodError
Hey Everyone,
I have been working on a project where I process an XML file that
contains data about a music playlist, and I use 3 models: Playlist,
Artist, and Song. Each model is mapped to a table in my database, and
when my app processes the XML file, it will populate the database
accordingly.
The issue I have is that the Artist class and the Song class seem to
be undefined, even though they
2009 Jan 11
6
Why does ActiveRecord allow perception of success when updating an ID, however it doesn't really work(i.e. no change in database)?
Hi,
Why does ActiveRecord allow perception of success when updating an ID,
however it doesn''t really work(i.e. no change in database)?
Here''s an example. The update of "id" versus update of a non-existent
attribute.
?> ai = AccountItem.find(:first) => #<AccountItem id: 1, account_id: 1,
date: "2009-01-11", amount:
2008 Nov 27
3
A topic on a category of a subforum really belongs_to what?
Suppose you have a forum with many sub-forums, and each sub-forum has
many categories (or sub-sub-forums), and each category may or may not
have many sub-categories (or sub-sub-sub-forums).
Will a topic belong to the sub-category AND category AND sub-forum; or
only to a sub-category, that will in turn belong to a category that will
in turn belong to a sub-forum?
--
Posted via
2008 Feb 01
2
Turning off InvalidAuthenticityToken for a RESTful Service
Hi,
I was trying to write a RESTful service and was planning on testing
via tools such as cURL and the basic http libs. With the
InvalidAuthenticityToken piece that is turned by default in Rails
2.0.2, I have to provide the token with each request. This is
something of a pain for a programmable client that may not make a GET
request before performing other actions, specifically POST, PUT and
2009 Jul 27
3
render syntax has me stumped
Hi,From within an action called manager within a controller called
storedorders, I want to render to the view for the manger action of
controller orders.
It really seems like the following syntax should work:
(within the StoredordersController manager method...)
respond_to do |format|
format.html {render :controller => ''orders'', :action =>
2008 Sep 11
1
How to turn an account page to pdf format?
In my site, I want to make some account page in pdf format.
Is there a good way to turn html view into pdf view?
--~--~---------~--~----~------------~-------~--~----~
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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this
2009 Mar 26
1
Turning off the layout in ActionMailer?
So I''m happy to see that ActionMailer supports layouts now (it may
have for a while, but I just now realized it).
But I don''t see a way to turn them off selectively or by multipart
type.
For example, if I have a layout that''s really simple in "layouts/
email.html.erb":
<div style="border:1px solid gray">
<%= yield %>
</div>
I
2008 Oct 21
1
uninitialized constant error, help me
Hi, I''m a rails_fan in korea.
As korean web site has a little information about rails
I''m tryig to ask google groups users of my question
<% for reserve in @plan.reserves %>
This line make error like this ''uninitialized constant Plan::Reserf''
I already have plan and reserve model
and I define their relationship.
plan
has_many :reserves
reserve
2007 Oct 10
3
Is Ruby for me ?
Is Ruby on Rails the right framework for setting up a system that can
successfully accomplish the following tasks:
-flexible user roles and permissions
-automated workflows
-robust taxonomies
-robust search engine
-event calendar
-RSS capacity
-tagging
-member directory
-social networking capacities, including listservs and/ or forums, the
ability for individual members to form
2009 Nov 12
1
Please help me ------ Mapping an item to article
Hi everybody,
I have a form like this
<h1>New menuitem</h1>
<% form_for(@menuitem) do |f| %>
<%= f.error_messages %>
<p>
<%= f.label :title %><br />
<%= f.text_field :title %>
</p>
<p>
<%= f.label :alias %><br />
<%= f.text_field :alias %>
</p>
<p>
<%= f.label
2007 Nov 28
3
overriding rest show route but not delete
hi, lets say routes.rb has
map.resources :foo
and I want the show action to have a diffent url, so I add (after the
above line)
map.foo ''/bar/:id'', :controller => ''foo'', :action => ''show''
this works fine, including foo_path( :id => "1") => /bar/1
and <%= link_to ''Show'', foo %>
2007 Sep 07
3
how to pass an array through url_for.
hi , every one.
i just want to generate url from url_for method
like this:
url_for(:controller=>"users",:action=>"index",:names=>["aotianlong","ayowaya"])
i except it''s generate
users?names[]=aotianlong&names[]=ayowaya
but it''s generated :
users?names=aotianlong%2Fayowaya
any idiea ?
thank you .
2006 Dec 29
4
Remote API passing in parameter named 'action', routing loses it
I''m working with a remote API that calls a URL in my app, passing in a
parameter named action. So the request would look like:
http://localhost/my_controller?action=foo
Routing correctly interprets the controller action as index. However,
it sets params[:action] to index as well. I know that''s how it''s
supposed to work...but it means I lose the action parameter
2007 Feb 07
3
Upgrade to Rails 1.2.2 : RESTful routes not working anymore
Hello,
I just upgraded my app to Rails 1.2.2.
My routes are :
map.with_options :path_prefix => "/admin", :name_prefix => "admin_" do |m|
m.resources :requests, :controller => "admin/requests", :collection => {
:destroy => :delete, :search => :post } do |request|
request.resources :histories, :path_prefix =>
2009 Jun 08
3
Will Pagination links getting not behaving as i wanted.
Hello All,
I have will pagination links in index view which works fine.
but when i performing some other action and replacing list view
that time pagination links i am supposed to be for index action.
but they are not......links goes to last performed action.
You have any idea how to fix this problem ?
NOTE:
i am updating list after creation of resource record that time pagination
links goes
2007 Aug 29
2
Rails Wiki hacked?
Either the Rails wiki has been hacked or someone internal wanted
easier access to porn.
http://wiki.rubyonrails.org/rails/
If you inspect the action of the search form on this page, you will
see that it now sends anyone who wishes to use the search form, to a
porn site.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
2008 Aug 21
1
validates_uniqueness_of not working - urgent
I''m using restful_authentication to let users register and login.
Lately, however, I''m seeing multiple login and emails being created
even though I have validates_uniqueness_of as below:
user.rb
validates_uniqueness_of :login, :email, :case_sensitive => false
mysql> select id, login, email, created_at, state from users;
2007 Jul 31
1
check all - check box problem
I am not able to create a check box or a button that can check and
uncheckall the check boxes that i have created. It can be a check box
or button that checks and unchecks all the check boxes.
<form name="czar" action=''<%= url_for(:action => "list_supplier") %>''
method=''POST''>
<% i = 0 %>
<% @hotels.each do |hotel|
2007 Jan 29
2
Secure Actions Plugin
Hi all,
This plugin lets you specify which actions *must* be run under ssl
(https). If a declared action is run without ssl, the user is redirect
to https. Also, once you declare an action to "require_ssl", any links
to that action are going to be https:// links.
http://svn.ianwarshak.com/plugins/secure_actions
Hopefully you all will find this useful.
Ian