On Tue, Sep 30, 2008 at 8:01 AM, Vinay <[EMAIL PROTECTED]> wrote:
> Thanks loads Xavier!! :) i just removed the div tags and kept the ul
> and li tags like you said and it worked.. i cant believe it was so
> simple!! been having this problem for quite a while! Also, I have
> implemented your plug
Thanks loads Xavier!! :) i just removed the div tags and kept the ul
and li tags like you said and it worked.. i cant believe it was so
simple!! been having this problem for quite a while! Also, I have
implemented your plugin and its working well.. thanks! :) Just one
more thing i could never figu
I'll vouch for "The Rails Way" as well. Excellent resource once you
know your way around a little better.
On Sep 29, 10:59 am, CPerry <[EMAIL PROTECTED]> wrote:
> Another good book that I simply couldn't live without is "The Rails
> Way" by Obie Fernandez. It covers Rails 2.x and is an excellent
Kendall wrote:
> I don't know if anyone cares, but just for closure (and for those who
> may have a similar issue and search the newsgroup), here is an update
> with my issue.
In case anyone finds this which Googling the same problem (like I did)
this blog post has the answer:
http://espaceblog
Notice it gets much worse with rails loaded. Anyone got a fix, or know
why this is happening?
cg5[20:55] development > ruby -v
ruby 1.8.6 (2008-03-03 patchlevel 114) [universal-darwin9.0]
cg5[20:51] development > irb
irb(main):001:0> require 'benchmark'
=> true
irb(main):002:0> n = 5000
=> 5000
i
Thank you I must've been searching with the wrong terms.
Ramon Tayag
On Tue, Sep 30, 2008 at 10:47 AM, jemminger <[EMAIL PROTECTED]> wrote:
>
> http://ruby-doc.org/core/classes/Net/FTP.html
--~--~-~--~~~---~--~~
You received this message because you are subscri
Henry Happ wrote:
> If it's not too bold to ask, could you please explain in a more concrete
> way how to implement the structure describe in Rails?
Well... I'd start with a modeling exercise to figure out what are the
attributes of a:
A Prospective Student <- Maybe prospects are kept segregat
http://ruby-doc.org/core/classes/Net/FTP.html
--~--~-~--~~~---~--~~
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
On Sep 29, 8:53 am, babu nair <[EMAIL PROTECTED]>
wrote:
> Hi
> is it possible to write unit testing for database independent
> application.
> if its possible then any one can help how to write unit test to check
> whether the text field value is blank(keep in mind no database) or not.
i've
Hi,
I'm new to rails and I'm building a small app. I have an album model
that can have many comments. Albums belong to families, laid out in
routes.rb. I want to be able to add comments in my /albums/
show.html.erb. I currently have this in the album controller:
def post_comment
@comment
>
> I want the function to return an object instead of an array. So I can
> use Module.studies instead of Model[:studies].
>
you can create a new class and return it:
class PersonalInfo
attr_accessor :studies, :birth_place, :marital_status
end
def self.get_personal_data_module(person_id)
dino d. wrote:
> I have a cron job that won't work. I have installed a gem which works
> fine in the app, but the cron job fails, saying:
>
> These gems that this application depends on are missing:
> - blackbook
> Run "rake gems:install" to install them.
>
> I think this has to do with the p
2008/9/29 Jason <[EMAIL PROTECTED]>:
>
> I understand what you are suggesting. However, which way is "better"
> practice? Should I use the two relationships, or one with a join table
> that contains the extra column.
I am new to rails, but very old in databases:
If a route has two and will never
Ar Chron wrote:
> My $0.02:
>
> I'd say that you have one main "generic" model (Person), and several
> other models that are related to a person, but not quite instances of a
> person such as STI would imply, as a person could be multiple things at
> once.
>
> Each of these other related mode
Figured it out.
doc.search("[EMAIL PROTECTED]'goodsite']") do |result|
link = results.attributes['href']
puts link
end
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Fred, thanks for that, I still can't believe that block.call is slower
than yield.
All this time, I thought I was speeding thing up by passing in the
&block.
thanks a bunch!
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~~---~--~~
You received this mess
Philip Hallstrom wrote:
> ...assuming doc is an hpricot object...
>
> doc.search("[EMAIL PROTECTED]'goodsite']") do |result|
>
> end
Yes, that works to only grab the links that I need. Previously though,
I had used
(doc/:a).each do |link|
this only gave me the html string.
Can I
> I'm using hpricot for the first time on a project. I need to get some
> url's from a web site, but I only want certain url's.
>
> I can grab all of the url's from the page without a problem, but how
> can
> I enhance this to select http://www.goodsite.com vs.
> http://www.wrongsite.com?
>
> I
I think now you can patch your rails:
http://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/1134-counter_cache-destroy-concurrency-issues
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~~---~--~~
You received this message because you are subscri
I understand what you are suggesting. However, which way is "better"
practice? Should I use the two relationships, or one with a join table
that contains the extra column.
Can anyone provide a more specific solution..
--~--~-~--~~~---~--~~
You received this message
Frederick Cheung wrote:
> On Sep 29, 10:12�pm, Knut Linke <[EMAIL PROTECTED]>
> Any javascript errors?
When I load the page in IE or FF no error is shown.
(if you haven't already installed firebug then
> install it now - it will tell you a lot more when javascript errors
> crop up).
I have FB op
On Sep 29, 10:12 pm, Knut Linke <[EMAIL PROTECTED]>
wrote:
> Shandy Nantz wrote:
> > Is your log file giving any hints as to what is happening, such as
> > method missing, etc?
>
> Hi Shandy,
> my logs are looking ok (from my point of view):
Any javascript errors? (if you haven't already instal
Shandy Nantz wrote:
> Is your log file giving any hints as to what is happening, such as
> method missing, etc?
Hi Shandy,
my logs are looking ok (from my point of view):
Processing CommentController#createajax (for 127.0.0.1 at 2008-09-29
16:39:42) [POST]
Session ID:
BAh7BzoMdXNlcl9pZGkGIgp
Knut Linke wrote:
> Non of the listed action is done :(. What could be the reason for this?
> I really apprechiate each kind of help, hints etc :) Thank you!!!
> Cheers,
> Knut
Is your log file giving any hints as to what is happening, such as
method missing, etc?
--
Posted via http://www.ruby-
I've allmost all examples you can find on the web for using file_column.
Nothing works.
The files is downloaded to the temporary library but no more.
The image field is never loaded - it's null so the picture can ofcourse
not be displayed.
I'm afraid that the examples shown is allways for an ear
Henry Happ wrote:
>
> A more concrete example would be, say, that for a school, a contact can
> be an inquiry, an applicant, a student, a teacher, a mentor, etc. In
> this scenario, a person could be a student and a mentor at the same
> time. Data is collected for applicants and when they are a
Nate Leavitt wrote:
>
> Any ideas?
What does rake routes report?
I assume that you'll need to dig around in the helper to see exactly
what's going on as to why accounts becomes account in the formatted
version of the path...
For curiosity's sake, what happens if you
map.resources :accounts
On 29 Sep 2008, at 21:26, Morgan Kay <[EMAIL PROTECTED]
s.net> wrote:
>
> Is there any way to write a search function that can search for words
> that contain accented characters when the user types in words without
> accented characters?
>
Play with your database collation settings
Fred
> M
Hello,
I have here an issue which is really critical for me (it for my
university work and I would like to not delete this feature). It based
on a Rails 1.x tutorial which I use now under Rails 2.x. It contains the
refreshment (adding content or records) of an div via RJS/JS.
I access the RJS via
Try http://www.opensourcerails.com/
There are a number of apps out there in various states of development.
You may find something useful.
- Henry
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~~---~--~~
You received this message because you are subscribe
Is there any way to write a search function that can search for words
that contain accented characters when the user types in words without
accented characters?
My database has a lot of names in it that have characters with accents
and other non-keyboard characters. When users search the databas
Hello.
I'm using hpricot for the first time on a project. I need to get some
url's from a web site, but I only want certain url's.
I can grab all of the url's from the page without a problem, but how can
I enhance this to select http://www.goodsite.com vs.
http://www.wrongsite.com?
I'd like to
Check my answer on
http://stackoverflow.com/questions/150076/how-do-i-authenticate-to-activeresource-to-avoid-the-invalidauthenticitytoken-r#150194.
It is not a perfect solution but does provide a workaround.
On Sep 28, 2:16 am, Jeff <[EMAIL PROTECTED]> wrote:
> However, I can not delete any. Ca
Hi! I am new to rails(and ruby) and I have a C background, and I would
like some help.
In the database I have a field named 'body' that has an XML in it. The
method I created in the model looks like this:
def self.get_personal_data_module(person_id)
person_module = find_by_person_id(pers
As I learn rails, one thing I'd really like would be access to
complete rails applications (sqlite3-based, please) so that I can poke
around in their code and see what other people do. Could any of the
readers point out such apps that might be available for download?
Many thanks,
Ken
--~--~-
Hi -
I have a cron job that won't work. I have installed a gem which works
fine in the app, but the cron job fails, saying:
These gems that this application depends on are missing:
- blackbook
Run "rake gems:install" to install them.
I think this has to do with the path, I had to add the gem
On Sep 29, 12:15 pm, Mike Vincent <[EMAIL PROTECTED]>
wrote:
> Seeing the same thing, using edge on the client and an older snapshot of
> edge on the server. Going to see if updating the server resolves the
> issue tonight.
> --
> Posted viahttp://www.ruby-forum.com/.
Glad to know it's not just m
Hello,
I have created a group model that has a picture. On uploading the
picture the variable uploaded_file is set as the Tempfile uploaded. I
then have an after_save method that creates several thumbnails of this
picture using RMagick. The trouble I am having is when I try and copy
a group with
Can anyone help me on why the formatted_summary_account_path('help')
would reference the plural for of accounts?
In my app I can reference summary_account_path which references the
'accounts' folder, but as soon as I add the formatted_ on it changes and
references the 'account' folder which do
I used an organization_id in most of the models to stripe data. I use
a better_nested_set to have a hierarchy of organizations. If the user
is assigned to an organization, they can do CRUD on that organization
and its children. I used named scopes in the model to pass the user_id
from controller a
Fernando Ruscitti <[EMAIL PROTECTED]> writes:
> Hello, I'm playing with a depot sample application from (Agile ...) and
> notice the following on a view:
>
> <%= link_to 'Edit', edit_product_path(@product) %> |
> <%= link_to 'Back', products_path %>
>
>
> I added a new model/view/controller, and
Thanks dan, I'll use this one for now.. We're still a pretty small,
internal, few-records shop.
On Sep 28, 4:42 pm, Dan Manges <[EMAIL PROTECTED]> wrote:
> Hi Dave,
>
> You can use methods from the Enumerable module to get a list of
> salaries and calculate the sum. Try something like this:
>
>
Hello, I'm playing with a depot sample application from (Agile ...) and
notice the following on a view:
<%= link_to 'Edit', edit_product_path(@product) %> |
<%= link_to 'Back', products_path %>
I added a new model/view/controller, and in the view displayed all the
methods, and notice that I hav
becomes(klass)
Returns an instance of the specified klass with the attributes of the
current record. This is mostly useful in relation to single-table
inheritance structures where you want a subclass to appear as the
superclass. This can be used along with record identification in
Action Pack to
Pokkai Dokkai wrote:
> is it iphone ([EMAIL PROTECTED])? or
> is it for ordinary cell phone ?
Ordinary cell number. So if someone has the number 555-123-4567 on AT&T,
send an email to [EMAIL PROTECTED] You'll just need to know the
domains for all of the cellular providers.
Peace.
--
Posted vi
I'm just getting started with BackgroundRB, but I'm not sure how to do
what I need to do.
I have many chat rooms (Jabber) which are controlled or mediated by a
Rails app. There are periodic elections carried out in these rooms.
Just this would be easy. I could set up a chron job in the configura
I am using edge rails and a plugin that uses capture and I am getting
an error that block_called_from_erb? doesn't exist. Where should it
be declared and what should it contain?
Dieter
--~--~-~--~~~---~--~~
You received this message because you are subscribed to
Hi Fred,
I included things like the id and the first and last name. I also was
specific on the table to pull from (table.field). Even when I
specifically selected the id, it turned up nil, so I'm not sure.
Dave
On Sep 22, 11:57 am, Frederick Cheung <[EMAIL PROTECTED]>
wrote:
> you should add
Hi, I'm new to Ruby, having been doing a lot of reading over the last
several weeks and just starting to try out a few things. I have a
project that I would like to do, but I'm not sure what's the best way to
accomplish the relationships that would like to do. The project is kind
of a contact ma
Jeff Cohen wrote:
> Hi,
>
> I have a Rails 2.1.1 web app, and a Rails 2.1.1 app acting as a client
> by using ActiveResource.
>
> From the client, I can find, create, and update resources owned by the
> web app.
>
> However, I can not delete any. Calling the .destroy method in
> ActiveResource
Ar Chron wrote:
> Nate Leavitt wrote:
>>
>> Missing template account/_summary.help in view path
>
> Seems like the path to your partial is wonky, as it's looking for
> account/_summary.help (singular) while your folder name is accounts
> (plural).
Thanks for the reply... thanks for pointing t
Nate Leavitt wrote:
>
> Missing template account/_summary.help in view path
Seems like the path to your partial is wonky, as it's looking for
account/_summary.help (singular) while your folder name is accounts
(plural).
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~--
is there any tutorial about it for has_many 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, send email to rubyonra
Anyone?
--
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 unsubscribe fr
Try script/plugin install auto_complete
doppler
On Mon, Sep 29, 2008 at 7:49 AM, David Nguyen <
[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I've got an old ruby app to update.
>
> I've got 2.1.0 Rails and the controllers to update has an
> autocomplete_for macro.
>
> How can I update this, the API say
Another good book that I simply couldn't live without is "The Rails
Way" by Obie Fernandez. It covers Rails 2.x and is an excellent book
to have at your side when building an app.
--Cory
On Sep 29, 1:35 am, Jae Lee <[EMAIL PROTECTED]> wrote:
> Can anyone recommend any book for Rails 2.0?
> I hav
Mohit Sindhwani wrote:
> Chuob.Sok wrote:
>>
> Are you looking for RDoc? I don't use it yet, but if I understand your
> query, I think that may be what you need. Hopefully, someone here can
> guide you better.
>
> Cheers,
> Mohit.
> 8/17/2007 | 1:32 AM.
I think it would be useful : Ruby Doc
Start learn from here :
http://railscasts.com/episodes/73-complex-forms-part-1
and then follow up to episode 3.
Y Reinhart AP
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Group
Simply Rails 2 or the 3rd Edition of Agile Web Development (which you
can find the beta PDF on pragprog.com).
On Sep 29, 12:35 am, Jae Lee <[EMAIL PROTECTED]> wrote:
> Can anyone recommend any book for Rails 2.0?
> I have read "Agile Web Development with Rails - 1st" and i loved this
> book.
>
>
Definitely move to the latest, and grab a copy of Simply Rails 2 if
you are interested. A great, easy read which should guide you rather
well through some of the changes between Rails 1.x and 2.x.
On Sep 29, 7:43 am, Jae Lee <[EMAIL PROTECTED]> wrote:
> Hello all,
>
> Which version of Rails do yo
Hi to everyone,
I have the following models:
class Attachment < ActiveRecord::Base
has_attachment :content_type => [:image, 'application/pdf'],
:max_size => 3.megabytes,
:path_prefix => '../private/attachments',
:storage => :file_system,
I'm testing an XHR, and until I discovered :chained_replace_html , the
test wasn't seeing that a was being hidden.
=== map_filter.rjs
22 page['map-filter-errors'].hide
===
Why does line 433 above fail?:
=== neighbourhoods_controller_spec.rb
432 do_xhr @xhr_params
433 asse
Sorry, of course I did wrote something worng.
> The row:
>
> has_one :logo, :through => :attachment, :source => :attachable,
> :source_type => 'Maker', :dependent => :destroy,
> :conditions => ['attachments.content_type = ?',
> 'image/jpeg' ]
>
>
> produces the same res
Rails 2.1.x++.
The latest Rails is always the best to start out with. We often try to
follow along Rails Edge during our heavy development cycle so that
we're not spending too much time handling upgrades later on.
Cheers,
Robby
On Mon, Sep 29, 2008 at 6:59 AM, cnjohnson <[EMAIL PROTECTED]> wrot
On Mon, Sep 29, 2008 at 5:43 AM, Jae Lee
<[EMAIL PROTECTED]>wrote:
>
> Hello all,
>
> Which version of Rails do you recommend if I start a new project using
> RoR?
> I studied RoR with Agile Web Development with Rails (1st edition) last
> year, and found that there is new version 2.x out there - b
what error u r getting?
On Mon, Sep 29, 2008 at 11:32 AM, Indu Rs
<[EMAIL PROTECTED]>wrote:
>
> Hello everyone
> Just started to learn ROR.Does anyone have an idea on how to store
> fields in two tables using a single form?
> I wish to store the registration details in 'users' table and the
> la
I see Xavior - that's makes a lot of sense especially with that
before_filter. I'll refactor a little bit. Thanks.
On Sep 29, 2:23 am, "Xavier Noria" <[EMAIL PROTECTED]> wrote:
> On Mon, Sep 29, 2008 at 6:45 AM, Tim K. <[EMAIL PROTECTED]> wrote:
> > So I'm using nested routes for a users model th
FWIW, I have moved to 2.1.1, REST support excellent, and overall, I am
pleased. YMMV
Cheers--
Charles
On Sep 29, 7:43 am, Jae Lee <[EMAIL PROTECTED]> wrote:
> Hello all,
>
> Which version of Rails do you recommend if I start a new project using
> RoR?
> I studied RoR with Agile Web Development w
Working perfectly, thanks a lot.
On 25 Sep, 09:44, Frederick Cheung <[EMAIL PROTECTED]> wrote:
> On Sep 25, 9:40 am, Thorsten Müller <[EMAIL PROTECTED]> wrote:
>
>
>
> > @upcoming_events = Event.find(:all, :conditions => ["venue_id IN (?)
> > AND date > '?' ", @nearby_venues.join(","), Time.now.
Hi all,
I have a basic model as follow, but when I try to query the database, I
get the following error:
'wrong number of arguments (0 for 2)'
I don't see any problem, I am becoming crazy o_O'
Migration
-
class CreateSubtasks < ActiveRecord::Migration
def self.up
create_table :s
if its a named route then simple u can call after redirect_to method or else
after redirect_to method call :action
On Mon, Sep 29, 2008 at 6:40 PM, Rails Terrorist <
[EMAIL PROTECTED]> wrote:
>
> check out your routes setting.
>
> Y Reinhart AP
> --
> Posted via http://www.ruby-forum.com/.
>
> >
use *build* method.. google it you will get good answer.
On Mon, Sep 29, 2008 at 12:25 PM, Nilesh Kumar <[EMAIL PROTECTED]>wrote:
> what error u r getting?
>
>
> On Mon, Sep 29, 2008 at 11:32 AM, Indu Rs <
> [EMAIL PROTECTED]> wrote:
>
>>
>> Hello everyone
>> Just started to learn ROR.Does anyon
check out your routes setting.
Y Reinhart AP
--
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-t
Type is a reserve keyword for single table inheritance.
regards
abhishek
On Mon, Sep 29, 2008 at 5:47 PM, MR Damien <[EMAIL PROTECTED]
> wrote:
>
> > Migration
> > -
> > class CreateSubtasks < ActiveRecord::Migration
> > def self.up
> > create_table :subtasks do |t|
> > t.str
MR Damien wrote:
>> Migration
>> -
>> class CreateSubtasks < ActiveRecord::Migration
>> def self.up
>> create_table :subtasks do |t|
>> t.string :hostname, :type
> It seems that :type should not be used as a column name.
I'm guessing that this (from ActiveRecord::Base doc) ha
Hi
is it possible to write unit testing for database independent
application.
if its possible then any one can help how to write unit test to check
whether the text field value is blank(keep in mind no database) or not.
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~---
Hi,
I've got an old ruby app to update.
I've got 2.1.0 Rails and the controllers to update has an
autocomplete_for macro.
How can I update this, the API says it's deprecated.
Thanks
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~~---~--~~
You received t
Xavier,
Thanks for your reply. And i DID come across your plugin today :). So
will try to implement it soon. However, I also want to understand why
it is not working in Safari. If i remove the li and ul tags, the
autocomplete results dont show up. The partial is rendered if i look
into the dvlpmnt
Hello all,
Which version of Rails do you recommend if I start a new project using
RoR?
I studied RoR with Agile Web Development with Rails (1st edition) last
year, and found that there is new version 2.x out there - but, it was
very hard for me to find any book for Rails 2.0.
Do I have to stick
On Sep 29, 12:11 pm, FM <[EMAIL PROTECTED]> wrote:
> On Sep 29, 12:31 pm, Frederick Cheung <[EMAIL PROTECTED]>
> wrote:
>
>
>
> > If you are redirecting the user somewhere upon creation of the comment
> > then that redirect should specify the anchor.
>
> As you previously suggested I am not usin
Justus Ohlhaver wrote:
> Ok I'll try to keep the question a bit shorter in the hope of increasing
> the chances that somebody understands what my problem is:
>
>
> How can I expire the fragement cache from a daemon located in my lib
> folder?
Have you tried Rails.cache.delete('views/groups/in
> Migration
> -
> class CreateSubtasks < ActiveRecord::Migration
> def self.up
> create_table :subtasks do |t|
> t.string :hostname, :type
It seems that :type should not be used as a column name.
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~~
In my application when user clicks on button I am calling one
controller method and from that controller i am redirecting to another
controller and corresponding view but doing this i got a following error
#
I am not able to understand this why this is happen
--
Posted via http://www.ruby-fo
Hi
Could anybody please suggect me a good calender which I can use in
the rails application .Till now I have been using one DHTML calender but
when tested it has problem with some browsers..So now searching for a
good one .Also Is there double calenders in rails?
Thanks
Sijo
--
Posted via ht
On Sep 29, 12:31 pm, Frederick Cheung <[EMAIL PROTECTED]>
wrote:
>
> If you are redirecting the user somewhere upon creation of the comment
> then that redirect should specify the anchor.
>
As you previously suggested I am not using redirection anymore, but I
render the whole post page.
My act
Jon wrote:
> In my layout have :
> <%= link_to 'Log Out Now', { :action => :log_out }%>
>
> In my application.rb i have:
> def log_out
> session[:login]=nil
> redirect_to '/inventory'
> end
>
> for some reason it keeps redirecting to "http://localhost:3000/
> inventory/log_out" instead o
Hi,
I have been using Action Mailer and Mailer Queue as a mailing solution
on my website. But since we foresee lot of email marketing such as
notifications, daily,weekly and monthly updates, I was wondering I
should offload the server of these activities.
Now, what are the options that I have? I
You need to leave the UL and LIs, only start with a bare
<%=h this %> and <%= that %>
without additional markup and no newline between the LI tags and the content.
You can write your custom action in the controller to implement any
search criteria, both in bare auto_complete and model_auto_comp
If you do string.last or string.first it fails in access.rb line 43 I
found the answer on another mailing list.
Ruby 1.8.7 has String#chars.
It returns an Enumerator object
but Rails 2.0.2 expects an ActiveSupport::Multibyte::Chars object.
You can avoid this conflict by putting
the following cod
On Sep 29, 11:14 am, FM <[EMAIL PROTECTED]> wrote:
> On Sep 29, 10:58 am, Frederick Cheung <[EMAIL PROTECTED]>
> wrote:> On 29 Sep 2008, at 09:31, FM wrote:
>
>
> However, now I have another question :)
> The comment form is located at the end of the page. So basically, when
> the user submit a
On Sep 29, 10:58 am, Frederick Cheung <[EMAIL PROTECTED]>
wrote:
> On 29 Sep 2008, at 09:31, FM wrote:
>
> > To do so, I should in some way pass the comment data to the show_by_id
> > action so that the @comment variable can be initialized with these
> > data and presented in the form.
>
> Typical
Ok I'll try to keep the question a bit shorter in the hope of increasing
the chances that somebody understands what my problem is:
How can I expire the fragement cache from a daemon located in my lib
folder?
This does not work:
expire_fragment :controller => 'groups', :action => 'index'
Ap
Also, how can i match more than one field in the Contact model? In the
sense, the User can type either the contact name or the contact email
and get relevant results. Like in Gmail.
On Sep 29, 2:31 pm, Vinay <[EMAIL PROTECTED]> wrote:
> Xavier,
> Thanks for your reply. And i DID come across your
Hello everyone
Just started to learn ROR.Does anyone have an idea on how to store
fields in two tables using a single form?
I wish to store the registration details in 'users' table and the
langauges selected by the user in another table user_language with each
row for one language selected(fields
On 29 Sep 2008, at 09:31, FM wrote:
>
>
> To do so, I should in some way pass the comment data to the show_by_id
> action so that the @comment variable can be initialized with these
> data and presented in the form.
>
Typically one does that by rendering the edit/create form again rather
than r
Another thought I had would be just being able to replace the /
users/:user_id with /profile
then there could be /profile/journals/2 or whatever... but profile
would be somehow mapped to the users controller passing the @user as
it's default id... am I heading in any form of a sane direction?
O
On Mon, Sep 29, 2008 at 7:13 AM, Vinay <[EMAIL PROTECTED]> wrote:
> 1.User starts typing
> 2.Autocomplete kicks off and returns matching strings in relevant
> attributes and Model.
> 3.User scrolls down options and selects the one he/she wants.
> 4.Selected option appears on the text box
> 4a.T
Dear all,
I am learning Rails and to do so I am writing a blogging system.
So far everything is going well but now I have a problem and I don't
know how to solve it.
Basically the "article" page presents the current post, all the
comments associated with it and a form for adding a new comment.
S
On 29 Sep 2008, at 05:41, Victor Al <[EMAIL PROTECTED]>
wrote:
>
>
> I'm sorry if I misunderstood the purpose of your plugins then. I've
> come
> across your site several times before through Google searches (on RoR
> and SaaS) and from the descriptions, the focus seemed really on the
> bil
On Sep 29, 8:42 am, Peter De Berdt <[EMAIL PROTECTED]> wrote:
> On 29 Sep 2008, at 05:00, ChessMess wrote:
> Back in the days where Rails incorporated the javascript helpers,
> jQuery was nowhere near P&S. Also, Prototype has a Ruby-esque syntax,
> in the RUBY on rails context I find this a
1 - 100 of 106 matches
Mail list logo