? Any basic way of starting?
cheers,
DAZ
On Jan 25, 7:19 pm, Macario Ortega rails-mailing-l...@andreas-s.net
wrote:
DAZ wrote:
How would you go about creating a template language that could be used
to allow access to *some* helpers for a CMS-style app?
For example if there is a text
or write one from scratch? How would you go about writing
one?
cheers,
DAZ
--~--~-~--~~~---~--~~
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
A Site model, with only one instance
File Based Solution
Configuration file(s) that can be edited by admins from within the
browser
What do people think or do in their sites?
cheers,
DAZ
--~--~-~--~~~---~--~~
You received
Blog Post:
http://dazzl.co.uk/blog/icicl-free-icons-for-web-design
Download:
http://dazzl.co.uk/downloads/icicl-icons.zip
Hope some people do find them useful, any feedback is welcome,
DAZ
--~--~-~--~~~---~--~~
You received this message because you are subscribed
.
If this is possible, how do you do it?
Cheers,
DAZ
--~--~-~--~~~---~--~~
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
whitelist
approach as recommended in the docs.
Would it be better to do this sort of thing at a database level -
saving the whole CSS text in a Theme model or something?
cheers,
DAZ
On Jan 12, 3:01 pm, Andrew Timberlake and...@andrewtimberlake.com
wrote:
On Mon, Jan 12, 2009 at 4:37 PM, DAZ
these be included in the super
class people table and just set as nil for pupils or is there a better
way of doing this?
Also, I know that I can't use Class for a model name - should I use
Klass, Clas or change the name to something like Group?
cheers,
DAZ
a @selected_tasks array somehow from what was
submitted and then call delete_all on that?
cheers,
DAZ
On Dec 19, 5:20 pm, DAZ daz4...@gmail.com wrote:
Hi,
What is the best way to delete all members of a model?
For example I have a tasks model and want to put a link in that will
delete all tasks
= Person.find_by_name(tree[0])
if tree.size 1
1.upto(tree.size - 1) do |i|
person = person.children.find { |child| child.name == tree
[i] }
end
end
@person = person
Thanks for the help,
DAZ
--~--~-~--~~~---~--~~
You
descendant records, so
that any subsequent filtering is efficient and doesn't hit the
database?
Hope that makes sense, cheers
DAZ
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Talk group.
To post
Just wondering what people would recommend - restful_authentication,
acts_as_authenticated ... or something else?
cheers,
DAZ
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Talk group.
To post
to it be?
cheers,
DAZ
--~--~-~--~~~---~--~~
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
rubyonrails
Cheers Fred, that worked great!
DAZ
On Dec 13, 11:12 pm, Frederick Cheung frederick.che...@gmail.com
wrote:
On Dec 13, 7:32 pm, DAZ daz4...@gmail.com wrote: Thanks for the reply
Frederick, I just have two questions:
1) How exactly do I coerce it into a boolean value - is there a best
: PUT,completed: true },null, script)
cheers,
DAZ
--~--~-~--~~~---~--~~
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
: encodeURIComponent
(window._token)});
will go to the update action for the task with id 1
Hope that makes sense!
cheers,
DAZ
On Dec 13, 6:53 am, Simon Macneall macne...@gmail.com wrote:
Hey DAZ,
No probs.
From our code..
$.ajax({
url: /form_datas/correct/+formId,
so
or not UJS is worth it or not. If
you are happy with the current inline stuff then please continue to
use it, but I know that a lot of people want UJS and this is an
attempt to make it as easy as possible for them to do that.
Looking forward to any thoughts
cheers,
DAZ
it might be
because ruby is seeing 'false' as a string and therefore 'true'.
cheers,
DAZ
--~--~-~--~~~---~--~~
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
Thanks for the reply Frederick, I just have two questions:
1) How exactly do I coerce it into a boolean value - is there a best-
practice way of doing this?
2) How come this problem doesn't occur when the value is submitted via
the form from the edit action?
cheers,
DAZ
On Dec 13, 5:28 pm
appreciate all the help you have given so far, it has really
helped me get to grips with jQueary on Rails - I'm finding it a great
way to keep the JS unobtrusive!
cheers,
DAZ
On Dec 8, 9:44 pm, Simon Macneall macne...@gmail.com wrote:
That's cool.
Depends on the query I think, but it is generally
://guides.rubyonrails.org/
DAZ
--~--~-~--~~~---~--~~
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
, but will have a play around.
Also ... is all the authenticity_token stuff essential/best practice
or are you just using that as an example?
thanks again,
DAZ
On Dec 7, 10:00 pm, Simon Macneall [EMAIL PROTECTED] wrote:
DAZ,
http://docs.jquery.com/Main_Pageis pretty good.
We use $.post because
, but will have a play around.
Also ... is all the authenticity_token stuff essential/best practice
or are you just using that as an example?
thanks again,
DAZ
On Dec 7, 10:00 pm, Simon Macneall [EMAIL PROTECTED] wrote:
DAZ,
http://docs.jquery.com/Main_Pageis pretty good.
We use $.post because
seem to be using $.post, but I don't really know
how this works. Also, I've seen other examples use $.load, and again,
I don't quite get how it works.
Is there any good documentation on this?
cheers again,
DAZ
Hi,
You need to call a function in your drop handler that goes out to rails
get this to fire a Rails funciton in the controller so
that the dropped item could be changed at a database level? For
example, when it is dropped, how would I change the updated_at value
to Time.now?
Thanks,
DAZ
--~--~-~--~~~---~--~~
You received this message
24 matches
Mail list logo