Hi Sven,
Sounds like you need a tree, not a virtual field. Maybe this page will be
helpful? http://book.cakephp.org/2.0/en/core-libraries/behaviors/tree.html
Especially methods getParentNode() and getPath()
-Rob
On Monday, November 9, 2015 at 6:03:00 AM UTC-5, Sven Mäurer wrote:
>
> I
There are changes made with each minor release that can affect your app;
start here (http://book.cakephp.org/2.0/en/appendices.html) to see them
listed all in one place. - Rob Maurer
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You
Your existing menu likely is a series of elements each containing
(link) elements, yes? Simply replace the ... with Html->link(...) ?>. A good place to do this is
app/View/Layouts/default.ctp.
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePH
Your existing menu is likely a series of elements with in
them, yes? Replace the elements with Html->link() ?> calls.
A good place to set this up is in app/View/Layouts/default.ctp.
-Rob
On Monday, October 19, 2015 at 3:41:44 AM UTC-4, Simon Bradley wrote:
>
> Hi
>
>
In CakePHP 2.x, FormHelper::inputs doesn't make buttons. It makes input
elements. If you want a button, try using FormHelper::submit for a submit
button, or in this case FormHelper::button as in:
echo $this->Form->button('Cancel upload',
array('type' => 'reset',
'class' => 'btn bt
Hi all, and have added filtering code to my app (cakephp3) and all is
great. The only problem I have is catching when the results set gives us
less pages than the user is on (ie, user sets a filter whilst on page 9,
but the resulting set only fills 3 pages). I am catching the exception, but
do
OK, I have, it is issue #4895.
Thanks
On Wednesday, 15 October 2014 20:51:50 UTC+1, José Lorenzo wrote:
>
> Can you open a ticket in github about this problem? Make sure you include
> a description of your associations.
>
> On Wednesday, October 15, 2014 7:29:34 PM UTC+2,
Hi all, I am attempting to use matching through a deep association, and am
getting the above error message.
I baked a sample app to test with, and cant reproduce the problem. here is
the offending code in my controller:
$contain_array = [
'Applicants' => [
'Personas'
],
'FinanceCompanies' => [
OK, so I was being stupid.
I had missed adding the field to the entity $_accessible array.
I have it all working, thanks.
On Wednesday, 8 October 2014 09:15:40 UTC+1, Rob Cowie wrote:
>
> That is exactly the case. The entity returned by the save function does
> not have the changes a
to save the record in the save call is
> updated and available in the controller after the save call is complete...
> Are you saying that modifications in that Entity are not showing up in the
> controller afterwards?
>
> On Monday, October 6, 2014 4:34:41 PM UTC+7, Rob Cowie wrote:
>
Hi all, back again with another question:
In our old 1.3 app, I used $this->someValue = $someData; in an afterSave
function to pass values back up to a controller.
I have tried to use a $entity->set('someValue', $someData); in an afterSave
in the new cake3 table model, but this entity does not
It becomes all so clear. Thanks!
On Thursday, 2 October 2014 14:59:51 UTC+1, José Lorenzo wrote:
>
> $entity->errors('my_field', ['This is the error message']);
>
> On Thursday, October 2, 2014 2:50:39 PM UTC+2, Rob Cowie wrote:
>>
>> Hi all.
Hi all. In cake 1.3 I used to be able to use
$model->invalidate('fieldname', 'This field is wrong!');
Is there an equivalent way to perform this task in cake3?
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message b
.
On Friday, 22 August 2014 09:55:17 UTC+1, Rob Cowie wrote:
>
> I have read the chapter, but my populateUserPrefs function does not fire.
>
> Is any one able to flesh out the example, or tell me that actually I
> cannot have a Table Model class implement EventListener?
>
&
t;attach($statistics);
>
> See
> http://book.cakephp.org/3.0/en/core-libraries/events.html#registering-listeners
>
>
> T
>
>
>
> On Thu, Aug 21, 2014 at 9:26 PM, Rob Cowie > wrote:
>
>> Hi all. I have read the cakephp book on events in version 3, and I cannot
>
Hi all. I have read the cakephp book on events in version 3, and I cannot
seem to get it to work. I am missing a piece of comprehension.
I have the event dispatch code in a controller:
$event = new Event('Controller.User.login', $this);
$this->eventManager()->dispatch($event);
and I have a mod
First you need to identify what makes a file unique. Is it the contents of
a row? a set of rows? a row ID? Second, you need to write code to query
your existing database to see if your uploaded file has already been added
(run a SELECT to see if the rows you are about to add have already been
a
If this happens, start checking logs. CakePHP logs errors to /tmp/, and
your server access and error logs should also be reviewed. CakePHP depends
on an operating system, a web server, and a database server. Each of these
need to be up and running for Cake to do its thing.
--
Like Us on FaceBo
It looks like your `posts` table doesn't have a `user_id` column. CakePHP
convention wants it to have one so Cake can make the association "Posts
belongs to Users".
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this mess
It looks like your `posts` table doesn't have a `user_id` column. CakePHP
convention wants it to have one so Cake can make the association "Posts
belongs to Users".
On Friday, May 23, 2014 12:56:48 AM UTC-4, Andrew Townsley wrote:
>
> I am getting an error on a simple display of 2 tables as i am
I think the result you seek is the default functionality? Suggestions:
1. First set it up exactly as directed in the box without overriding, and
get it working. This makes you certain of correct installation, schema
set-up, etc.
2. Next extend the controller as you have, with the following extra
I think the result you seek is the default functionality? Suggestions:
1. First set it up exactly as directed in the box without overriding, and
get it working. This makes you certain of correct installation, schema
set-up, etc.
2. Next extend the controller as you have, with the following extra
I think that the result you are expecting is simply to have the default
plugin functionality?
Suggestions:
1. First install and get it working out-of-the-box without any overriding.
2. After that, come back to what you've started (override UsersController
as directed in the documentation) and als
own records
if (*$this->Post->field('created_by', array('id' => $id)) == $user* &&
$this->Post->delete($id)) {
$this->Session->setFlash(__('Post deleted'));
}
$this->Session->setFlash(__('Post was not deleted'));
}
To answer yo
table for the person who
created the record matches the id of the person who is trying to modify it.
- Rob
On Sunday, December 23, 2012 4:01:28 PM UTC-5, Paulo Braga wrote:
>
> Hi people.
>
> I am using cakephp 2.x, and I am trying to build a system with group
> permissions, ok,
This code snippet needs refactoring in order to use JsHelper, but it works:
controller code (Controllers/PeopleController.php):
function autoComplete() {
$this->autoRender = false;
$search_string = trim($this->request->query['term']);
if (!is_null($search_string) && $search_string != '') {
$people
A. To debug, I'd insert the line:
console.log(load + _this.find('option:selected').val());
just above your $.ajax() call. Then watch your Javascript console when
running the page to see what URL is being submitted and try submitting it
manually.
- Rob
On Friday, November 16, 2012
helping me find my error. - RM
On Sunday, May 27, 2012 8:13:31 AM UTC-4, Rob M wrote:
>
> Attempting to migrate my app from 1.3 to 2.1; using xampp. I'm running
> into an error in the console when I use AclExtras to recover aco ('recover
> aro' produces no erro
It sounds like a HABTM table is precisely what you need. Please elaborate
on your requirement 'cannot do HABTM due to storing meta info'. - Rob
On Friday, May 25, 2012 9:09:59 PM UTC-4, Benjamin Allison wrote:
>
> I have two models: Users and Surveys. In my Users "index&qu
Attempting to migrate my app from 1.3 to 2.1; using xampp. I'm running into
an error in the console when I use AclExtras to recover aco ('recover aro'
produces no error). The same error is encountered when attempting
'aco_sync'. Would you perhaps recognize the stack trace and suggest where
to l
this make more sense?
On May 6, 1:06 am, bs28723
wrote:
> Are you looking for a find where "Log.user_id=2 OR Book.log_id =
> null"?
>
> On 5/3/2012 11:00 PM, Rob-3 [via CakePHP] wrote:
> I have a setup where there are Books Users and Logs.
> Ea
, 9:53 am, Michael Stelly wrote:
> Yes, I'd work it using
> Containable<http://book.cakephp.org/2.0/en/core-libraries/behaviors/containable.html>
> .
>
> Sincerely,
> Michael Stelly
>
>
>
>
>
>
>
> On Thu, May 3, 2012 at 9:59 PM, Rob wrote:
&g
I have a setup where there are Books Users and Logs. Each Log has a
Book and a User and I am trying to retrieve a list of all the books
regardless of the user, but then also retrieve the Logs associated
with that book (recursive is set to 1), but then only retrieving the
logs of the current logged
Post the login method of your Users controller.
On Saturday, April 14, 2012 6:37:30 AM UTC-4, rossjha wrote:
>
> Hi,
>
> I'm trying to create a user controller test case. I'm using Auth/ACL and
> i'm having problems with mock objects. With the test below, i get the
> following error:
>
> Expec
It is not possible to send both a HTML and a JSON response for the same
request. However, you can detect the type of request and respond with HTML
or JSON accordingly. For example:
public function index()
{
$this->set('test', array(
'Hallo World!',
));
if($this
Can you post your AppController code?
On Monday, April 2, 2012 10:43:11 AM UTC-4, 750riderAce wrote:
>
> @Rob,
>
> Tried that already... I did include it in the
> AppController beforefilter() method exactly in that way, and doesn't work
> at all... gave me just a bla
gt; application gave me an error "Undefined property: View: $Session
> [CORE]\Cake\View|View.php line 804]" ... including the Session helper
> fixed that... why?... no idea... somebody here (Rob) said that include
> those helpers was not neccesary and you can only set the
>
x27;, 'Html', 'MenuBuilder.MenuBuilder');
>
> After reading the documentation several times I finally found this small
> sentence:
>
> "Remember to include the default Html and Form helpers"
>
> Too bad this important piece of information
/plugins.html
On Tuesday, March 6, 2012 10:12:44 AM UTC-5, Thomas wrote:
>
> On 2 Mrz., 19:59, Rob wrote:
> > The 2.0 branch on github does in fact work with 2.1 RC. The correct
> > location for the files is app/Plugin/MenuBuilder. It looks like your
> > problem is
ed
MenuBuilder for a helper also called MenuBuilder.
- Rob
On Monday, February 27, 2012 5:11:49 AM UTC-5, Thomas wrote:
>
> I think he is talking about https://github.com/torifat/cake-menu_builder
>
> I'm also trying to get this working with 2.1, but keep getting
> diff
if (!$session->read('Auth.User')) {
echo " | Log In";
} else {
echo " | " . $session->read('Auth.User.first_name') . " " . $session-
>read('Auth.User.last_name') . " is logged in | " .
&
Nevertheless, you should be using Sha-256 or better.
On Fri, Oct 21, 2011 at 3:29 PM, Justin Edwards wrote:
> The mdcrack utility only tries to crack md5 hashes with salt up to
> 55characters.
>
>
> On Fri, Oct 21, 2011 at 1:03 PM, Matt Kaufman wrote:
>
>> It is very fast to crack MD5 hashed wit
The PHP Security Consortium has an article on password hashing, including
using salt. http://phpsec.org/articles/2005/password-hashing.html
On Fri, Oct 21, 2011 at 1:49 PM, Nate wrote:
> MD5 is only one way. It cannot be reversed...However, it has been
> "cracked" and is considered insecure by
out for these sorts of things
in the future.
-Rob
On Aug 11, 11:45 pm, Ryan Schmidt wrote:
> On Aug 11, 2011, at 18:42, Rob wrote:
>
> > When I try to view and indiviual image via the following links
> >http://robszpila.com/app/webroot/img/project_images/thumbs/wordherd-1
pg
or
http://robszpila.com/img/project_images/thumbs/wordherd-1_thumb.jpg
I get a missing Img Controller error, or a 403 error.
I have tried added rewritebase to my htaccess files, but I have
noticed no change.
Any help on this issue would be awesome.
Thanks!
-Rob
--
Our newest site for the comm
0 down vote favorite
I cannot, for the life of me, get my images to show up in my view. I'm
trying to display the thumbnails I createed, but I'm having no luck. I
just get broken images with everything I try. I am currently using the
image helper to display my images, but I still get broken image
;User->set( $this->data );
I'd still love to understand what could be different about this code
than I've typically done, but at this point, I'm just glad to have it
fixed in a way that doesn't turn my stomach.
On Jul 29, 8:22 am, Rob Wilkerson wrote:
> My app uses t
solutely need for the form are
retrieved, but that makes no difference.
Any thoughts would be much appreciated. This has been going on for
months and the only way I've found to get around it is to suppress
validation all together by emptying the validate array in this
scenario -- o
Controller code:
$records = $this->Table->find('all', array('conditions' =>
array('Table.value >=' => $submitted_value)));
- Rob
On Jun 19, 8:59 am, "Krissy Masters"
wrote:
> I have read thru the docs and searched but no luck. What i am t
Interesting. What would happen if you put the validation in the model
for the join table?
On Jun 14, 3:17 pm, Shaz wrote:
> I can - but in that arises another situation:
>
> I also have Location HABT Language - and I don't want any restrictions
> there. So a location can have more than 3 or no la
f
User.group_id
Rob
On May 22, 5:12 pm, emmexx wrote:
> On 22 Mag, 22:15, RobMaurer wrote:
>
> > If I understand your needs as written, it would seem simpler to stay
> > with CakePHP Auth/ACL and create a second tier of permissions for a
> > subset of Users who are als
ake sure I have the right idea here
Thanks Again.
On May 23, 12:38 am, dreamingmind wrote:
> Rob,
>
> That's the point of ending the 'name' attribute with the empty array
> brackets '[ ]' as described above.
>
> Granted, this will return your data in an
ea how to do that
So what it comes down to is that I have no idea how to increment this
key each time the button is clicked on the form.
Any help is appreciated.
Don't hesitate to ask me to clarify...I tend to get sloppy and
rambling when describing something like this
On May 16, 11:53 am,
If I understand your needs as written, it would seem simpler to stay
with CakePHP Auth/ACL and create a second tier of permissions for a
subset of Users who are also in the Users table. That would handle
authentication for you (the way you're already doing) and you would
grant those Users access to
Let me start off by explaining what I want to do and where I am right
now.
I have a CakePHP site where I can submit projects, and each project
has many different elements attached to it. I'm created the add
project form to be able to add elements as well. I have successfully
created a form that
=> 'posts',
'alias' => 'Post',
'conditions' => array(
'Post.topic_id =
Topic.id'
)
)
)
'group&
I'm creating a registration page that allows for the possibility that
one user has created a partial record for another user. It looks like
this:
1. Some user creates a property and assigns a realtor.
2. The system creates a partial user record and sends an email to the
realtor to complete the use
Yes, I would add a 'school_id' field to each of the models. Then, as
above, you can filter to only the Rooms, Programs, and Classes that
belong to a particular School (which is your desired result).
On May 6, 11:25 am, rockbust wrote:
> Do you think I should associate each model with "School" and
I'm achieving a similar objective by adding an id field to each
model's table to relate to (in your example) schools. Then, in the
classes_controller.php actions, I'd include the line
$school_id = $this->Session->Read('Auth.User.school_id');
and then when building the query include (for example):
On Apr 4, 2:17 pm, cricket wrote:
>
> I suspect the problem is the double underscore. That's jogging my
> memory of something in the Cake libs but I can't quite remember where
> I saw it.
>
> Gotta love those people who insist on "designing" databases in the
> most anally-retentive manner, eh?
T
I'm attempting to lay a Cake app over top of a legacy database and I'm
bumping into a problem with a HABTM relationship. I have a
TechnologyIncentive that HABTM EnergySource through a join table (no
model). Here are the specs:
TechnologyIncentive
public $name = 'TechnologyIncentive';
publi
Thanks, that helped a lot...looks like I have a lot more to learn here.
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP related questions.
To unsubscribe fro
I'm following this tutorial to add email account activation
http://www.jonnyreeves.co.uk/2008/06/cakephp-activating-user-account-via-email/
I'm using cake 1.3 and I'm using auth and acl in my application
Now onto the problem.
on login, I want to check to see if the user's account has been
activat
I dont have a problem really...I just need help understanding why what
I did works.
I have a controller called campaigns_controller, users can add
campaigns, but when they do I need the users' post limit to decrease
by 1. This is where the code form my add() function.
if($this->Campaign->save($t
So, in true me fashion, I found the apparent answer immediately after
posting. It looks like `$this->model` always reports the model
specified in `$this->Form->create()`. Let me know if anyone knows of a
case where my light testing could fail.
Thanks.
On Fri, Oct 22, 2010 at 9:1
I'm writing a plugin that includes an element that will be dropped
into a form to include one or more fields. Is there any way to, within
that element, detect the model for which the form was created? I don't
see anything obvious and I know that I could _assume_ based on the
controller or have the
ary, I would like to know if there is a way to instantiate
users, and have the user's adult and person properties come with it.
Thanks!
Rob B.
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
You received this message because yo
I'm gonna go ahead and bump this because I'm desperate and now
slightly crazier than when I started this thread.
-Rob
On Sep 7, 12:51 am, Rob wrote:
> Im still struggling with this, today I tried doing some testing by
> using Acl->check
>
> When I ran this to see
>
, 'Campaigns'));
e($this->Acl->check('clients', 'Campaigns'));
nothing was returned, no errors, no value, and nothing in the log,
just a blank screen. I don't understand what this means though.
On Sep 2, 1:30 pm, Rob wrote:
> Nope, just regular id's
>
Nope, just regular id's
On Sep 2, 12:18 pm, Anthony wrote:
> Are you useing UUID keys for the users or groups id? If so you need
> to modify one of the three tables but I don't know which off the top
> of my head.
>
> On Sep 1, 2:27 pm, Rob wrote:
>
> >
hings like user group and
user id from $this->Auth->user
I don't understand what could have gone wrong with acl though.
-Rob
On Sep 1, 12:10 pm, Anthony wrote:
> If you followed the Auth and ACL examples from the handbook hes
> referring to the build_acl action.
>
> http://b
Hey,
This is my AppController
class AppController extends Controller{
var $components = array('Acl', 'Auth', 'Session');
function beforeFilter(){
$this->Auth->Authorize = 'actions';
$this->Auth->loginAction = array('controller' => 'users',
'action'
It is commented out, I already checked that. It actually wasn't when
I checked it, I had commented it out, but I removed the comment for
some reason, would this have affected permissions permanently?
Anyway it is now commented out and my user group still has access to
everything.
-Rob
O
I'm having a problem right now with my application. I have acl set up
and I am using groups for all my users following this tutorial
http://book.cakephp.org/view/1543/Simple-Acl-controlled-Application
One user group I have set up as denied from /controllers using
$this->Acl->deny($group, 'contro
Oh okay. Thank you very much. I had tried the second way that you
mentioned, but for some I thought it had to be user('user_id') rather
than user('id'). id makes more sense.
Thank you
On Aug 20, 12:32 pm, cricket wrote:
> On Wed, Aug 18, 2010 at 4:04 PM, Rob wrote:
&g
Any help is appreciated, and if you need more info let me know.
-Rob
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to
as always helpfull ;) thanks guys.
i use full sentences, idd way easier.
shell script works like charm.
i guess it gets compressed/cached by cake anyway (on debug 0), right?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google G
Any1 thought about creating little snippet which could speed up
hardcoded localization process.
Here is the simple scenerio:
1) find strings within __('...') __('...',true) string patterns in /
app folder
2) build arrays from default locale *.po files containing locale keys
3) append to end of the
It's probably possible, but doing so would break the MVC conventions
that CakePHP is built around. Perhaps re-assess how you are solving
the problem and attempt to find a solution that follows MVC guidelines.
--~--~-~--~~~---~--~~
You received this message because y
Cool, thanks. I edited the cake core to fix this on my own, but look
forward to updates from you guys.
On Jun 18, 7:53 am, Nate Abele wrote:
> Workin' on it.
>
> On Jun 18, 2:48 am, skylar wrote:
>
> > I noticed one bug in Trac for disabling E_DEPRECATED warnings in
> > CakePHP for PHP5.3, but
I want to version my css/js files:
/23/css/style.css routes to /css/style.css
where 23 can be any number (specifically the current svn version id)
Is this possible? I've seen a lot of advanced routing to controllers,
but I can't find anywhere to reroute to something in webroot.
Thanks in advance
by old, I mean deprecated, and I don't think it exists in newer
versions of cake.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsu
Wow, generateList is an old function. where did you find that example
code?
Perhaps just try $this->Book->Author->find('list');
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group,
You probably should paste code, your "in theory" based on code you
told us your wrote is correct. But that doesn't solve the problem. So
there must be some error in your code.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google G
On May 3, 6:43 pm, Rob Wilkerson wrote:
> Hey, Joshua -
>
> This is the first solution I've seen/found that looked like it had any
> hope, but I'm not even a little bit familiar with the association
> syntax you're using. I already have, in my Account mode
On May 3, 10:55 am, jmcneese wrote:
> it works if you associate your models correctly. in each of your
> models, associate them with the Alert model, like so:
>
> public $hasMany = array(
> 'AccountAlert' => array(
> 'className' => 'Alert',
> 'foreignKey' => 'entity_id',
> 'conditi
On May 2, 7:25 pm, Rob Wilkerson wrote:
> I'm trying to do something that I think is reasonably complex (and
> maybe outside of what the behavior was intended to do) with the
> Containable behavior and, although I seem to be dancing all around it,
> I can't get it q
I'm trying to do something that I think is reasonably complex (and
maybe outside of what the behavior was intended to do) with the
Containable behavior and, although I seem to be dancing all around it,
I can't get it quite right. I'm hoping someone here can either tell me
I'm trying to do somethin
On Apr 25, 9:55 am, James K wrote:
> Start from the AccountAlert model rather than the Alert model. Use
> contain as well.
>
> $alert_ids = $this->AccountAlert->find (
> 'all',
> array (
> 'contain' => array(),
> 'conditions' => array (
>
I have an Alert model, an Account model and an AccountAlert model:
Alert hasMany AccountAlert
Account hasMany AccountAlert
AccountAlert belongsTo ( Alert, Account )
AccountAlert has several other defining fields, so it has its own
primary key in the database as well as being its own model. IOW,
Part of any i18n strategy, I assume, is to display numbers in the
proper format for a given locale. I'm no expert on this, but I know
that some locales use "." rather than "," to separate number groups
(thousands) and I think other locales group their numbers in entirely
different ways. Does Cake
On Apr 5, 10:46 pm, Miles J wrote:
> If the file name is titles.po it would be __d('titles', 'key');
Ah. I had tried using __d(), but didn't properly understand the
relationship between the domain and the name of the po file. The
difference, as they say, makes all the difference. Now that I
ing trouble tracking down more than a
couple of blogs/articles with info on non-trivial i18n with CakePHP,
so any suggestions would be much appreciated.
Thanks.
Rob
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
&qu
Today I got to wondering about admin routing. I used it in my first
Cake project and this morning got to wondering what it does
differently than "normal" prefix routing. The only information I've
dug up so far simply indicates that setting "Routing.admin" to
whatever value allows you to prefix me
On Jan 20, 7:47 pm, Rob Wilkerson wrote:
> On Tue, Jan 20, 2009 at 7:40 PM, brian wrote:
>
> > Yeah, that's the bit that has me confused, also. Even before seeing
> > your comment, I was wondering why it would set the value, then create
> > another UUID. I don'
no one there was
able to help. I don't know whether it's truly a bug or something I
just don't understand correctly, but I'll try again tomorrow and see
if someone is available.
Thanks again.
--
Rob Wilkerson
http://robwilkerson.org
--~--~-~--~~~
ue(String::uuid());
01294 }
Specifically, my problem is that the data passes both tests. The first
test properly sets the value to the UUID for the attraction while the
second test just pushes a brand new UUID on the values array. I'll see
whether I can get any answers on the IRC channel.
T
_time_ampm] =>
[location_id] => JACKBROWN
[start_time] => 2009-07-26 13:00:00
[end_time] =>
)
[Attraction] => Array
(
[Attraction] => 49414268-8a90-4497-856a-1b293b196446
)
)
--
Rob Wilkerson
http://robwilkerson.org
Hey all -
I see a lot of questions about this, but nothing I've found references
the error I'm seeing so I thought I'd post here and see whether anyone
else recognizes what I'm doing wrong.
I have an Event model that habtm Attraction:
class Event extends AppModel {
public $name
yKey =
email. For whatever reason, that just didn't work for me (it certainly
could have been a misconfiguration on my part). Once I dropped a more
conventional id field in there and used email just for the username
everything worked okay.
--
Rob Wilkerson
http://robwilkerson.org
--~--~
1 - 100 of 272 matches
Mail list logo