you can use REST way to communicate between both application. Use Active
Resource, look at a this article
http://www.ryandaigle.com/articles/2006/06/30/whats-new-in-edge-rails-activeresource-is-here
On Thu, Mar 24, 2011 at 11:49 AM, dhanashree naik wrote:
> Hi,
> I am new to rails enviornment & f
Hi,
I am new to rails enviornment & facing problem regarding authentication
for my current project.I have one rails application where user creation
& login is there.I also have another rails application in that also user
creation & login is there.But now i want when i click on login action
request
you have define an action called list for which you need to make an entry in
your routes.rb file.
PS: if you are creating an "Hello word" then you should try with CRUD
actions first to get handy on rails.
On Thu, Mar 24, 2011 at 11:27 AM, rahul rai wrote:
> -- am really frustrated now
> Rahul
paste here your routes.rb code also and rails version
On Thu, Mar 24, 2011 at 11:27 AM, rahul rai wrote:
> -- am really frustrated now
> Rahul
>
> --
> 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
Due to the random broken pipe error in rails, (probably due to timed
out mysql connection) I am trying to use Mysql/ruby (which was coded
with C) instead of ruby/mysql (which was coded in Ruby).
Ruby/Mysql -> http://www.tmtm.org/en/ruby/mysql/README_en.html
Mysql/Ruby -> http://www.tmtm.org/ja/my
Hi all,
Here i have a problem with IE. My page having rightsidebar having
some contents.I displayed the contents by copying from word using condition
like this.
It is working good in browser but the content not displayed in IE.plz help
me as soon as possible
--
*Thanks & Regards,*
*RA
So what could be the possible solution? I wasted my whole day trying to
figure out the issue. But didn't get anything related with this :(
On Thu, Mar 24, 2011 at 12:20 AM, Frederick Cheung <
frederick.che...@gmail.com> wrote:
>
>
> On 23 Mar 2011, at 13:42, Surya wrote:
>
> Hi,
>
> First of all
Hi Everyone!
I just updated to rails 3.0.5 from rails 3.0.3, and I deleted my
Gemfile.lock and runned "bundle install"
it appears that cucumber got a update, because I had to run "rails g
cucumber:install" again to fix an error...
I'm using Factory Girl and Capybara too and I procured to includ
I have a zip file I want to give my users.
But first I need for them to agree to a End User License Agreement
(EULA).
I can't think of any way to prevent them from going to the download link
and getting the file without agreeing to the End User License Agreement
first.
Any suggestions?
--
Post
Hi all,
when I try "rails server" I got this error:
`require': /lib/libz.so.1: version `ZLIB_1.2.3.3' not found
With RVM Zlib 2.3.5 (current) version installed. What can I do?
Please help, it's important. Many thanks,
Zoli
--
You received this message because you are subscribed to the Google
Any resolution here? I am running into the same issue with rail 2.3.11.
--
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
2011/3/23 José Tiburcio Ribeiro Netto :
> Hi there guys,
>
> I'm in the need of developing an application to generate reports based on a
> legacy database.
>
> Has anyone played in this area before? Any suggestions on how this can be
> accomplished using Rails? Gems, tools, etc?
>
> Oh, the data
Hi there guys,
I'm in the need of developing an application to generate reports based on a
legacy database.
Has anyone played in this area before? Any suggestions on how this can be
accomplished using Rails? Gems, tools, etc?
Oh, the data store is an Oracle Database, which I think doesn't real
On Mar 23, 8:52 pm, John Merlino wrote:
>
> params[:controller].singularize.constantize.responds_to(:viewable)
Presumably this is the line throwing the error. If params[:controller]
is users then you'll be calling
constantize on the string user. Constants have to start with a capital
letter, so
Hey all,
I have a table helper. Basically I want only certain tables to have a
view link for each record. Im not sure the best way to achieve this but
the way I can up with is to check if the model contains a certain method
such as viewable and if it does, then you create the link in a table
cell:
On 23 Mar 2011, at 13:42, Surya wrote:
> Hi,
>
> First of all very sorry for this long post. I am trying to save my csv data
> to table items which is associated with Item model.
It looks like the data you are importing UTF16 data. I'm guessing you were
expecting UTF8 - I'd start by reading
I have 3 models where 'Categories' have many 'Sub-Categories' and many
'Items' through 'Sub Categories'.
What is a standard Rails 3 way of showing latest few 'items' from each
'sub-categories' that belongs to 'categories'.
So in my view I'd have something like:
category: Music
sub-category: Cl
Chris, the SAX Parser has an "on_characters" callback. You need to note
when you see an on_start_tag for the tag "row". Then, in your
on_characters callback, you use the characters it presents you. When
you see an end tag for "row", you need to turn off your note. Get it?
--
Posted via http
Hey Fred,
The model in question does have a HABTM association, but based on
reading the ticket I thought it was unrelated because I don't have a
dependent destroy set up and am only operating on the parent. Maybe
not.
I had looked at the new and old versions of destroy() but it appeared
they were
On Mar 23, 4:47 pm, "Darek F." wrote:
> I have problem with single :position column for all events.
> How to sort my users in each own event.
> Please help.
>
Are you looking for acts_as_list's :scope option?
Fred
> --
> Posted viahttp://www.ruby-forum.com/.
--
You received this message beca
Hi,
This is my project -> https://github.com/regedarek/ekorezerwacja
This is my page -> http://ekorozwoj.heroku.com/events/1
I use act_as_list
[code=ruby]class User < ActiveRecord::Base
has_many :seats
has_many :events, :through => :seats
end
class Event < ActiveRecord::Base
has_many :seats
On Mar 23, 2:19 pm, djangst wrote:
> After upgrading 3.0.4 -> 3.0.5 one of my tests now fails on an
> assertion like 'assert !@product.destroy'.
>
> This tests a :before_destroy callback which simply returns false to
> prevent deletion. I verified that the callback is firing and haven't
> been a
After upgrading 3.0.4 -> 3.0.5 one of my tests now fails on an
assertion like 'assert !@product.destroy'.
This tests a :before_destroy callback which simply returns false to
prevent deletion. I verified that the callback is firing and haven't
been able to locate a difference between what's returne
Frederick Cheung wrote in post #988845:
> On 23 Mar 2011, at 07:32, Burebista wrote:
>
>> Hi there!
>>
>> I ran rails 3 application in localhost. In index.html.erb file I added
>>
>> > data="../public/player_mp3.swf" width="200" height="20">
> That path looks wrong - if the file is in public, the
On 23 Mar 2011, at 07:32, Burebista wrote:
> Hi there!
>
> I ran rails 3 application in localhost. In index.html.erb file I added
>
> data="../public/player_mp3.swf" width="200" height="20">
That path looks wrong - if the file is in public, the URL for it is
/player_mp3.swf
Fred
>
>
On 23 Mar 2011, at 04:39, "sol.manager" wrote:
> I have a page with an email address visible (so humans can print the
> page if necessary). I used the following to code to obfuscate the
> email. When I view the page source in my browser it appears all is
> well, but I was told today by the SEO
But is NetBeans still usable? If I recall correctly, then RoR was dropped
from Netbeans version 7. This announcement came about the same week I
realized that rails got to Version 3. Also I dropped NetBeans the same day
as RoR-Support was dropped, so I cant verify my next saying, but I would say
tha
Hi there!
I ran rails 3 application in localhost. In index.html.erb file I added
However, when Mongrel server sends swf resource with
Content-Type:text/html; charset=utf-8, and because of this nothing is
displayed in browser.
How can I configure mongrel(I use it only in localhost)
28 matches
Mail list logo