Hello Rails developers,
I wanted to let you know about our latest announcement. El Dorado,
Substruct, Tracks and Beast -- 4 open source Rails applications can
now be readily deployed to Morph AppSpace by just clicking a few
buttons. What's in it for you? Well, we've basically taken out the
diffic
Sounds like you have a stale cookie laying around. You can check for
this through the preferences menu related to your browser.
You could just delete all cookies related to localhost (i.e.
127.0.0.1) and then reload your application. I've seen this related
to changes to the config/environment.r
Hi there,
My company (and product) [EMAIL PROTECTED] (www.spikeatschool.co.nz) is
basically a CMS for schools. It allows you to add pages, links, blah,
and more complicated things like podcasts and staff profiles to the
site. We developed it around a central core called
component_instances. It's
anyone help me?
--~--~-~--~~~---~--~~
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 this group, send email to [EMAIL
On Oct 31, 1:38 pm, Joe Blow <[EMAIL PROTECTED]> wrote:
> When configuring the ssh_options[:keys] options. It says it should have
> a value of path/to/ssh/id_rsa. Is that on my local machine or on the
> host machine?
id_rsa is your private key and should stay on your local machine; keep
it secr
Thanks all of you for help. Daniel I think that's what's happening.
I'll try another approach.
Elioncho
On Oct 30, 9:44 pm, Daniel Bush <[EMAIL PROTECTED]> wrote:
> elioncho wrote:
> > The childElements length never changes when I make the event
> > disappear. It's like it remains with what init
elioncho wrote:
> The childElements length never changes when I make the event
> disappear. It's like it remains with what initially is loaded on the
> html eventhough I have hide this elements.
>
I don't use these effects a lot, but the fade effect in prototype/
scriptaculous is probably sett
When configuring the ssh_options[:keys] options. It says it should have
a value of path/to/ssh/id_rsa. Is that on my local machine or on the
host machine?
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~~---~--~~
You received this message because you are sub
Harold wrote:
> On the other hand, I don't understand why not use
> role based authorization to the admin area?
Exactly.
OTOH...
> I need to run migrations from the admin app.
Like I said, it doesn't matter which app you run your migrations from. Just
pick one.
HTH,
Bill
--~--~-~-
Hi,
xxmithila wrote:
> how can I retrive data from a specific row of table
> by giving two or more properties of that row?
> examlpe I want to get data which
> ID = 23 and NAME = "xx" like
If you know the ID, you don't need anything else. IDs are unique so the
query on the second field just
>
> Sort of. It is stored in the test database, but the entire test runs
> within a transaction, which is rolled back at the end of the test.
>
> Fred
But rolled back at the end of this test method or the entire
controller test? You means I need not consider if the user is saved in
the test d
The childElements length never changes when I make the event
disappear. It's like it remains with what initially is loaded on the
html eventhough I have hide this elements.
On Oct 30, 7:02 pm, boblu <[EMAIL PROTECTED]> wrote:
> why don't you write 2--4 line into a single line ?
>
> page << "if ($
Shameless bump. I still really could use some help on this guys! There
must be somebody out there who has used this.
thanks much,
jp
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Goo
Joe Peck wrote:
> Good morning everybody, how are you?
>
> Okay, this should be easy. I am generating a large array in one action,
> and I want to pass this array to another action when the user pushes a
> button.
>
> Anyone know a good way to pass a large array from one action to another?
I w
xxmithila wrote:
> hi..
>
>how can I retrive data from a specific row of table by giving two
> or more properties of that row?
> examlpe I want to get data which ID = 23 and NAME = "xx" like
As long as your table is made up of Models, you can do something like:
@mydata = ModelName.find('
thanks a lot!! :-)
--
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@googlegroups.com
To uns
Hi Enzo,
The conditions is a hash, so you can put multiple conditions in it.
ie:
conditions => { :condition1 => value, :condition2 => value, etc }
Cheers
Simon
On Fri, 31 Oct 2008 09:11:26 +0900, Enzo Rivello
<[EMAIL PROTECTED]> wrote:
>
> Hi there!
> I'm just at the beginning of my develop
Hi there!
I'm just at the beginning of my development with ruby on rails, and yet
i'm facing a problem.
See, i got 4 dropdown lists on which give 4 different parameters for a
single query to display a list of users ( 4 parameters to discriminate
them ).
For the will paginate plugin, there is the
hi..
how can I retrive data from a specific row of table by giving two
or more properties of that row?
examlpe I want to get data which ID = 23 and NAME = "xx" like
thankx
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Goog
why don't you write 2--4 line into a single line ?
page << "if ($('single_blog_info_box_480').childElements().length ==
0 ){$('message').Appear;}"
On Oct 31, 7:35 am, elioncho <[EMAIL PROTECTED]> wrote:
> I added the () but that's not the problem. I added the next alert and
> it shows the events
On the other hand, I don't understand why not use role based
authorization to the admin area?
On Oct 30, 4:54 pm, jef <[EMAIL PROTECTED]> wrote:
> > Interesting. What leads you to want to separate the admin functionality
> > into a completely separate app?
>
> I want my dev app to be equal to t
I added the () but that's not the problem. I added the next alert and
it shows the events length. But if I remove another event it still
shows the same number.
page << "alert($('single_blog_info_box_480').childElements().length)"
On Oct 30, 5:05 pm, Frederick Cheung <[EMAIL PROTECTED]>
wrote:
On Oct 30, 8:01 pm, John Small <[EMAIL PROTECTED]>
wrote:
> Frederick Cheung wrote:
> > If you were previously using require to require files in your app then
> > that can screw things up big time.
>
> > Fred
>
> A very mysterious clue! How would require mess things up? This is
> something we al
I got it. page.body.scan(/\<\/tr\>\n[\<\/form\>\n]*\\n(.*)\<\/tr
\>/mi)
thanks.
On Oct 30, 1:31 pm, Kim <[EMAIL PROTECTED]> wrote:
> page.body.scan(/\<\/tr\>\n\<\/form\>\n\\n(.*)\<\/tr\>/mi) gets
> half the results
> page.body.scan(/\<\/tr\>\n\\n(.*)\<\/tr\>/mi) gets the other half
>
> I need hel
Our web development team has left us high and dry and we need a our
website finished asap. Still a significant amount of work to be done.
We then went and hired a php high level programmer and this was his
response. " After two days of trying to work with the code supplied
I’ve concluded that I wi
On 30 Oct 2008, at 21:55, elioncho wrote:
>
> Hello, I have a code on a RJS where I want to check if an element in
> the DOM has child elements, if not, show a message.
>
> 1.page["event_"[EMAIL PROTECTED] :fade #This works
> 2.page << "if $('single_blog_info_box_480').childElements().length ==
I tested again on my WinXP box, you seem to be right, Paypal checks for
the client Platform:
I tested on my own website to see how it redirects to Paypal:
Mac+FF3: crap page
Mac+Saf: credit card form
Win+FF3: credit card form
Win+IE6: credit card form
Best regards,
--
Posted via http://www.
Hello, I have a code on a RJS where I want to check if an element in
the DOM has child elements, if not, show a message.
1.page["event_"[EMAIL PROTECTED] :fade #This works
2.page << "if $('single_blog_info_box_480').childElements().length ==
0 {"
3.page["message"].visual_effect :appear
4.page <<
Senior Web Developer (RoR)
We’ve been retained by a well positioned and managed San Francisco
based
(SOMA) startup to find an exceptional Ruby on Rails (RoR) business
applications developer. Be a key part of a brilliant team making great
SaaS
products for a huge Small Business market space. We’re
Clearly, PayPal/Ebay has a bias for Mac users.
Maybe PayPal's running a quick and dirty test on click-through rates and
is using browser type to maintain a consistent presentation to the two
classes of users. In the off chance that someone buys multiple items
through WPS they won't keep seein
I have the following upload form:
<% form_for @product_datum, :url => { :action => :create }, :html => {
:multipart => true } do |form| %>
...
<%= form.file_field :uploaded_data%>
<%= form.submit "Upload" %>
In my controller I have a
def create
..
end
For some reason when the user clicks s
John Clancy wrote:
> I checked out peepcode and it seems like I landed on the same PayPal
> page that my users land on. Specifically, there's this text on the left
> side of the Paypal page --
> Don't have a PayPal account?
> Use your credit card or bank account (where available). Continue
> <
Hello, what solution you can recommend me?
--~--~-~--~~~---~--~~
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 this
> Interesting. What leads you to want to separate the admin functionality
> into a completely separate app?
I want my dev app to be equal to the production app to make
deployement easier.
> The easiest way I can think of would be to simply run all your migrations
> from one of the apps. As l
I checked out peepcode and it seems like I landed on the same PayPal
page that my users land on. Specifically, there's this text on the left
side of the Paypal page --
Don't have a PayPal account?
Use your credit card or bank account (where available). Continue
<--small, easily missed link
The
I know a few phpBB forums that have been hacked, moreover it is badly
coded (slow buggy, etc) and the 'extensions' are even more badly coded.
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to t
Fernando Perez wrote:
> There is 'altered beast' which is based of the no longer maintained
> 'best' forum app.
>
> But if you want a truly slow and insecure server, then please use phpBB.
>
Hi Fernando, thanks for the reply. So, it does seem that the general
feedback is to avoid phpBB.
In
Roy Pardee wrote:
> Well don't leave us hanging--how'd you fix it? ;-)
Sorry, I went home from work before but now I'm online again.
class Blog::Post < ActiveRecord::Base
belongs_to :category
end
class Blog::Category < ActiveRecord::Base
has_many :posts
end
Error:
Blog is not missing cons
Hi jef,
jef wrote:
>
> I am developping a web app and I've wrote some admin
> code (parsing web site, sending massmail etc...) which don't
> need to be deployed. So I would like this code to be part of
> a second developement app.
Interesting. What leads you to want to separate the admin functi
page.body.scan(/\<\/tr\>\n\<\/form\>\n\\n(.*)\<\/tr\>/mi) gets
half the results
page.body.scan(/\<\/tr\>\n\\n(.*)\<\/tr\>/mi) gets the other half
I need help writing the reg ex that gets all the results.
Thanks in advance.
--~--~-~--~~~---~--~~
You received this m
> Like you, I spent some time trying to avoid this obfuscation for my
> users but had no luck -- obviously, Paypal has set it up that way on
> purpose to encourage Paypal usage.
>
I know it is possible to do it, because the peepcode.com website does
it. As the developer of the website didn't e
Hi;
I am developping a web app and I've wrote some admin code (parsing web
site, sending massmail etc...) which don't need to be deployed.
So I would like this code to be part of a second developement app.
But there's a probleme regarding the schema_migrations table. it must
be unique.
How can
Rick Fiorentino wrote:
> Hi Jeremy,
>
> This appears work however there is no way to cleanly shut down the
>
> style --debug --handler scgi start
>
> control-c's are ignored and the only way to stop this is to shutdown /
> close the cmd prompt.
>
> Basically, I am surprised there is not a SIG
Like you, I spent some time trying to avoid this obfuscation for my
users but had no luck -- obviously, Paypal has set it up that way on
purpose to encourage Paypal usage. Not nice of them especially since a
lot of my users are from an older demographic less savvy about
Paypal/Web and less ab
There is 'altered beast' which is based of the no longer maintained
'best' forum app.
But if you want a truly slow and insecure server, then please use phpBB.
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~~---~--~~
You received this message because you a
acts_as_conference? Is it possible to find a more ridiculous name?
--
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 e
Frederick Cheung wrote:
> If you were previously using require to require files in your app then
> that can screw things up big time.
>
> Fred
A very mysterious clue! How would require mess things up? This is
something we all need to know. I certainly do, it's quite hard for me to
find out ab
Hi John,
Thanks for your reply. In the mean time I had found the Paypal plugin
which is buried somewhere in their developer website.
The link I have posted earlier actually has taken code from it to create
the button. I still don't understand why it is not made available
out-of-the-box in Act
Need to find experienced Ruby on Rails developers
Key requirements:
- Speak English in an advance level
- 1 plus year of Rails experience on production project
- Could be available immediately or in next two weeks
- Experience of Agile development and Scrum meeting methodology
- Be experienced de
Hi Zuo!
Thank you again for your help! I did this and it says that a "}" is
missing right after * as in :filename=>*
def exportxml
if params[:item_ids] ||= []
@items = Item.find(params[:item_ids])
respond_to do |format|
format.xml {send_data @items.to_xml do
This took me about a week of hair-pulling to finally locate and I'm
happy to save you that pain -- :)
It seems that the nice folks at PayPal actually wrote a rails plugin to
do this and then decided to TELL NO ONE ABOUT IT!
Somehow I found it after A LOT of looking. The name of the magic pl
On Oct 30, 7:08 pm, John Small <[EMAIL PROTECTED]>
wrote:
> Roy Pardee wrote:
> > Well don't leave us hanging--how'd you fix it? ;-)
>
> Oh I thought I'd explained it in the previous message. I took the class
> definitions out of the module, and moved them into the rake file. That
> did the tric
On Oct 30, 7:04 pm, Deepa Pandalai <[EMAIL PROTECTED]>
wrote:
> I'm a beginner. I get that error "wrong number of arguments (1 for 2).
> Please let me know why this is so. I'm copying the comand from the Agile
> Devpl. book. thanks, Deepa
your book is out of date. that generator looks like
ruby
Roy Pardee wrote:
> Well don't leave us hanging--how'd you fix it? ;-)
Oh I thought I'd explained it in the previous message. I took the class
definitions out of the module, and moved them into the rake file. That
did the trick.
I suspect that the problem has something to do with the associati
Hi,
sw0rdfish wrote:
> I've created some AJAX type searches in my project that rely
> on searching on companies, which I use the INDEX action of
> company_controller and pass a parameter
While 'index' is an OK choice here, given the default action in Rails, you
might want to consider using the
Hi Jeremy,
This appears work however there is no way to cleanly shut down the
style --debug --handler scgi start
control-c's are ignored and the only way to stop this is to shutdown /
close the cmd prompt.
Basically, I am surprised there is not a SIG handler in windows to do
this as well?
I
I'm a beginner. I get that error "wrong number of arguments (1 for 2).
Please let me know why this is so. I'm copying the comand from the Agile
Devpl. book. thanks, Deepa
RubyScripts\depot>ruby script/generate scaffold product admin
exists app/models/
exists app/controllers/
e
On Oct 30, 7:05 pm, Frederick Cheung <[EMAIL PROTECTED]>
wrote:
> You're calling Array#rand (a private method Array defines), whereas
> you want to call Kernel#rand. Replace rand with Kernel.rand and you
> should be ok
That was it. Thanks for the tip. I didn't know Rails added in it's own
rand me
That did it, thanks
On Oct 29, 10:43 pm, Thani Ararsu <[EMAIL PROTECTED]>
wrote:
> [EMAIL PROTECTED] wrote:
> > Nope, that doesn't work. To clarify, the year part is supposed to be a
> > pull down select menu of "Senior, Junior, Sophomore, Freshman"
>
> > On Oct 29, 10:11 pm, Thani Ararsu <[EMAIL
It doesnt't show anything at all, at least the images, it doesn't
matter they're located in the right folder, they don't show up in the
view. It's working on the index method but not on the other one...and
I'm afraid that doesn't work on the others. My PC didn't crashed, just
the view.
Later...
-
Rails For All is happy to announce that the request for proposals for
acts_as_conference 2009 has begun!
In today's economy, maintaining a competitive advantage is crucial,
whether you are a freelancer, or you run a development shop. Using the
productivity benefits of Ruby on Rails helps us to st
I have a dream email system that I'd like to set-up. Well, actually,
I've already set it up, but I've got a few questions to ask and there's
also some limitations that I'd like to work through.
I think that this topic might be helpful for lots of other folks 'cause
my dream system seems like it'
>
> I tried to do the same in the "causes" and... unfortunately it fails.
>
This of course leaves us with many options...
Would failed mean, that your machine crashed?
Ok, most likely it doesn't render anything at all?
Or is missing to include the stylesheet?
Or the swfupload code?
Does it run
I'm still looking around for a good forum to integrate with a Radiant
site that I'm working on, and I have narrowed it down to three options
in the Rails world:
(a) RForum - that seems to be updated less frequently, but seems quite good!
(b) Altered Beast - quoted as an exemplary Rails 2 applica
Hi there.
I have a problem with the view of the method related to the same
controller.
I have two methods in one controller: "index" and "causes", which each
one has a view. I make my "index" view with stylesheets, javascripts
and images saved on their respective folder in /public. e.g.:
<%= st
We're getting ready to launch our new social networking application
and need some development/sysadmin help in the run up to release.
We've got lots of small jobs, fixes and a few last second integrations
to be done, plus some general sysadmin. Ideally, you'd have good
recent experience of develo
Rick Fiorentino wrote:
> Hi Jeremy,
> Doesn't appear to work even in debug mode on Windows. Let me know if you
> need additional info or if I goofed up the testing.
You didn't goof anything up, it's setting up the signals in scgi that is
the problem. Try this patch to ruby-scgi:
diff --git a/
hmm...I never noticed the text_antialias method before. I'll have to
remember that the next time I run into issues.
Glad I could help!
Jim
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" gro
Hi Jeremy,
Doesn't appear to work even in debug mode on Windows. Let me know if you
need additional info or if I goofed up the testing.
Error below:
c:/ruby/lib/ruby/gems/1.8/gems/scgi-0.9.0/lib/scgi.rb:257:in `trap':
unsupported signal SIGHUP (ArgumentError)
from
c:/ruby/lib/ruby/gem
http://github.com/Lipsiasoft/erails/wikis/home
Is a javascript / template agnostic version of rails.
We need suggestion and contributors!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
Hi Nellboy,
I got it in the end by freezing the gems. Less than ideal, but it's
not a public facing app so my customer service pixies will just have
to live with it if it falls over.
Thanks,
todd
On Oct 30, 3:19 pm, Nellboy <[EMAIL PROTECTED]> wrote:
> Hi Todd
>
> I had the same problem on my
On 30 Oct 2008, at 16:37, daociyiyou wrote:
>
> i have a conclusion to make sure,that is : when testing codes, only
> the fixtures data are stored in the test database table after running
> the test and the model saved during runing test method is not stored
> in the test database table? For e
On 30 Oct 2008, at 16:24, tashfeen.ekram wrote:
>
> I am working with two Java developers. We are developing a web app
> using the typical open source java libraries tapestry, hibernate,
> etc. I am trying to convince them to switch over to Rails. I was
> hoping to get some advice/articles fro
On 30 Oct 2008, at 16:22, Farrel wrote:
>
>
> As you can see if I execute the code myself it seems to work. If I
> copy that same code into irb it works perfectly.
>
You're calling Array#rand (a private method Array defines), whereas
you want to call Kernel#rand. Replace rand with Kernel.rand a
Why shouldn't it be changed right away? Because the parent may be
invalid.
Really, the problem is consistency. If are doing an update to the
parent and children and the parent is invalid, the children may or may
not be affected. The consistent way to handle it would be to not
update the childr
Hi,
I have to connect to a legacy DB wich has a schema called "Financeiro".
I setup my database.yml to:
...
schema_search_path: Financeiro
...
when activerecord tries to find something I get the following error:
ActiveRecord::StatementInvalid: RuntimeError: ERROR C3F000 Mschema
"financ
Hello all,
We are using the action_cache(http://craz8.com/svn/trunk/plugins/
action_cache/) plugin for time based expiry of our RSS feeds. We
upgraded to Rails 2.1, and now it fails because the plugin calls
@actions.include?(controller.action_name.intern). There is no @actions
anymore as seen in
i have a conclusion to make sure,that is : when testing codes, only
the fixtures data are stored in the test database table after running
the test and the model saved during runing test method is not stored
in the test database table? For example:
#
def test_save
user=User.new(...)
use
Hello, anyone know who is the best plug-in for authorization in rails?
I found this link http://www.vaporbase.com/postings/Authorization_in_Rails
but is old, maybe today we have something better.
Thanks.
--~--~-~--~~~---~--~~
You received this message because you
I am working with two Java developers. We are developing a web app
using the typical open source java libraries tapestry, hibernate,
etc. I am trying to convince them to switch over to Rails. I was
hoping to get some advice/articles from this group on what kind things
can be useful in our discus
I tried to create an addition to Enumerable called choose_randomly
that picks a random element from the Enumerable object. However when I
define it and execute the code rand complains about the wrong number
of arguments. Below is a capture of the ./script/console session.
[EMAIL PROTECTED] ~/Work
just replace the line in boot.rb with
rails_gem = Gem.cache.search(Gem::Dependency.new('rails',
"~>#{version}.0")).sort_by { |g| g.version.version }.last
Note that the two string parameters to search() are replaced by one
parameter of type Gem::Dependency. Think of it as wrapping the strings
in
Rick Fiorentino wrote:
> Thanks Jeremy.
>
> I am up and running on my Linux box per your direction but I noticed
> style on windows is not supported due to fork issues? Seems like SCGI on
> windows with ROR 2.+ is not an option anymore?
>
> Is there a solution for SCGI on windows with lighttpd
Well don't leave us hanging--how'd you fix it? ;-)
-Original Message-
From: rubyonrails-talk@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of
Jamal Soueidan
Sent: Thursday, October 30, 2008 7:35 AM
To: rubyonrails-talk@googlegroups.com
Subject: [Rails] Re: X is not missing constan
Good morning everybody, how are you?
Okay, this should be easy. I am generating a large array in one action,
and I want to pass this array to another action when the user pushes a
button.
@problems is a large array (about 2,000 items) that I need to pass to
the action "buy_cards". What is the
Zhoran Tvalve wrote:
> Hi, Jim!
> It really works!! I just turned off antialiasing and got it!!!
> Please take a look at the pictures. That is what I needed.
> Thank you for your help!
One note more.
I've checked again and found that result defends on both callings
@gc.stroke('transparent').stro
Thanks Jeremy.
I am up and running on my Linux box per your direction but I noticed
style on windows is not supported due to fork issues? Seems like SCGI on
windows with ROR 2.+ is not an option anymore?
Is there a solution for SCGI on windows with lighttpd and ROR 2.1.1?
Any info is apprecia
How about putting a serialized version of it as an attachment using a
multipart-form? As long as you're using a POST in your form action there
shouldn't be any set limit on the size of data that you're posting.
@problems.to_yaml (or @problems.to_json) should give you a textual
format. Then in
Hi there,
I currently have two unique sites each requiring a news section which
I planned to content manage through blog software. I installed
Mephisto on the the same server as the two apps, and had it running
successfully, providing news to one of the two sites now in
operation. I then tried
just replace the line with
rails_gem = Gem.cache.search(Gem::Dependency.new('rails',
"~>#{version}.0")).sort_by { |g| g.version.version }.last
Note that the two string parameters to search() are wrapped in a
Gem::Dependency object. Strange refactoring, took me quite a while.
HTH, Thomas
lun
I don't think it's odd at all the only reason it's not saved until
the Parent is initially saved is if the parent has no ID, how cna you
assign parent_id to the child ( or the join table ).
If you're modifying the children w/o touching the parent say
categories and posts in those categori
Hi Todd
I had the same problem on my development machine, basically some of
the instructions out there are less than satisfactory (hint hint:
Agile Web Development with Rails)... I solved the problem by
completely removing rails, ruby, and mysql/sqlite3, and starting again
using the following sat
Hey all,
I'm working on a project right now, and one of the models is
Company simple regular company.
Now I've created some AJAX type searches in my project that rely on
searching on companies, which I use the INDEX action of
company_controller and pass a parameter which returns my companie
Jamal Soueidan wrote:
> Moving my app from rails 1.2 to rails 2.1, I stuck into this weird
> problem?
>
> X is not missing constant Y.
>
> The problem occurs when I use the join table association.
>
> X.find(1).y
>
> It works in (script/console) but not in browser?
>
> Anyone have any experie
Ryan Bigg wrote:
> It would be better if you explained what X and Y were and how they
> relate to each other. Could you please do that for us? Thanks.
It's fixed :)
Thanks.
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~~---~--~~
You received this message
Rick Fiorentino wrote:
> Hi,
>
> Looking at using the updated scgi gem version. I have a bit of confusion
> regarding how to run it. The earlier Zed version(0.4.3) ran without
> issue in a lightty configuration I have, pre 2.+ ROR. Updated to 2.1.1
> and the scgi_service command fails due to m
In one place in my views I do something different if I'm in production
rather than development or test. How do I test that? I need to change
the environment for just that one test but I can't set RAILS_ENV as
that's a global constant and Ruby complains.
Thanks
John Small
--
Posted via http://ww
Frederick Cheung wrote:
>
> You're wrong. There is only one cookie. it contains a serialised ruby
> object (a hash to be quite precise)
>
> Fred
I think I figured it out. I did a remote_function in my layout
<% func = remote_function( :url => { :action => 'set_session_nil'} )
-%>
...
a
I've just deployed a second 2.1.0 app on to a long-running ubuntu
8.0.4 box. The first app, which lives in the same top level
directory, runs fine. The new app, however, mostly refuses to run
(mongrel will start, but I can't migrate or start the console),
raising this error:
"Missing the Rails
It would be better if you explained what X and Y were and how they
relate to each other. Could you please do that for us? Thanks.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to
1 - 100 of 152 matches
Mail list logo