On Oct 10, 1:43 pm, Garrett Berneche <[EMAIL PROTECTED]>
wrote:
> I love that I can use .send() to dynamically build the name of the
> method I want to call, but how do I build a variable length list of
> parameters to go along with it?
>
> I am trying to write a helper for dealing with routing an
On Oct 10, 3:56 am, Alan Sikora <[EMAIL PROTECTED]> wrote:
>
> Role:
> <%=h Role.find(@user.role_id).name %> ==> This
> line, is it right? Is there a better way to do it?
>
typically you would have an association between users and roles so
that you could do user.role
On Oct 10, 12:30 am, Kim <[EMAIL PROTECTED]> wrote:
> I know the remote_function call is adding the object to the
> session[:selected] array, but for some reason
> session[:selected].include?(db) is not returning true.
>
because db is apparently an activerecord object, but your session
contains
On Oct 10, 6:43 am, Garrett Berneche <[EMAIL PROTECTED]>
wrote:
>
> ..but to call it with .send() I need to supply various sets of
> parameters. I was hoping I could just stuff them in an array and send
> the array, but this didn't work. any other ideas?
foo.send(:some_method, *array_of_param
Hello, I'm totally new to RoR but I work with PHP and Java for a
while (7 years)... I'm getting used to Ruby and I'd like to know if
the code below is "right". It is the "show" page of the Users table...
Email:
<%=h @user.email %>
Password:
<%=h @user.password %>
Role:
<%=h Ro
I'm pretty sure that there's a better way to do this:
@roles = Role.find(:all)
@selected_role = Role.find(@user.role_id)
Can someone help me?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" gr
Hey guys,
I'm trying to merge a hash with another using the .merge! function.
class User < ActiveRecord::Base
serialize :preferences
end
This is what I end up with in the console:
>> u = User.find(1)
>> u.preferences.merge!{:test => 1}
SyntaxError: compile error
(irb):32: syntax error, unexp
On Oct 10, 1:54 pm, Jay Pangmi <[EMAIL PROTECTED]>
wrote:
>
> Campgrounds
> <%=select "camp", "id", @resultset %>
>
Where is the partial rendered? And when should it be rendered? I don't
see it in your main view.
--~--~-~--~~~---~--~~
You received this messag
Erol Fornoles wrote:
> <%= submit_tag "Next",
> :onclick => "if($('camp').length - 1 > $('camp').selectedIndex) $
> ('camp').selectedIndex++; return false;" %>
Thanks Erol Fornoles for the answer.. but I just couldn't make any use
of it coz it doen't work and I'm using <%=javascript_include_tag
"
I love that I can use .send() to dynamically build the name of the
method I want to call, but how do I build a variable length list of
parameters to go along with it?
I am trying to write a helper for dealing with routing and nested
resources. Rails sets me up with methods the look like this;
e
Hi, I'm really confused on how I should do it as I have a form as:
<%form_for :cart do |form|%>
Campgrounds
<%= form.select "campsite", %w{ }, :class =>
"select_campsites" %>
Hi,
I'm opening a popup window using:
<%= link_to 'Click here to manage documents and photos for this
vehicle', { :action => 'manage_photos_documents_popup' }, :popup =>
[ 'Manage Documents and Photos', 'width=550, height=750,
scrollbars=yes' ] %>
I need to close the popup and make an ajax cal
How did you install the will_paginate plugin?
--~--~-~--~~~---~--~~
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@googlegroups.com
To unsubscribe from thi
If you haven't read the docs for ActiveResource, I'd start there.
On Oct 9, 4:14 pm, Marcelo Barbudas <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Is there a book or screencast or documentation that provides best
> practices for creating an API for a RoR application?
>
> I have to build an API from scrat
Dear Franz,
I tried to do the same as you told, but i am getting a error. It goes
like this :-
NoMethodError in SearchController#search
undefined method `paginate' for #
RAILS_ROOT: C:/rubydev/NEJM
Application Trace | Framework Trace | Full Trace
c:/ruby/lib/ruby/gems/1.8/gems/activerecord-2.1
On Oct 10, 12:16 pm, Jay Pangmi <[EMAIL PROTECTED]>
wrote:
> Hi, guys thanks for all the help. Here's how I have created the combo
> box:
>
> <%=select :camp, :id, @campsites_list%>
>
> So, how would I reference it and its a partial and its under
> _campsites.rhtml (partial file).
> Thanks.
>
> --
Has anyone used craken?
http://github.com/latimes/craken/tree/master
I can't get a good crontab installed, it seems to have duplication in the entry.
Description of the problem I'm having:
http://github.com/latimes/craken/wikis
--
Anthony Ettinger
408-656-2473
http://anthony.ettinger.name
--~
Hi, guys thanks for all the help. Here's how I have created the combo
box:
<%=select :camp, :id, @campsites_list%>
So, how would I reference it and its a partial and its under
_campsites.rhtml (partial file).
Thanks.
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~
Jay Pangmi wrote:
> Hi, I was wondering if anyone can help me with this as I just don't seem
> to figure out how I can refer to a combo box and change its selected
> value to another with a button click.
> Suppose a cambo box has values '1', '2', and '3' and I have a button
> "Next" and that curre
BTW, it's actually:
params[:account][:new_format_attributes] = ...
("attributes" not "attribute")... that was just my poor typing.
Thanks,
-Danimal
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails:
Hello!
Question for you wizards...
If you've used Ryan Bates tutorial on complex forms:
http://railscasts.com/episodes/75
... or better yet, the one from Advanced Rails Recipes... perhaps you
can help me. I set up a complex form for an Account that has many
Formats which works nearly the same a
On Oct 10, 10:10 am, Clem Rock <[EMAIL PROTECTED]>
wrote:
> One thing that could be causing a big problem is that on localhost, my
> rails version is: Rails 1.2.6
>
> and on the Rails Playground hosting the version is: Rails 2.1.1
>
> Any ideas how I can get this to work in both places?
>
> Tha
Hello,
I'm trying to get the backbone of a rails project up and running
on localhost and also on a rails playground hosted site.
On localhost the app runs great and I can call my say/hello w/ either:
http://localhost:3000/controller/say/hello or
http://localhost:3000/say/hello,
but when I
Hi Jay,
Jay Pangmi wrote:
>
> Hi, I was wondering if anyone can help me with this as I just don't seem
> to figure out how I can refer to a combo box and change its selected
> value to another with a button click.
> Suppose a cambo box has values '1', '2', and '3' and I have a button
> "Next" and
On Oct 10, 4:15 am, "Felipe Vergara" <[EMAIL PROTECTED]> wrote:
> I need some help, i want to make a script that extracts the DOM objects from
> a web page, to get some content.
>
> For example
>
> i have a urlwww.example.com
>
>
>
> This evening three persons went to visit
>
>
>
>
I wrote a gem called ext for doing subproject management in an SCM
agnostic manner. It allows you to use a mixture of git/svn projects
and works more like svn:externals than git-submodule.
It might not be of interest though because it does not currently allow
you to freeze a subproject at a spec
Hi, I was wondering if anyone can help me with this as I just don't seem
to figure out how I can refer to a combo box and change its selected
value to another with a button click.
Suppose a cambo box has values '1', '2', and '3' and I have a button
"Next" and that currently '1' is selected in the
On Oct 9, 4:10 am, Frederick Cheung <[EMAIL PROTECTED]>
wrote:
> Are you getting hoodwinked by the fact that the development environmentis
> loaded once in order to dump its database (and then the
> testenvironmentloads) ?
>
> Fred
I think something strange was going on, as the test environme
I have an A-Z list that controls a list of check_box_tag values. So a
user clicks on a A-Z link, the list of checkboxes are displayed, they
tic the checkboxes and the value is stored in the session variable,
and they go on like that until they submit. Once they submit, the
session variable is loop
Frederick Cheung wrote:
> On 8 Oct 2008, at 21:41, Rob Sargent wrote:
>
may just have to switch the schema dumper format to :sql (in
environment.rb), although this does tend to kill cross database
compatibility.
Fred
>>>
>>> OK, I'll look into that. Thank
>>
>> Setting '
Hi,
Is there a book or screencast or documentation that provides best
practices for creating an API for a RoR application?
I have to build an API from scratch and I have no idea where to start.
--
M.
--~--~-~--~~~---~--~~
You received this message because you are
On Thu, Oct 9, 2008 at 2:45 PM, fRAnKEnSTEin <[EMAIL PROTECTED]> wrote:
> If you have some free time, can you test the virtualhost configuration
> over your dedicated server? to see if you get the same problem that i
> do or if you not. Maybe the real problem is something about the
> virtualhost.
I have a situation where I abstractly have a has_many through
relationship between three tables. Without the through, I'd have no
trouble passing the necessary value to the third table, but with it, I
have no access to the original object id.
This is what I've come up with but I'm wondering if th
Hi Hassan,
>It's a good idea to use bin/apachectl -t and bin/apachectl -S to check
>your config file syntax.
I've executed bin/apachectl -t and bin/apachectl -S both commands give
me "Syntax OK" and no errors.
>on my installation I
>changed both the DocumentRoot directive and the primary Direct
Yep, using a content_for call:
http://www.inthetail.com/2008/4/24/ruby-on-rails-content_for
On Thu, Oct 9, 2008 at 4:20 PM, HansCz <[EMAIL PROTECTED]> wrote:
>
> Given an application layout like
>
> www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
>
>
>
>Test
><%= stylesheet_link_tag
Given an application layout like
Test
<%= stylesheet_link_tag 'test.css' %>
<%= javascript_include_tag 'some_js', :cache => true, :charset =>
'utf8' %>
<%= yield %>
and a controller, say
app/controllers/root_controller.rb:
class RootController < ApplicationC
It turns out it is not hanging, it is just that the "Execute
db:schema:dump" phase takes a long time. In my case it took ten
minutes because I had a bunch of tables from other applications in my
database.
-Frank
On Wed, Oct 8, 2008 at 4:40 PM, Frank Kim <[EMAIL PROTECTED]> wrote:
> When I run r
I need some help, i want to make a script that extracts the DOM objects from
a web page, to get some content.
For example
i have a url
www.example.com
This evening three persons went to visit
I need to get the content inside that div
--
Felipe Vergara Contesse
Ingeniería Civil
I'm getting this message all the time:
searchd error (status: 1): client version is higher than daemon version
(client is v.1.19, daemon is v.1.7)
I have tried many versions but the problem is still there.
Does anyone know how to solve that?
Thanks.
Adeel Ahmad wrote:
> Not yet... I did upda
Elad, have you been able to solve this?
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~~---~--~~
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@go
I have this EXACT same problem!
Austin, its true at the end of the day you have X pixels by Y pixels
independent of DPI. But for some applications, they need the documents
size expressed in "inches".
In other words, when you go to document properties, it will currently
tell you the size based
Roy,
I have probably 3 different solutions I've used in different places,
but they each have different drawbacks. The closest solution is the
one you refer to, where when the child validates it has an error on
the required parent_id, but the parent_id is only missing because the
child failed val
Is this the multiple-models-one-form problem? If so, see this & the prior 2
railscasts:
http://railscasts.com/episodes/75-complex-forms-part-3
The problem that's not treated in those (IIRC) is how to give informative error
messages when child item validation fails. IIRC, you get *something*
I mean a data entry form that is not connected to a table through a
model
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group
One way to make this happen is to do a redirect in the controller after
Model.save or Model.update_attributes rather than a render back to the new or
edit action. Could that be your problem?
(If that's not clear, post the update method of the appropriate controller.)
HTH,
-Roy
-Original
Hi *,
I'm writing a Restful service that should map a pre-existing
partially restful site.
What I find confusing is how to display models in my views. I'm
writing all XML in builder using the respond_to API, but everything I
found on the net uses the to_xml method of model's instances, and
Okay, this is something I run into a lot and don't really have a great
solution. Here is a simple example:
class Blog < ActiveRecord::Base
has_many :posts
validates_presence_of :name
end
class Post < ActiveRecord::Base
belongs_to :blog
validates_presence_of :name
validates_presence
Just to clarify--do I take that you're well comfortable w/basic HTML/css (or
tables I suppose) for doing layout etc.? You could if you had the time
hand-write static html pages to get the effects you want, you just haven't been
able to figure out how to get rails to generate it for you? (As s
Hey All,
I'm frustrated with validates_presence_of. I have a form, and I'm
validating four fields using validates_presence_of..
It works fine, except that when the form comes back with the error
messages, it is blank. If a user enters three of the four required
fields and submits the form, the
Thank you!
On Oct 8, 6:56 pm, "Maurício Linhares" <[EMAIL PROTECTED]>
wrote:
> What you want is a collection, not a member:
>
> map.resource :species, :collection => { :list => :get }
>
> Also, instead of using url_for, you could use list_species_path( :sort
> => key, :page => nil )
>
>
>
> On We
On Thu, Oct 9, 2008 at 10:22 AM, fRAnKEnSTEin <[EMAIL PROTECTED]> wrote:
> After fixing that 3 errors i re-run the installer by:
> passenger-install-apache2-module
> and installation was successfull.
>
> 3- i edited my http.conf file located at: pico /usr/local/apache/conf/
> httpd.conf
> 4- i ad
Hi Mr Hassan,
In my dedicated server i've: (obiusly RoR and mongrel already
installed & running fine):
1- gem install passenger
2- passenger-install-apache2-module
here i got 3 errors:
a- "Apache 2 development headers were not detected by the script."
To fixed this i just create a symbolic lin
On 9 Oct 2008, at 17:36, Xavier wrote:
>
>
> Hi there,
>
>
> Now why isn't this asset's contact record already associated to the
> existing contact instance?
>
> I've been using Rails for years and it's the very first time I notice
> such a behavior. It has always occured to me that, when invok
Hi Hassan,
Thank you for your reply and help. Ok. Gonna check again my
installation, maybe i did somehting wrong. So i am going to check
again to see if i have better luck!. I will let you know what
happenned.
Regards
--~--~-~--~~~---~--~~
You received this mess
Hi there,
I'm experiencing some weird behavior with automatic loading of parent
associations in ActiveRecord using Rails 2.1.
Let's take this simple model:
class Contact < ActiveRecord::Base
has_many :assets
end
class Asset < ActiveRecord::Base
belongs_to :contact
end
And
Hi Mr Peter De Bredt,
>Frankly, if you order cPanel or Plesk because you don't have a clue on how to
>configure a server yourself
I have not ordered cpanel, in fact i have not buyed the dedicated
server. But yes, i am not an Senior Server Administrator. in fact i am
not using cpanel for nothi
> [A preview of my next blog entry]
And - if I can trust the new blogging system there - my next blog
entry is up:
http://broadcast.oreilly.com/2008/10/testing-rails-partials.html
--
Phlip
--~--~-~--~~~---~--~~
You received this message because you are subs
On Wed, Oct 8, 2008 at 11:09 PM, fRAnKEnSTEin <[EMAIL PROTECTED]> wrote:
> Well i mean that i have full root access to all accounts on the
> server. And that i can install, delete, update etc in any way i want
> to. Only my apps are installed and running , i have all the power over
> the server,
Theo,
On Thu, Oct 9, 2008 at 11:30 AM, Theo R. <[EMAIL PROTECTED]> wrote:
> I'm building an app where I keep a large number of files on the
> harddisk such as RAILS_ROOT/public/data/foo.bin etc..
>
> Within my database I have a field that gives me foo.bin.
>
> In a view how do I get a fully qual
No one answers@@
On 10月8日, 上午12時10分, Ruby Nudy <[EMAIL PROTECTED]> wrote:
> how to integrate existing rails project into a new rails project?
>
> i want to use Yahoobb pack (http://github.com/xdite/yahoobb-pack/tree/
> master) as plugin or third party lib for a new rails project.
>
> but i dont k
Hi all,
I'm building an app where I keep a large number of files on the
harddisk such as RAILS_ROOT/public/data/foo.bin etc..
Within my database I have a field that gives me foo.bin.
In a view how do I get a fully qualified url such as
http://localhost:3000/data/foo.bin?
I tried using link_to
I've just gone through "Agile Web Development with Rails."(Pragmatic
Bookshelf) in an online version that covers rails 2.x(NB printed
versions of the book I have seen for sale do not cover ver 2.x, so I
would not recommend them). The first part of the book is a rather
involved tutorial that does
Jason Lillywhite wrote:
> I have a form called edit.rhtml that lets you edit attributes of an
> Event object.
> In the file I have the following code:
> <% form_tag :action => 'update', :id => @event do %>
> <%= render :partial => 'form' %>
> <%= submit_tag_or_cancel 'Save Changes' %>
> <% end
On 9 Oct 2008, at 15:52, David Trasbo wrote:
>
> Frederick Cheung wrote:
>
>>> In this case the partial is longer than the {some_partial} and
>>> some of
>>> the second instance of the partial disappears. How can I force
>>> Ruby to
>>> replace the characters between to positions with a long
bingo bob wrote:
> Any tips as to how paperclip can be used to delete photos.
>
> I mean that in my update view I show six browse buttons, all capable of
> updating the photo that corresponds to that browse button (e.g. photo1
> or photo2). That works, what if the user wants to delete one of thos
Frederick Cheung wrote:
>> In this case the partial is longer than the {some_partial} and some of
>> the second instance of the partial disappears. How can I force Ruby to
>> replace the characters between to positions with a longer string?
>
> You could fiddle with insert or something like that
I have a form called edit.rhtml that lets you edit attributes of an
Event object.
In the file I have the following code:
<% form_tag :action => 'update', :id => @event do %>
<%= render :partial => 'form' %>
<%= submit_tag_or_cancel 'Save Changes' %>
<% end %>
The 'update' method in the contro
When you say tables do you mean database tables OR html tables ?
Here is a good howto on session based model:
http://railscasts.com/episodes/119-session-based-model
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "
On 9 Oct 2008, at 15:14, David Trasbo wrote:
>
>
> In this case the partial is longer than the {some_partial} and some of
> the second instance of the partial disappears. How can I force Ruby to
> replace the characters between to positions with a longer string?
You could fiddle with insert or s
Frederick Cheung wrote:
>> But I'm not using an array!.. Am I missing something?
>
> Yes :-)
> here drop is an array (the first element is the key, the second is the
> value)
> Typically one using each with a hash, one does
> some_hash.each do |key, value|
> ...
> end
All right. Fixed. :)
> la
Any tips as to how paperclip can be used to delete photos.
I mean that in my update view I show six browse buttons, all capable of
updating the photo that corresponds to that browse button (e.g. photo1
or photo2). That works, what if the user wants to delete one of those
photos, how do I do that?
Have you tried will_paginate? Ryan Bates has a wonderful screencast
at
http://railscasts.com/episodes/51
Also the will_paginate google group is helpfull. In the screencast
ryan bates shows how to put the pagination
in the model
Best wishes - Owen
Erol Fornoles wrote:
> On Oct 9, 8:17�pm, Sreej
The form helpers don't care if an object is an ActiveRecord::Base or
not, it simply works on the attributes of the object.
So, just don't make your model a subclass of AR::Base.
Jason
On Thu, Oct 9, 2008 at 9:31 AM, Pepe Sanchez
<[EMAIL PROTECTED]> wrote:
>
> Hi all
>
> I am looking for some in
Frederick Cheung wrote:
> On Oct 9, 12:45�pm, Jay Pangmi <[EMAIL PROTECTED]>
> wrote:
> That looks a bit mangled to me - that second like reads
> document.createElement('div').__proto__) {
> on my machine.
> rake rails:update
> will restore prototype.js from the version in the framework.
>
> Fre
Hi all
I am looking for some informaiton about how to create forms using
tableless models.
What do you recommend?
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Ruby
on
On Oct 9, 2:03 pm, John Ivanoff <[EMAIL PROTECTED]> wrote:
> Sweet. Kind of scary that it just disappeared. . .
>
google groups seems to do that every now and again. The ruby on rails
talk group disappeared for a day or two a month or two ago.
Fred
--~--~-~--~~~---~-
Sweet. Kind of scary that it just disappeared. . .
John
On Oct 8, 3:09 am, "Andreas Wolff" <[EMAIL PROTECTED]> wrote:
> Thegroupis back and working again. We don't actually know what has
> happend, but most of the guys who had problems with their groups since
> first October are lucky again, too
On Oct 9, 8:17 pm, Sreejith Padmanabhan <[EMAIL PROTECTED]
s.net> wrote:
> yeah i tried it,
>
> but i am not able to get the output.
>
> can u help me
> i am attaching the controller file with this.
>
> class SearchController < ApplicationController
> def search
> searchvalue=params[:searchtextfie
OK, here's a quick summary on how to use will_paginate
install the gem:
gem install will_paginate
edit the the file config/environment.rb in your application's
directory. add this line at the bottom:
require 'will_paginate'
now, in your controller:
def search
# I prefer setting my option
On Oct 9, 12:45 pm, Jay Pangmi <[EMAIL PROTECTED]>
wrote:
> Frederick Cheung wrote:
> > On Oct 9, 5:13 am, Jay Pangmi <[EMAIL PROTECTED]>
> > wrote:
> > So is prototype.js loaded or not (the firebug thingy allows you to see
> > which .js files are loaded)?
>
> > Fred
>
> Hi Fred, I don't know ho
yeah i tried it,
but i am not able to get the output.
can u help me
i am attaching the controller file with this.
class SearchController < ApplicationController
def search
searchvalue=params[:searchtextfield]
@nejmvalue=NEJM.find(:all, :conditions=> ["keywords like
?",'%'+searchvalue+'%'],
Hi,
We have a RESTful server application which exposes the following routes
using the following rules, but when trying to consume those resources
from a client application the routes are not generated correctly. And we
are not sure how to get around that.
The routes.rb specifies the following re
On Thu, 09 Oct 2008 17:03:02 +0800, Mohit Sindhwani <[EMAIL PROTECTED]>
wrote:
>
> Simon Macneall wrote:
>> Hi all,
>>
>>
>
> I'm sorry I can't help you directly but is the above spelling error for
> disposition actually there in your code?
>
Yes it was, that wasn't the problem though, once I s
Frederick Cheung wrote:
> On Oct 9, 5:13�am, Jay Pangmi <[EMAIL PROTECTED]>
> wrote:
> So is prototype.js loaded or not (the firebug thingy allows you to see
> which .js files are loaded)?
>
> Fred
Hi Fred, I don't know how I find that, all that is in the error console
is:
=
Everything in the params hash is a string when it comes through the
controller. If you're passing the entire params hash to AwardingBody.new,
the params hash looks like {'these' => 'params'}. Thus, if you change your
expectation to {'these' => 'params'}, it will be satisfied.
In the future, it's p
Thanks for the tip Fred.
I hadn't tried Order.find(:all,:conditions => ['created_at BETWEEN ?
AND ?',start_date, end_date]) myself... it does work on rails 2.1.0
Mahmoud
On Thu, Oct 9, 2008 at 10:46 AM, Frederick Cheung <
[EMAIL PROTECTED]> wrote:
>
>
> On 9 Oct 2008, at 09:18, mahmoud said wro
On 09 Oct 2008, at 11:28, ChessMess wrote:
> Awesome, a JQuery drop in replacement for P&S :
>
> http://ennerchi.com/projects/jrails
>
> The migration continues, whether or not 37 Signals wants to
> acknowledge it.
It's been around for quite a while and it has nothing to do with
rails, nor wil
On 9 Oct 2008, at 11:16, David Trasbo wrote:
>
> Frederick Cheung wrote:
>> On 9 Oct 2008, at 10:15, David Trasbo wrote:
>>
>>> I don't see other possibilities.
>> accumulate the replacements you need and do them at the end (last one
>> first)
your locals are things like bar=foo (and i imag
Um... the value attribute is "Yes", "No", "I don't care" :), related to
the web page on the name of radio button.
I will have a look to the links you mention. However, I am not sure I
will be able to change this, so I think I will end up encoding the url
some way and decoding it in the control
> But given the table structure noted above, will XPath actually work to
> take the variables that I need in each of the columns and insert those
> into database fields? I need to locate 3 separate columns and grab each
> of those by row and insert those into a table. So the html and the
> data
On 08 Oct 2008, at 19:59, JWB wrote:
> We applied the patch as Peter described and had good results.
> Recently, the uploads started failing for a significant number of our
> users - they are told to login even though they already
> authenticated. We upgraded to Rails 2.1.1, so I'm looking for a
Hello,
Is that normal I get an InvalidAuthenticityToken error after a simple
form submit with w3m or lynx browser.
And not any error on Opera, Firefox or Safari.
Thanks.
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~~---~--~~
You received this message b
Frederick Cheung wrote:
> On 9 Oct 2008, at 10:15, David Trasbo wrote:
>
>> I don't see other possibilities.
> accumulate the replacements you need and do them at the end (last one
> first)
>>> your locals are things like bar=foo (and i imagine the values are
>>> blank)
>>
>> Unfortunately that i
On 9 Oct 2008, at 10:15, David Trasbo wrote:
>
> Frederick Cheung wrote:
>
>>> Let me start out by saying that both the argument, name, value,
>>> arguments, to and from has the values they should have when I debug
>>> them, but for some reason I'm getting an error that looks like this:
>
>> A g
Awesome, a JQuery drop in replacement for P&S :
http://ennerchi.com/projects/jrails
The migration continues, whether or not 37 Signals wants to
acknowledge it.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Ruby
On 09 Oct 2008, at 05:36, Hassan Schroeder wrote:
>> I am trying to install/configure Passenger on a dedicated centos
>> server. I have installed passenger successfully, but i am having to
>> much troubles trying to configure it with my dedicated server
>
>> First of all, my dedicated server uses
On Oct 9, 12:10 pm, cyrusdev08 <[EMAIL PROTECTED]> wrote:
> Hello All,
>
> Can anybody suggest me in rails how to keep admin code seperate from
> front end...?
One way is to use namespaced controllers. For example:
script/generate controller Admin::Users
Will automatically give you a route of
On Oct 9, 5:14 pm, Sreejith Padmanabhan <[EMAIL PROTECTED]
s.net> wrote:
> dear all,
> i am not able to use pagination plugin and i dont know much about ruby
> on rails. the pagination code is as below:-
>
> @searchvalue=params[:searchtextfield]
> string1="Select count(*) from nejms where keyword
Frederick Cheung wrote:
>> Let me start out by saying that both the argument, name, value,
>> arguments, to and from has the values they should have when I debug
>> them, but for some reason I'm getting an error that looks like this:
> A general point - it may not be advisable to modify the stri
On 09 Oct 2008, at 10:01, Mike C wrote:
> Just wondering, when I want to update a plugin, do I have to reinstall
> it and do everything over again or is there any easier way?
• Piston (http://piston.rubyforge.org/)
• svn externals
• git submodules
Best regards
Peter De Berdt
--~--~-
1 - 100 of 121 matches
Mail list logo